From b1119170bece916f6155845669c8ad2e56fd6446 Mon Sep 17 00:00:00 2001 From: azurepowershell Date: Wed, 19 May 2021 02:37:21 +0000 Subject: [PATCH 1/4] Move Kusto to release-2021-05-25 --- src/Kusto/Az.Kusto.format.ps1xml | 532 ++- src/Kusto/Az.Kusto.psd1 | 22 +- src/Kusto/Az.Kusto.psm1 | 10 +- src/Kusto/build-module.ps1 | 6 +- src/Kusto/check-dependencies.ps1 | 6 +- src/Kusto/create-model-cmdlets.ps1 | 165 + ...Invoke-AzKustoDataConnectionValidation.ps1 | 16 +- .../custom/New-AzKustoDataConnection.ps1 | 12 +- src/Kusto/custom/New-AzKustoDatabase.ps1 | 4 +- .../custom/Update-AzKustoDataConnection.ps1 | 12 +- src/Kusto/custom/Update-AzKustoDatabase.ps1 | 8 +- src/Kusto/custom/readme.md | 8 +- .../examples/Get-AzKustoOperationsResult.md | 18 + src/Kusto/examples/Get-AzKustoScript.md | 18 + src/Kusto/examples/New-AzKustoDatabase.md | 20 +- src/Kusto/examples/New-AzKustoScript.md | 18 + src/Kusto/examples/Remove-AzKustoScript.md | 18 + .../Test-AzKustoScriptNameAvailability.md | 18 + src/Kusto/examples/Update-AzKustoScript.md | 18 + .../Add-AzKustoClusterLanguageExtension.ps1 | 8 +- .../exports/Add-AzKustoDatabasePrincipal.ps1 | 12 +- ...t-AzKustoAttachedDatabaseConfiguration.ps1 | 10 +- src/Kusto/exports/Get-AzKustoCluster.ps1 | 10 +- .../Get-AzKustoClusterFollowerDatabase.ps1 | 6 +- .../Get-AzKustoClusterLanguageExtension.ps1 | 6 +- .../Get-AzKustoClusterPrincipalAssignment.ps1 | 10 +- src/Kusto/exports/Get-AzKustoClusterSku.ps1 | 8 +- .../exports/Get-AzKustoDataConnection.ps1 | 10 +- src/Kusto/exports/Get-AzKustoDatabase.ps1 | 10 +- .../exports/Get-AzKustoDatabasePrincipal.ps1 | 6 +- ...Get-AzKustoDatabasePrincipalAssignment.ps1 | 10 +- .../exports/Get-AzKustoOperationsResult.ps1 | 171 + src/Kusto/exports/Get-AzKustoScript.ps1 | 189 + ...Invoke-AzKustoDataConnectionValidation.ps1 | 10 +- ...e-AzKustoDetachClusterFollowerDatabase.ps1 | 6 +- ...e-AzKustoDiagnoseClusterVirtualNetwork.ps1 | 6 +- ...w-AzKustoAttachedDatabaseConfiguration.ps1 | 42 +- src/Kusto/exports/New-AzKustoCluster.ps1 | 35 +- .../New-AzKustoClusterPrincipalAssignment.ps1 | 6 +- .../exports/New-AzKustoDataConnection.ps1 | 6 +- src/Kusto/exports/New-AzKustoDatabase.ps1 | 14 +- ...New-AzKustoDatabasePrincipalAssignment.ps1 | 6 +- src/Kusto/exports/New-AzKustoScript.ps1 | 220 + src/Kusto/exports/ProxyCmdletDefinitions.ps1 | 1843 +++++-- ...e-AzKustoAttachedDatabaseConfiguration.ps1 | 6 +- src/Kusto/exports/Remove-AzKustoCluster.ps1 | 6 +- ...Remove-AzKustoClusterLanguageExtension.ps1 | 8 +- ...move-AzKustoClusterPrincipalAssignment.ps1 | 6 +- .../exports/Remove-AzKustoDataConnection.ps1 | 6 +- src/Kusto/exports/Remove-AzKustoDatabase.ps1 | 6 +- .../Remove-AzKustoDatabasePrincipal.ps1 | 12 +- ...ove-AzKustoDatabasePrincipalAssignment.ps1 | 6 +- src/Kusto/exports/Remove-AzKustoScript.ps1 | 202 + src/Kusto/exports/Start-AzKustoCluster.ps1 | 6 +- src/Kusto/exports/Stop-AzKustoCluster.ps1 | 6 +- .../Test-AzKustoClusterNameAvailability.ps1 | 19 +- ...terPrincipalAssignmentNameAvailability.ps1 | 17 +- ...-AzKustoDataConnectionNameAvailability.ps1 | 17 +- .../Test-AzKustoDatabaseNameAvailability.ps1 | 10 +- ...asePrincipalAssignmentNameAvailability.ps1 | 17 +- .../Test-AzKustoScriptNameAvailability.ps1 | 183 + src/Kusto/exports/Update-AzKustoCluster.ps1 | 34 +- .../exports/Update-AzKustoDataConnection.ps1 | 10 +- src/Kusto/exports/Update-AzKustoDatabase.ps1 | 10 +- src/Kusto/exports/Update-AzKustoScript.ps1 | 255 + src/Kusto/generate-info.json | 10 +- src/Kusto/generated/api/Kusto.cs | 4240 ++++++++++++----- .../Models/Api10/ProxyResource.PowerShell.cs | 4 +- .../api/Models/Api10/ProxyResource.cs | 10 +- .../api/Models/Api10/ProxyResource.json.cs | 2 +- .../api/Models/Api10/Resource.PowerShell.cs | 4 + .../generated/api/Models/Api10/Resource.cs | 21 +- .../api/Models/Api10/Resource.json.cs | 3 + .../Api10/TrackedResource.PowerShell.cs | 6 +- .../api/Models/Api10/TrackedResource.cs | 12 +- .../api/Models/Api10/TrackedResource.json.cs | 4 +- .../api/Models/Api20/SystemData.PowerShell.cs | 141 + .../Models/Api20/SystemData.TypeConverter.cs | 142 + .../generated/api/Models/Api20/SystemData.cs | 131 + .../api/Models/Api20/SystemData.json.cs | 111 + ...ttachedDatabaseConfiguration.PowerShell.cs | 151 - .../AttachedDatabaseConfiguration.cs | 195 - ...abaseConfigurationProperties.PowerShell.cs | 144 - ...AttachedDatabaseConfigurationProperties.cs | 140 - .../Models/Api20200918/Cluster.PowerShell.cs | 215 - .../ClusterProperties.PowerShell.cs | 183 - .../Api20200918/ClusterUpdate.PowerShell.cs | 213 - ...EventHubConnectionProperties.PowerShell.cs | 145 - ...ttachedDatabaseConfiguration.PowerShell.cs | 163 + ...chedDatabaseConfiguration.TypeConverter.cs | 6 +- .../AttachedDatabaseConfiguration.cs | 284 ++ .../AttachedDatabaseConfiguration.json.cs | 10 +- ...abaseConfigurationListResult.PowerShell.cs | 24 +- ...seConfigurationListResult.TypeConverter.cs | 6 +- ...AttachedDatabaseConfigurationListResult.cs | 16 +- ...hedDatabaseConfigurationListResult.json.cs | 10 +- ...abaseConfigurationProperties.PowerShell.cs | 158 + ...seConfigurationProperties.TypeConverter.cs | 6 +- ...AttachedDatabaseConfigurationProperties.cs | 236 + ...hedDatabaseConfigurationProperties.json.cs | 10 +- .../AzureCapacity.PowerShell.cs | 36 +- .../AzureCapacity.TypeConverter.cs | 6 +- .../AzureCapacity.cs | 6 +- .../AzureCapacity.json.cs | 8 +- .../AzureResourceSku.PowerShell.cs | 60 +- .../AzureResourceSku.TypeConverter.cs | 6 +- .../AzureResourceSku.cs | 72 +- .../AzureResourceSku.json.cs | 12 +- .../AzureSku.PowerShell.cs | 32 +- .../AzureSku.TypeConverter.cs | 6 +- .../{Api20200918 => Api202101}/AzureSku.cs | 6 +- .../AzureSku.json.cs | 8 +- .../CheckNameRequest.PowerShell.cs | 28 +- .../CheckNameRequest.TypeConverter.cs | 6 +- .../CheckNameRequest.cs | 6 +- .../CheckNameRequest.json.cs | 8 +- .../CheckNameResult.PowerShell.cs | 36 +- .../CheckNameResult.TypeConverter.cs | 6 +- .../CheckNameResult.cs | 6 +- .../CheckNameResult.json.cs | 8 +- .../CloudError.PowerShell.cs | 40 +- .../CloudError.TypeConverter.cs | 6 +- .../{Api20200918 => Api202101}/CloudError.cs | 28 +- .../CloudError.json.cs | 10 +- .../CloudErrorBody.PowerShell.cs | 36 +- .../CloudErrorBody.TypeConverter.cs | 6 +- .../CloudErrorBody.cs | 16 +- .../CloudErrorBody.json.cs | 10 +- .../Models/Api202101/Cluster.PowerShell.cs | 217 + .../Cluster.TypeConverter.cs | 6 +- .../{Api20200918 => Api202101}/Cluster.cs | 206 +- .../Cluster.json.cs | 19 +- .../ClusterCheckNameRequest.PowerShell.cs | 28 +- .../ClusterCheckNameRequest.TypeConverter.cs | 6 +- .../ClusterCheckNameRequest.cs | 21 +- .../ClusterCheckNameRequest.json.cs | 8 +- .../ClusterListResult.PowerShell.cs | 24 +- .../ClusterListResult.TypeConverter.cs | 6 +- .../ClusterListResult.cs | 16 +- .../ClusterListResult.json.cs | 10 +- .../ClusterPrincipalAssignment.PowerShell.cs | 52 +- ...lusterPrincipalAssignment.TypeConverter.cs | 6 +- .../ClusterPrincipalAssignment.cs | 52 +- .../ClusterPrincipalAssignment.json.cs | 10 +- ...alAssignmentCheckNameRequest.PowerShell.cs | 28 +- ...ssignmentCheckNameRequest.TypeConverter.cs | 6 +- ...sterPrincipalAssignmentCheckNameRequest.cs | 21 +- ...rincipalAssignmentCheckNameRequest.json.cs | 8 +- ...rincipalAssignmentListResult.PowerShell.cs | 24 +- ...cipalAssignmentListResult.TypeConverter.cs | 6 +- .../ClusterPrincipalAssignmentListResult.cs | 16 +- ...usterPrincipalAssignmentListResult.json.cs | 10 +- .../ClusterPrincipalProperties.PowerShell.cs | 48 +- ...lusterPrincipalProperties.TypeConverter.cs | 6 +- .../ClusterPrincipalProperties.cs | 12 +- .../ClusterPrincipalProperties.json.cs | 8 +- .../Api202101/ClusterProperties.PowerShell.cs | 183 + .../ClusterProperties.TypeConverter.cs | 6 +- .../ClusterProperties.cs | 122 +- .../ClusterProperties.json.cs | 18 +- .../Api202101/ClusterUpdate.PowerShell.cs | 213 + .../ClusterUpdate.TypeConverter.cs | 6 +- .../ClusterUpdate.cs | 204 +- .../ClusterUpdate.json.cs | 16 +- .../ClusterUpdateTags.PowerShell.cs | 20 +- .../ClusterUpdateTags.TypeConverter.cs | 6 +- .../ClusterUpdateTags.cs | 6 +- .../ClusterUpdateTags.dictionary.cs | 4 +- .../ClusterUpdateTags.json.cs | 8 +- ...entitiesAdditionalproperties.PowerShell.cs | 28 +- ...itiesAdditionalproperties.TypeConverter.cs | 6 +- ...rassignedidentitiesAdditionalproperties.cs | 10 +- ...gnedidentitiesAdditionalproperties.json.cs | 8 +- .../DataConnection.PowerShell.cs | 28 +- .../DataConnection.TypeConverter.cs | 6 +- .../DataConnection.cs | 20 +- .../DataConnection.json.cs | 10 +- ...taConnectionCheckNameRequest.PowerShell.cs | 30 +- ...onnectionCheckNameRequest.TypeConverter.cs | 6 +- .../DataConnectionCheckNameRequest.cs | 21 +- .../DataConnectionCheckNameRequest.json.cs | 8 +- .../DataConnectionListResult.PowerShell.cs | 24 +- .../DataConnectionListResult.TypeConverter.cs | 6 +- .../DataConnectionListResult.cs | 16 +- .../DataConnectionListResult.json.cs | 10 +- .../DataConnectionValidation.PowerShell.cs | 48 +- .../DataConnectionValidation.TypeConverter.cs | 6 +- .../DataConnectionValidation.cs | 48 +- .../DataConnectionValidation.json.cs | 10 +- ...nnectionValidationListResult.PowerShell.cs | 24 +- ...ctionValidationListResult.TypeConverter.cs | 6 +- .../DataConnectionValidationListResult.cs | 16 +- ...DataConnectionValidationListResult.json.cs | 10 +- ...taConnectionValidationResult.PowerShell.cs | 26 +- ...onnectionValidationResult.TypeConverter.cs | 6 +- .../DataConnectionValidationResult.cs | 6 +- .../DataConnectionValidationResult.json.cs | 8 +- .../Database.PowerShell.cs | 28 +- .../Database.TypeConverter.cs | 6 +- .../{Api20200918 => Api202101}/Database.cs | 10 +- .../Database.json.cs | 10 +- .../DatabaseListResult.PowerShell.cs | 24 +- .../DatabaseListResult.TypeConverter.cs | 6 +- .../DatabaseListResult.cs | 16 +- .../DatabaseListResult.json.cs | 10 +- .../DatabasePrincipal.PowerShell.cs | 48 +- .../DatabasePrincipal.TypeConverter.cs | 6 +- .../DatabasePrincipal.cs | 8 +- .../DatabasePrincipal.json.cs | 8 +- .../DatabasePrincipalAssignment.PowerShell.cs | 52 +- ...tabasePrincipalAssignment.TypeConverter.cs | 6 +- .../DatabasePrincipalAssignment.cs | 52 +- .../DatabasePrincipalAssignment.json.cs | 10 +- ...alAssignmentCheckNameRequest.PowerShell.cs | 28 +- ...ssignmentCheckNameRequest.TypeConverter.cs | 6 +- ...basePrincipalAssignmentCheckNameRequest.cs | 21 +- ...rincipalAssignmentCheckNameRequest.json.cs | 8 +- ...rincipalAssignmentListResult.PowerShell.cs | 24 +- ...cipalAssignmentListResult.TypeConverter.cs | 6 +- .../DatabasePrincipalAssignmentListResult.cs | 16 +- ...abasePrincipalAssignmentListResult.json.cs | 10 +- ...DatabasePrincipalListRequest.PowerShell.cs | 24 +- ...abasePrincipalListRequest.TypeConverter.cs | 6 +- .../DatabasePrincipalListRequest.cs | 16 +- .../DatabasePrincipalListRequest.json.cs | 10 +- .../DatabasePrincipalListResult.PowerShell.cs | 24 +- ...tabasePrincipalListResult.TypeConverter.cs | 6 +- .../DatabasePrincipalListResult.cs | 16 +- .../DatabasePrincipalListResult.json.cs | 10 +- .../DatabasePrincipalProperties.PowerShell.cs | 48 +- ...tabasePrincipalProperties.TypeConverter.cs | 6 +- .../DatabasePrincipalProperties.cs | 12 +- .../DatabasePrincipalProperties.json.cs | 8 +- .../DatabaseStatistics.PowerShell.cs | 24 +- .../DatabaseStatistics.TypeConverter.cs | 6 +- .../DatabaseStatistics.cs | 6 +- .../DatabaseStatistics.json.cs | 8 +- ...DiagnoseVirtualNetworkResult.PowerShell.cs | 24 +- ...gnoseVirtualNetworkResult.TypeConverter.cs | 6 +- .../DiagnoseVirtualNetworkResult.cs | 6 +- .../DiagnoseVirtualNetworkResult.json.cs | 8 +- ...ventGridConnectionProperties.PowerShell.cs | 58 +- ...tGridConnectionProperties.TypeConverter.cs | 6 +- .../EventGridConnectionProperties.cs | 8 +- .../EventGridConnectionProperties.json.cs | 8 +- .../EventGridDataConnection.PowerShell.cs | 68 +- .../EventGridDataConnection.TypeConverter.cs | 6 +- .../EventGridDataConnection.cs | 56 +- .../EventGridDataConnection.json.cs | 12 +- ...ventHubConnectionProperties.PowerShell.cs} | 86 +- ...ntHubConnectionProperties.TypeConverter.cs | 6 +- .../EventHubConnectionProperties.cs | 31 +- .../EventHubConnectionProperties.json.cs | 10 +- .../EventHubDataConnection.PowerShell.cs} | 98 +- .../EventHubDataConnection.TypeConverter.cs | 6 +- .../EventHubDataConnection.cs | 72 +- .../EventHubDataConnection.json.cs | 12 +- .../FollowerDatabaseDefinition.PowerShell.cs | 32 +- ...ollowerDatabaseDefinition.TypeConverter.cs | 6 +- .../FollowerDatabaseDefinition.cs | 8 +- .../FollowerDatabaseDefinition.json.cs | 8 +- .../FollowerDatabaseListResult.PowerShell.cs | 24 +- ...ollowerDatabaseListResult.TypeConverter.cs | 6 +- .../FollowerDatabaseListResult.cs | 16 +- .../FollowerDatabaseListResult.json.cs | 10 +- .../Identity.PowerShell.cs | 36 +- .../Identity.TypeConverter.cs | 6 +- .../{Api20200918 => Api202101}/Identity.cs | 20 +- .../Identity.json.cs | 10 +- ...entityUserAssignedIdentities.PowerShell.cs | 22 +- ...ityUserAssignedIdentities.TypeConverter.cs | 6 +- .../IdentityUserAssignedIdentities.cs | 8 +- ...entityUserAssignedIdentities.dictionary.cs | 26 +- .../IdentityUserAssignedIdentities.json.cs | 12 +- .../IotHubConnectionProperties.PowerShell.cs | 145 + ...otHubConnectionProperties.TypeConverter.cs | 6 +- .../IotHubConnectionProperties.cs | 8 +- .../IotHubConnectionProperties.json.cs | 8 +- .../IotHubDataConnection.PowerShell.cs} | 96 +- .../IotHubDataConnection.TypeConverter.cs | 6 +- .../IotHubDataConnection.cs | 54 +- .../IotHubDataConnection.json.cs | 12 +- .../KeyVaultProperties.PowerShell.cs | 36 +- .../KeyVaultProperties.TypeConverter.cs | 6 +- .../KeyVaultProperties.cs | 6 +- .../KeyVaultProperties.json.cs | 8 +- .../LanguageExtension.PowerShell.cs | 24 +- .../LanguageExtension.TypeConverter.cs | 6 +- .../LanguageExtension.cs | 6 +- .../LanguageExtension.json.cs | 8 +- .../LanguageExtensionsList.PowerShell.cs | 24 +- .../LanguageExtensionsList.TypeConverter.cs | 6 +- .../LanguageExtensionsList.cs | 16 +- .../LanguageExtensionsList.json.cs | 10 +- .../ListResourceSkusResult.PowerShell.cs | 24 +- .../ListResourceSkusResult.TypeConverter.cs | 6 +- .../ListResourceSkusResult.cs | 16 +- .../ListResourceSkusResult.json.cs | 10 +- .../Operation.PowerShell.cs | 52 +- .../Operation.TypeConverter.cs | 6 +- .../{Api20200918 => Api202101}/Operation.cs | 22 +- .../Operation.json.cs | 10 +- .../OperationDisplay.PowerShell.cs | 36 +- .../OperationDisplay.TypeConverter.cs | 6 +- .../OperationDisplay.cs | 6 +- .../OperationDisplay.json.cs | 8 +- .../OperationListResult.PowerShell.cs | 28 +- .../OperationListResult.TypeConverter.cs | 6 +- .../OperationListResult.cs | 16 +- .../OperationListResult.json.cs | 10 +- .../Api202101/OperationResult.PowerShell.cs | 153 + .../OperationResult.TypeConverter.cs | 142 + .../api/Models/Api202101/OperationResult.cs | 220 + .../Models/Api202101/OperationResult.json.cs | 124 + ...erationResultErrorProperties.PowerShell.cs | 133 + ...tionResultErrorProperties.TypeConverter.cs | 142 + .../OperationResultErrorProperties.cs | 63 + .../OperationResultErrorProperties.json.cs | 103 + .../OperationResultProperties.PowerShell.cs | 133 + ...OperationResultProperties.TypeConverter.cs | 142 + .../Api202101/OperationResultProperties.cs | 63 + .../OperationResultProperties.json.cs | 103 + .../OptimizedAutoscale.PowerShell.cs | 36 +- .../OptimizedAutoscale.TypeConverter.cs | 6 +- .../OptimizedAutoscale.cs | 6 +- .../OptimizedAutoscale.json.cs | 8 +- .../ReadOnlyFollowingDatabase.PowerShell.cs | 64 +- ...ReadOnlyFollowingDatabase.TypeConverter.cs | 6 +- .../ReadOnlyFollowingDatabase.cs | 58 +- .../ReadOnlyFollowingDatabase.json.cs | 12 +- ...yFollowingDatabaseProperties.PowerShell.cs | 52 +- ...llowingDatabaseProperties.TypeConverter.cs | 6 +- .../ReadOnlyFollowingDatabaseProperties.cs | 26 +- ...eadOnlyFollowingDatabaseProperties.json.cs | 10 +- .../ReadWriteDatabase.PowerShell.cs | 56 +- .../ReadWriteDatabase.TypeConverter.cs | 6 +- .../ReadWriteDatabase.cs | 48 +- .../ReadWriteDatabase.json.cs | 12 +- .../ReadWriteDatabaseProperties.PowerShell.cs | 44 +- ...adWriteDatabaseProperties.TypeConverter.cs | 6 +- .../ReadWriteDatabaseProperties.cs | 20 +- .../ReadWriteDatabaseProperties.json.cs | 10 +- .../api/Models/Api202101/Script.PowerShell.cs | 161 + .../Models/Api202101/Script.TypeConverter.cs | 142 + .../generated/api/Models/Api202101/Script.cs | 253 + .../api/Models/Api202101/Script.json.cs | 108 + .../ScriptCheckNameRequest.PowerShell.cs | 133 + .../ScriptCheckNameRequest.TypeConverter.cs | 142 + .../Api202101/ScriptCheckNameRequest.cs | 66 + .../Api202101/ScriptCheckNameRequest.json.cs | 103 + .../Api202101/ScriptListResult.PowerShell.cs | 131 + .../ScriptListResult.TypeConverter.cs | 142 + .../api/Models/Api202101/ScriptListResult.cs | 46 + .../Models/Api202101/ScriptListResult.json.cs | 109 + .../Api202101/ScriptProperties.PowerShell.cs | 139 + .../ScriptProperties.TypeConverter.cs | 142 + .../api/Models/Api202101/ScriptProperties.cs | 117 + .../Models/Api202101/ScriptProperties.json.cs | 112 + .../SkuDescription.PowerShell.cs | 44 +- .../SkuDescription.TypeConverter.cs | 6 +- .../SkuDescription.cs | 28 +- .../SkuDescription.json.cs | 10 +- .../SkuDescriptionList.PowerShell.cs | 24 +- .../SkuDescriptionList.TypeConverter.cs | 6 +- .../SkuDescriptionList.cs | 18 +- .../SkuDescriptionList.json.cs | 10 +- .../SkuLocationInfoItem.PowerShell.cs | 28 +- .../SkuLocationInfoItem.TypeConverter.cs | 6 +- .../SkuLocationInfoItem.cs | 6 +- .../SkuLocationInfoItem.json.cs | 8 +- .../TableLevelSharingProperties.PowerShell.cs | 141 + ...bleLevelSharingProperties.TypeConverter.cs | 142 + .../Api202101/TableLevelSharingProperties.cs | 131 + .../TableLevelSharingProperties.json.cs | 159 + .../TrustedExternalTenant.PowerShell.cs | 24 +- .../TrustedExternalTenant.TypeConverter.cs | 6 +- .../TrustedExternalTenant.cs | 6 +- .../TrustedExternalTenant.json.cs | 8 +- .../VirtualNetworkConfiguration.PowerShell.cs | 32 +- ...rtualNetworkConfiguration.TypeConverter.cs | 6 +- .../VirtualNetworkConfiguration.cs | 6 +- .../VirtualNetworkConfiguration.json.cs | 8 +- .../api/Models/KustoIdentity.PowerShell.cs | 4 + .../generated/api/Models/KustoIdentity.cs | 42 +- .../api/Models/KustoIdentity.json.cs | 4 + .../generated/api/Support/AzureScaleType.cs | 2 +- .../api/Support/AzureSkuName.Completer.cs | 12 + .../generated/api/Support/AzureSkuName.cs | 8 +- .../generated/api/Support/AzureSkuTier.cs | 2 +- .../api/Support/BlobStorageEventType.cs | 2 +- .../api/Support/ClusterPrincipalRole.cs | 2 +- .../generated/api/Support/Compression.cs | 2 +- .../api/Support/CreatedByType.Completer.cs | 47 + .../Support/CreatedByType.TypeConverter.cs | 59 + .../generated/api/Support/CreatedByType.cs | 102 + .../Support/DataConnectionKind.Completer.cs | 43 + .../DataConnectionKind.TypeConverter.cs | 59 + .../api/Support/DataConnectionKind.cs | 100 + .../DatabasePrincipalRole.Completer.cs | 4 +- .../api/Support/DatabasePrincipalRole.cs | 4 +- .../api/Support/DatabasePrincipalType.cs | 2 +- .../DefaultPrincipalsModificationKind.cs | 2 +- src/Kusto/generated/api/Support/EngineType.cs | 2 +- .../api/Support/EventGridDataFormat.cs | 2 +- .../api/Support/EventHubDataFormat.cs | 2 +- .../generated/api/Support/IdentityType.cs | 2 +- .../generated/api/Support/IotHubDataFormat.cs | 2 +- .../generated/api/Support/Kind.Completer.cs | 12 - src/Kusto/generated/api/Support/Kind.cs | 8 +- .../api/Support/LanguageExtensionName.cs | 2 +- .../generated/api/Support/PrincipalType.cs | 2 +- .../api/Support/PrincipalsModificationKind.cs | 2 +- .../api/Support/ProvisioningState.cs | 2 +- src/Kusto/generated/api/Support/Reason.cs | 2 +- src/Kusto/generated/api/Support/State.cs | 2 +- .../generated/api/Support/Status.Completer.cs | 47 + .../api/Support/Status.TypeConverter.cs | 59 + src/Kusto/generated/api/Support/Status.cs | 102 + .../generated/api/Support/Type.Completer.cs | 18 +- .../api/Support/Type.TypeConverter.cs | 2 +- src/Kusto/generated/api/Support/Type.cs | 12 +- ...stoClusterLanguageExtension_AddExpanded.cs | 18 +- ...anguageExtension_AddViaIdentityExpanded.cs | 18 +- ...AddAzKustoDatabasePrincipal_AddExpanded.cs | 28 +- ...atabasePrincipal_AddViaIdentityExpanded.cs | 28 +- ...zKustoAttachedDatabaseConfiguration_Get.cs | 22 +- ...hedDatabaseConfiguration_GetViaIdentity.cs | 22 +- ...KustoAttachedDatabaseConfiguration_List.cs | 20 +- .../GetAzKustoClusterFollowerDatabase_List.cs | 20 +- ...GetAzKustoClusterLanguageExtension_List.cs | 20 +- ...etAzKustoClusterPrincipalAssignment_Get.cs | 22 +- ...usterPrincipalAssignment_GetViaIdentity.cs | 22 +- ...tAzKustoClusterPrincipalAssignment_List.cs | 20 +- .../cmdlets/GetAzKustoClusterSku_List.cs | 20 +- .../cmdlets/GetAzKustoClusterSku_List1.cs | 20 +- .../cmdlets/GetAzKustoCluster_Get.cs | 22 +- .../GetAzKustoCluster_GetViaIdentity.cs | 22 +- .../cmdlets/GetAzKustoCluster_List.cs | 20 +- .../cmdlets/GetAzKustoCluster_List1.cs | 20 +- .../cmdlets/GetAzKustoDataConnection_Get.cs | 22 +- ...GetAzKustoDataConnection_GetViaIdentity.cs | 22 +- .../cmdlets/GetAzKustoDataConnection_List.cs | 20 +- ...tAzKustoDatabasePrincipalAssignment_Get.cs | 22 +- ...abasePrincipalAssignment_GetViaIdentity.cs | 22 +- ...AzKustoDatabasePrincipalAssignment_List.cs | 20 +- .../GetAzKustoDatabasePrincipal_List.cs | 20 +- .../cmdlets/GetAzKustoDatabase_Get.cs | 22 +- .../GetAzKustoDatabase_GetViaIdentity.cs | 22 +- .../cmdlets/GetAzKustoDatabase_List.cs | 20 +- .../cmdlets/GetAzKustoOperation_List.cs | 20 +- .../cmdlets/GetAzKustoOperationsResult_Get.cs | 401 ++ ...tAzKustoOperationsResult_GetViaIdentity.cs | 377 ++ .../generated/cmdlets/GetAzKustoScript_Get.cs | 430 ++ .../GetAzKustoScript_GetViaIdentity.cs | 385 ++ .../cmdlets/GetAzKustoScript_List.cs | 416 ++ ...okeAzKustoDataConnectionValidation_Data.cs | 26 +- ...toDataConnectionValidation_DataExpanded.cs | 30 +- ...ataConnectionValidation_DataViaIdentity.cs | 26 +- ...ctionValidation_DataViaIdentityExpanded.cs | 30 +- ...hClusterFollowerDatabase_DetachExpanded.cs | 14 +- ...lowerDatabase_DetachViaIdentityExpanded.cs | 14 +- ...oDiagnoseClusterVirtualNetwork_Diagnose.cs | 18 +- ...usterVirtualNetwork_DiagnoseViaIdentity.cs | 18 +- ...hedDatabaseConfiguration_CreateExpanded.cs | 100 +- ...usterPrincipalAssignment_CreateExpanded.cs | 30 +- .../NewAzKustoCluster_CreateExpanded.cs | 100 +- .../NewAzKustoDataConnection_Create.cs | 28 +- ...NewAzKustoDataConnection_CreateExpanded.cs | 32 +- ...abasePrincipalAssignment_CreateExpanded.cs | 30 +- .../cmdlets/NewAzKustoDatabase_Create.cs | 28 +- .../NewAzKustoDatabase_CreateExpanded.cs | 26 +- .../cmdlets/NewAzKustoScript_Create.cs | 512 ++ .../NewAzKustoScript_CreateExpanded.cs | 549 +++ ...stoAttachedDatabaseConfiguration_Delete.cs | 10 +- ...DatabaseConfiguration_DeleteViaIdentity.cs | 10 +- ...ClusterLanguageExtension_RemoveExpanded.cs | 18 +- ...uageExtension_RemoveViaIdentityExpanded.cs | 18 +- ...zKustoClusterPrincipalAssignment_Delete.cs | 10 +- ...erPrincipalAssignment_DeleteViaIdentity.cs | 10 +- .../cmdlets/RemoveAzKustoCluster_Delete.cs | 10 +- .../RemoveAzKustoCluster_DeleteViaIdentity.cs | 10 +- .../RemoveAzKustoDataConnection_Delete.cs | 10 +- ...AzKustoDataConnection_DeleteViaIdentity.cs | 10 +- ...KustoDatabasePrincipalAssignment_Delete.cs | 10 +- ...sePrincipalAssignment_DeleteViaIdentity.cs | 10 +- ...AzKustoDatabasePrincipal_RemoveExpanded.cs | 28 +- ...basePrincipal_RemoveViaIdentityExpanded.cs | 28 +- .../cmdlets/RemoveAzKustoDatabase_Delete.cs | 10 +- ...RemoveAzKustoDatabase_DeleteViaIdentity.cs | 10 +- .../cmdlets/RemoveAzKustoScript_Delete.cs | 537 +++ .../RemoveAzKustoScript_DeleteViaIdentity.cs | 490 ++ .../cmdlets/StartAzKustoCluster_Start.cs | 10 +- .../StartAzKustoCluster_StartViaIdentity.cs | 10 +- .../cmdlets/StopAzKustoCluster_Stop.cs | 10 +- .../StopAzKustoCluster_StopViaIdentity.cs | 10 +- ...toClusterNameAvailability_CheckExpanded.cs | 44 +- ...meAvailability_CheckViaIdentityExpanded.cs | 38 +- ...ssignmentNameAvailability_CheckExpanded.cs | 38 +- ...meAvailability_CheckViaIdentityExpanded.cs | 38 +- ...onnectionNameAvailability_CheckExpanded.cs | 38 +- ...meAvailability_CheckViaIdentityExpanded.cs | 38 +- ...oDatabaseNameAvailability_CheckExpanded.cs | 26 +- ...meAvailability_CheckViaIdentityExpanded.cs | 26 +- ...ssignmentNameAvailability_CheckExpanded.cs | 38 +- ...meAvailability_CheckViaIdentityExpanded.cs | 38 +- ...stoScriptNameAvailability_CheckExpanded.cs | 432 ++ ...meAvailability_CheckViaIdentityExpanded.cs | 401 ++ .../UpdateAzKustoCluster_UpdateExpanded.cs | 90 +- ...zKustoCluster_UpdateViaIdentityExpanded.cs | 92 +- .../UpdateAzKustoDataConnection_Update.cs | 28 +- ...ateAzKustoDataConnection_UpdateExpanded.cs | 32 +- ...AzKustoDataConnection_UpdateViaIdentity.cs | 28 +- ...ataConnection_UpdateViaIdentityExpanded.cs | 32 +- .../cmdlets/UpdateAzKustoDatabase_Update.cs | 28 +- .../UpdateAzKustoDatabase_UpdateExpanded.cs | 26 +- ...UpdateAzKustoDatabase_UpdateViaIdentity.cs | 28 +- ...KustoDatabase_UpdateViaIdentityExpanded.cs | 26 +- .../cmdlets/UpdateAzKustoScript_Update.cs | 512 ++ .../UpdateAzKustoScript_UpdateExpanded.cs | 549 +++ .../UpdateAzKustoScript_UpdateViaIdentity.cs | 465 ++ ...AzKustoScript_UpdateViaIdentityExpanded.cs | 502 ++ .../BuildTime/Cmdlets/ExportProxyCmdlet.cs | 2 +- .../runtime/BuildTime/Cmdlets/ExportPsd1.cs | 270 +- .../runtime/BuildTime/MarkdownRenderer.cs | 2 +- .../BuildTime/Models/PsHelpMarkdownOutputs.cs | 2 +- .../runtime/BuildTime/Models/PsProxyTypes.cs | 2 +- src/Kusto/generated/runtime/Extensions.cs | 2 +- .../generated/runtime/PipelineMocking.cs | 24 +- .../runtime/UndeclaredResponseException.cs | 7 +- .../Add-AzKustoClusterLanguageExtension.md | 6 +- .../help/Add-AzKustoDatabasePrincipal.md | 8 +- src/Kusto/help/Az.Kusto.md | 18 + ...et-AzKustoAttachedDatabaseConfiguration.md | 6 +- src/Kusto/help/Get-AzKustoCluster.md | 6 +- .../Get-AzKustoClusterFollowerDatabase.md | 2 +- .../Get-AzKustoClusterLanguageExtension.md | 2 +- .../Get-AzKustoClusterPrincipalAssignment.md | 6 +- src/Kusto/help/Get-AzKustoClusterSku.md | 4 +- src/Kusto/help/Get-AzKustoDataConnection.md | 6 +- src/Kusto/help/Get-AzKustoDatabase.md | 6 +- .../help/Get-AzKustoDatabasePrincipal.md | 2 +- .../Get-AzKustoDatabasePrincipalAssignment.md | 6 +- src/Kusto/help/Get-AzKustoOperationsResult.md | 162 + src/Kusto/help/Get-AzKustoScript.md | 198 + .../Invoke-AzKustoDataConnectionValidation.md | 6 +- ...ke-AzKustoDetachClusterFollowerDatabase.md | 4 +- ...ke-AzKustoDiagnoseClusterVirtualNetwork.md | 4 +- ...ew-AzKustoAttachedDatabaseConfiguration.md | 97 +- src/Kusto/help/New-AzKustoCluster.md | 58 +- .../New-AzKustoClusterPrincipalAssignment.md | 2 +- src/Kusto/help/New-AzKustoDataConnection.md | 2 +- src/Kusto/help/New-AzKustoDatabase.md | 23 +- .../New-AzKustoDatabasePrincipalAssignment.md | 2 +- src/Kusto/help/New-AzKustoScript.md | 317 ++ ...ve-AzKustoAttachedDatabaseConfiguration.md | 4 +- src/Kusto/help/Remove-AzKustoCluster.md | 4 +- .../Remove-AzKustoClusterLanguageExtension.md | 6 +- ...emove-AzKustoClusterPrincipalAssignment.md | 4 +- .../help/Remove-AzKustoDataConnection.md | 4 +- src/Kusto/help/Remove-AzKustoDatabase.md | 4 +- .../help/Remove-AzKustoDatabasePrincipal.md | 8 +- ...move-AzKustoDatabasePrincipalAssignment.md | 4 +- src/Kusto/help/Remove-AzKustoScript.md | 270 ++ src/Kusto/help/Start-AzKustoCluster.md | 4 +- src/Kusto/help/Stop-AzKustoCluster.md | 4 +- .../Test-AzKustoClusterNameAvailability.md | 29 +- ...sterPrincipalAssignmentNameAvailability.md | 25 +- ...t-AzKustoDataConnectionNameAvailability.md | 27 +- .../Test-AzKustoDatabaseNameAvailability.md | 6 +- ...basePrincipalAssignmentNameAvailability.md | 27 +- .../Test-AzKustoScriptNameAvailability.md | 225 + src/Kusto/help/Update-AzKustoCluster.md | 80 +- .../help/Update-AzKustoDataConnection.md | 6 +- src/Kusto/help/Update-AzKustoDatabase.md | 6 +- src/Kusto/help/Update-AzKustoScript.md | 361 ++ src/Kusto/internal/Get-AzKustoOperation.ps1 | 6 +- ...Invoke-AzKustoDataConnectionValidation.ps1 | 20 +- .../internal/New-AzKustoDataConnection.ps1 | 16 +- src/Kusto/internal/New-AzKustoDatabase.ps1 | 20 +- src/Kusto/internal/ProxyCmdletDefinitions.ps1 | 96 +- .../internal/Update-AzKustoDataConnection.ps1 | 20 +- src/Kusto/internal/Update-AzKustoDatabase.ps1 | 14 +- src/Kusto/readme.md | 6 +- src/Kusto/run-module.ps1 | 2 + src/Kusto/test-module.ps1 | 6 +- ...stoClusterLanguageExtension.Recording.json | 1715 ++----- ...-AzKustoClusterLanguageExtension.Tests.ps1 | 27 +- src/Kusto/test/Az.Kusto-TestResults.xml | 395 -- ...tachedDatabaseConfiguration.Recording.json | 62 +- ...stoAttachedDatabaseConfiguration.Tests.ps1 | 31 +- .../test/Get-AzKustoCluster.Recording.json | 58 +- src/Kusto/test/Get-AzKustoCluster.Tests.ps1 | 31 +- ...ustoClusterFollowerDatabase.Recording.json | 28 +- ...t-AzKustoClusterFollowerDatabase.Tests.ps1 | 30 +- ...stoClusterLanguageExtension.Recording.json | 28 +- ...-AzKustoClusterLanguageExtension.Tests.ps1 | 29 +- ...oClusterPrincipalAssignment.Recording.json | 54 +- ...zKustoClusterPrincipalAssignment.Tests.ps1 | 31 +- .../test/Get-AzKustoClusterSku.Recording.json | 58 +- .../test/Get-AzKustoClusterSku.Tests.ps1 | 31 +- .../Get-AzKustoDataConnection.Recording.json | 62 +- .../test/Get-AzKustoDataConnection.Tests.ps1 | 31 +- .../test/Get-AzKustoDatabase.Recording.json | 56 +- src/Kusto/test/Get-AzKustoDatabase.Tests.ps1 | 31 +- ...et-AzKustoDatabasePrincipal.Recording.json | 28 +- .../Get-AzKustoDatabasePrincipal.Tests.ps1 | 29 +- ...DatabasePrincipalAssignment.Recording.json | 58 +- ...KustoDatabasePrincipalAssignment.Tests.ps1 | 31 +- .../Get-AzKustoOperationsResult.Tests.ps1 | 25 + src/Kusto/test/Get-AzKustoScript.Tests.ps1 | 29 + ...stoDataConnectionValidation.Recording.json | 750 +-- ...-AzKustoDataConnectionValidation.Tests.ps1 | 31 +- ...tachClusterFollowerDatabase.Recording.json | 912 ++-- ...stoDetachClusterFollowerDatabase.Tests.ps1 | 32 +- ...agnoseClusterVirtualNetwork.Recording.json | 956 ++-- ...stoDiagnoseClusterVirtualNetwork.Tests.ps1 | 31 +- ...tachedDatabaseConfiguration.Recording.json | 438 +- ...stoAttachedDatabaseConfiguration.Tests.ps1 | 31 +- .../test/New-AzKustoCluster.Recording.json | 1666 ++++--- src/Kusto/test/New-AzKustoCluster.Tests.ps1 | 31 +- ...oClusterPrincipalAssignment.Recording.json | 217 +- ...zKustoClusterPrincipalAssignment.Tests.ps1 | 31 +- .../New-AzKustoDataConnection.Recording.json | 331 +- .../test/New-AzKustoDataConnection.Tests.ps1 | 31 +- .../test/New-AzKustoDatabase.Recording.json | 442 +- src/Kusto/test/New-AzKustoDatabase.Tests.ps1 | 33 +- ...DatabasePrincipalAssignment.Recording.json | 219 +- ...KustoDatabasePrincipalAssignment.Tests.ps1 | 31 +- src/Kusto/test/New-AzKustoScript.Tests.ps1 | 25 + ...tachedDatabaseConfiguration.Recording.json | 444 +- ...stoAttachedDatabaseConfiguration.Tests.ps1 | 31 +- .../test/Remove-AzKustoCluster.Recording.json | 1559 +++--- .../test/Remove-AzKustoCluster.Tests.ps1 | 31 +- ...stoClusterLanguageExtension.Recording.json | 626 +-- ...-AzKustoClusterLanguageExtension.Tests.ps1 | 27 +- ...oClusterPrincipalAssignment.Recording.json | 195 +- ...zKustoClusterPrincipalAssignment.Tests.ps1 | 31 +- ...emove-AzKustoDataConnection.Recording.json | 257 +- .../Remove-AzKustoDataConnection.Tests.ps1 | 34 +- .../Remove-AzKustoDatabase.Recording.json | 195 +- .../test/Remove-AzKustoDatabase.Tests.ps1 | 31 +- ...ve-AzKustoDatabasePrincipal.Recording.json | 80 +- .../Remove-AzKustoDatabasePrincipal.Tests.ps1 | 27 +- ...DatabasePrincipalAssignment.Recording.json | 193 +- ...KustoDatabasePrincipalAssignment.Tests.ps1 | 31 +- src/Kusto/test/Remove-AzKustoScript.Tests.ps1 | 25 + .../test/Start-AzKustoCluster.Recording.json | 3174 ++++++------ src/Kusto/test/Start-AzKustoCluster.Tests.ps1 | 29 +- .../test/Stop-AzKustoCluster.Recording.json | 3190 ++++++------- src/Kusto/test/Stop-AzKustoCluster.Tests.ps1 | 29 +- ...ustoClusterNameAvailability.Recording.json | 26 +- ...t-AzKustoClusterNameAvailability.Tests.ps1 | 30 +- ...lAssignmentNameAvailability.Recording.json | 82 +- ...ncipalAssignmentNameAvailability.Tests.ps1 | 45 +- ...aConnectionNameAvailability.Recording.json | 84 +- ...toDataConnectionNameAvailability.Tests.ps1 | 37 +- ...stoDatabaseNameAvailability.Recording.json | 82 +- ...-AzKustoDatabaseNameAvailability.Tests.ps1 | 35 +- ...lAssignmentNameAvailability.Recording.json | 301 +- ...ncipalAssignmentNameAvailability.Tests.ps1 | 40 +- ...st-AzKustoScriptNameAvailability.Tests.ps1 | 25 + .../test/Update-AzKustoCluster.Recording.json | 1354 +++--- .../test/Update-AzKustoCluster.Tests.ps1 | 31 +- ...pdate-AzKustoDataConnection.Recording.json | 740 +-- .../Update-AzKustoDataConnection.Tests.ps1 | 75 +- .../Update-AzKustoDatabase.Recording.json | 592 +-- .../test/Update-AzKustoDatabase.Tests.ps1 | 31 +- src/Kusto/test/Update-AzKustoScript.Tests.ps1 | 33 + .../storage-account/parameters.json | 2 +- src/Kusto/test/env.json | 72 +- src/Kusto/test/utils.ps1 | 14 +- 671 files changed, 37437 insertions(+), 19680 deletions(-) create mode 100644 src/Kusto/create-model-cmdlets.ps1 create mode 100644 src/Kusto/examples/Get-AzKustoOperationsResult.md create mode 100644 src/Kusto/examples/Get-AzKustoScript.md create mode 100644 src/Kusto/examples/New-AzKustoScript.md create mode 100644 src/Kusto/examples/Remove-AzKustoScript.md create mode 100644 src/Kusto/examples/Test-AzKustoScriptNameAvailability.md create mode 100644 src/Kusto/examples/Update-AzKustoScript.md create mode 100644 src/Kusto/exports/Get-AzKustoOperationsResult.ps1 create mode 100644 src/Kusto/exports/Get-AzKustoScript.ps1 create mode 100644 src/Kusto/exports/New-AzKustoScript.ps1 create mode 100644 src/Kusto/exports/Remove-AzKustoScript.ps1 create mode 100644 src/Kusto/exports/Test-AzKustoScriptNameAvailability.ps1 create mode 100644 src/Kusto/exports/Update-AzKustoScript.ps1 create mode 100644 src/Kusto/generated/api/Models/Api20/SystemData.PowerShell.cs create mode 100644 src/Kusto/generated/api/Models/Api20/SystemData.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Models/Api20/SystemData.cs create mode 100644 src/Kusto/generated/api/Models/Api20/SystemData.json.cs delete mode 100644 src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.PowerShell.cs delete mode 100644 src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.cs delete mode 100644 src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.PowerShell.cs delete mode 100644 src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.cs delete mode 100644 src/Kusto/generated/api/Models/Api20200918/Cluster.PowerShell.cs delete mode 100644 src/Kusto/generated/api/Models/Api20200918/ClusterProperties.PowerShell.cs delete mode 100644 src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.PowerShell.cs delete mode 100644 src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.PowerShell.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.PowerShell.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AttachedDatabaseConfiguration.TypeConverter.cs (97%) create mode 100644 src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AttachedDatabaseConfiguration.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AttachedDatabaseConfigurationListResult.PowerShell.cs (76%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AttachedDatabaseConfigurationListResult.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AttachedDatabaseConfigurationListResult.cs (71%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AttachedDatabaseConfigurationListResult.json.cs (90%) create mode 100644 src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.PowerShell.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AttachedDatabaseConfigurationProperties.TypeConverter.cs (97%) create mode 100644 src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AttachedDatabaseConfigurationProperties.json.cs (91%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureCapacity.PowerShell.cs (69%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureCapacity.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureCapacity.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureCapacity.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureResourceSku.PowerShell.cs (52%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureResourceSku.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureResourceSku.cs (63%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureResourceSku.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureSku.PowerShell.cs (73%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureSku.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureSku.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/AzureSku.json.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CheckNameRequest.PowerShell.cs (78%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CheckNameRequest.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CheckNameRequest.cs (93%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CheckNameRequest.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CheckNameResult.PowerShell.cs (70%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CheckNameResult.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CheckNameResult.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CheckNameResult.json.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CloudError.PowerShell.cs (65%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CloudError.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CloudError.cs (71%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CloudError.json.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CloudErrorBody.PowerShell.cs (68%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CloudErrorBody.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CloudErrorBody.cs (89%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/CloudErrorBody.json.cs (93%) create mode 100644 src/Kusto/generated/api/Models/Api202101/Cluster.PowerShell.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Cluster.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Cluster.cs (68%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Cluster.json.cs (88%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterCheckNameRequest.PowerShell.cs (77%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterCheckNameRequest.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterCheckNameRequest.cs (76%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterCheckNameRequest.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterListResult.PowerShell.cs (79%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterListResult.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterListResult.cs (73%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterListResult.json.cs (91%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignment.PowerShell.cs (60%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignment.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignment.cs (74%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignment.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignmentCheckNameRequest.PowerShell.cs (75%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignmentCheckNameRequest.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignmentCheckNameRequest.cs (77%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignmentCheckNameRequest.json.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignmentListResult.PowerShell.cs (76%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignmentListResult.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignmentListResult.cs (72%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalAssignmentListResult.json.cs (90%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalProperties.PowerShell.cs (58%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalProperties.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalProperties.cs (93%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterPrincipalProperties.json.cs (97%) create mode 100644 src/Kusto/generated/api/Models/Api202101/ClusterProperties.PowerShell.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterProperties.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterProperties.cs (72%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterProperties.json.cs (92%) create mode 100644 src/Kusto/generated/api/Models/Api202101/ClusterUpdate.PowerShell.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterUpdate.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterUpdate.cs (67%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterUpdate.json.cs (92%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterUpdateTags.PowerShell.cs (89%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterUpdateTags.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterUpdateTags.cs (79%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterUpdateTags.dictionary.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ClusterUpdateTags.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs (72%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.cs (81%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnection.PowerShell.cs (81%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnection.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnection.cs (89%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnection.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionCheckNameRequest.PowerShell.cs (76%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionCheckNameRequest.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionCheckNameRequest.cs (76%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionCheckNameRequest.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionListResult.PowerShell.cs (78%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionListResult.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionListResult.cs (72%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionListResult.json.cs (91%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidation.PowerShell.cs (60%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidation.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidation.cs (68%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidation.json.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidationListResult.PowerShell.cs (76%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidationListResult.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidationListResult.cs (71%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidationListResult.json.cs (90%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidationResult.PowerShell.cs (81%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidationResult.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidationResult.cs (89%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DataConnectionValidationResult.json.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Database.PowerShell.cs (82%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Database.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Database.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Database.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabaseListResult.PowerShell.cs (78%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabaseListResult.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabaseListResult.cs (73%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabaseListResult.json.cs (91%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipal.PowerShell.cs (62%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipal.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipal.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipal.json.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignment.PowerShell.cs (59%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignment.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignment.cs (73%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignment.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignmentCheckNameRequest.PowerShell.cs (75%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignmentCheckNameRequest.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignmentCheckNameRequest.cs (77%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignmentCheckNameRequest.json.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignmentListResult.PowerShell.cs (76%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignmentListResult.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignmentListResult.cs (71%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalAssignmentListResult.json.cs (90%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalListRequest.PowerShell.cs (77%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalListRequest.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalListRequest.cs (72%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalListRequest.json.cs (90%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalListResult.PowerShell.cs (77%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalListResult.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalListResult.cs (72%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalListResult.json.cs (90%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalProperties.PowerShell.cs (58%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalProperties.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalProperties.cs (93%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabasePrincipalProperties.json.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabaseStatistics.PowerShell.cs (83%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabaseStatistics.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabaseStatistics.cs (90%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DatabaseStatistics.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DiagnoseVirtualNetworkResult.PowerShell.cs (81%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DiagnoseVirtualNetworkResult.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DiagnoseVirtualNetworkResult.cs (88%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/DiagnoseVirtualNetworkResult.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventGridConnectionProperties.PowerShell.cs (53%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventGridConnectionProperties.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventGridConnectionProperties.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventGridConnectionProperties.json.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventGridDataConnection.PowerShell.cs (53%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventGridDataConnection.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventGridDataConnection.cs (75%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventGridDataConnection.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918/IotHubConnectionProperties.PowerShell.cs => Api202101/EventHubConnectionProperties.PowerShell.cs} (60%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventHubConnectionProperties.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventHubConnectionProperties.cs (85%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventHubConnectionProperties.json.cs (92%) rename src/Kusto/generated/api/Models/{Api20200918/IotHubDataConnection.PowerShell.cs => Api202101/EventHubDataConnection.PowerShell.cs} (60%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventHubDataConnection.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventHubDataConnection.cs (69%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/EventHubDataConnection.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/FollowerDatabaseDefinition.PowerShell.cs (72%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/FollowerDatabaseDefinition.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/FollowerDatabaseDefinition.cs (93%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/FollowerDatabaseDefinition.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/FollowerDatabaseListResult.PowerShell.cs (77%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/FollowerDatabaseListResult.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/FollowerDatabaseListResult.cs (71%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/FollowerDatabaseListResult.json.cs (90%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Identity.PowerShell.cs (68%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Identity.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Identity.cs (85%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Identity.json.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IdentityUserAssignedIdentities.PowerShell.cs (88%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IdentityUserAssignedIdentities.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IdentityUserAssignedIdentities.cs (84%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IdentityUserAssignedIdentities.dictionary.cs (56%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IdentityUserAssignedIdentities.json.cs (89%) create mode 100644 src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.PowerShell.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IotHubConnectionProperties.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IotHubConnectionProperties.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IotHubConnectionProperties.json.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918/EventHubDataConnection.PowerShell.cs => Api202101/IotHubDataConnection.PowerShell.cs} (50%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IotHubDataConnection.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IotHubDataConnection.cs (74%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/IotHubDataConnection.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/KeyVaultProperties.PowerShell.cs (71%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/KeyVaultProperties.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/KeyVaultProperties.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/KeyVaultProperties.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/LanguageExtension.PowerShell.cs (81%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/LanguageExtension.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/LanguageExtension.cs (90%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/LanguageExtension.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/LanguageExtensionsList.PowerShell.cs (78%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/LanguageExtensionsList.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/LanguageExtensionsList.cs (71%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/LanguageExtensionsList.json.cs (91%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ListResourceSkusResult.PowerShell.cs (78%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ListResourceSkusResult.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ListResourceSkusResult.cs (73%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ListResourceSkusResult.json.cs (91%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Operation.PowerShell.cs (59%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Operation.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Operation.cs (80%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/Operation.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OperationDisplay.PowerShell.cs (71%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OperationDisplay.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OperationDisplay.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OperationDisplay.json.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OperationListResult.PowerShell.cs (75%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OperationListResult.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OperationListResult.cs (84%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OperationListResult.json.cs (92%) create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResult.PowerShell.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResult.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResult.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResult.json.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.PowerShell.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.json.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResultProperties.PowerShell.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResultProperties.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResultProperties.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/OperationResultProperties.json.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OptimizedAutoscale.PowerShell.cs (70%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OptimizedAutoscale.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OptimizedAutoscale.cs (95%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/OptimizedAutoscale.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadOnlyFollowingDatabase.PowerShell.cs (52%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadOnlyFollowingDatabase.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadOnlyFollowingDatabase.cs (69%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadOnlyFollowingDatabase.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadOnlyFollowingDatabaseProperties.PowerShell.cs (52%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadOnlyFollowingDatabaseProperties.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadOnlyFollowingDatabaseProperties.cs (83%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadOnlyFollowingDatabaseProperties.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadWriteDatabase.PowerShell.cs (57%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadWriteDatabase.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadWriteDatabase.cs (71%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadWriteDatabase.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadWriteDatabaseProperties.PowerShell.cs (58%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadWriteDatabaseProperties.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadWriteDatabaseProperties.cs (83%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/ReadWriteDatabaseProperties.json.cs (96%) create mode 100644 src/Kusto/generated/api/Models/Api202101/Script.PowerShell.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/Script.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/Script.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/Script.json.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.PowerShell.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.json.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptListResult.PowerShell.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptListResult.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptListResult.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptListResult.json.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptProperties.PowerShell.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptProperties.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptProperties.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/ScriptProperties.json.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuDescription.PowerShell.cs (61%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuDescription.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuDescription.cs (82%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuDescription.json.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuDescriptionList.PowerShell.cs (78%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuDescriptionList.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuDescriptionList.cs (66%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuDescriptionList.json.cs (91%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuLocationInfoItem.PowerShell.cs (78%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuLocationInfoItem.TypeConverter.cs (98%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuLocationInfoItem.cs (92%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/SkuLocationInfoItem.json.cs (96%) create mode 100644 src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.PowerShell.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.cs create mode 100644 src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.json.cs rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/TrustedExternalTenant.PowerShell.cs (83%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/TrustedExternalTenant.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/TrustedExternalTenant.cs (89%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/TrustedExternalTenant.json.cs (96%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/VirtualNetworkConfiguration.PowerShell.cs (72%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/VirtualNetworkConfiguration.TypeConverter.cs (97%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/VirtualNetworkConfiguration.cs (94%) rename src/Kusto/generated/api/Models/{Api20200918 => Api202101}/VirtualNetworkConfiguration.json.cs (96%) create mode 100644 src/Kusto/generated/api/Support/CreatedByType.Completer.cs create mode 100644 src/Kusto/generated/api/Support/CreatedByType.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Support/CreatedByType.cs create mode 100644 src/Kusto/generated/api/Support/DataConnectionKind.Completer.cs create mode 100644 src/Kusto/generated/api/Support/DataConnectionKind.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Support/DataConnectionKind.cs create mode 100644 src/Kusto/generated/api/Support/Status.Completer.cs create mode 100644 src/Kusto/generated/api/Support/Status.TypeConverter.cs create mode 100644 src/Kusto/generated/api/Support/Status.cs create mode 100644 src/Kusto/generated/cmdlets/GetAzKustoOperationsResult_Get.cs create mode 100644 src/Kusto/generated/cmdlets/GetAzKustoOperationsResult_GetViaIdentity.cs create mode 100644 src/Kusto/generated/cmdlets/GetAzKustoScript_Get.cs create mode 100644 src/Kusto/generated/cmdlets/GetAzKustoScript_GetViaIdentity.cs create mode 100644 src/Kusto/generated/cmdlets/GetAzKustoScript_List.cs create mode 100644 src/Kusto/generated/cmdlets/NewAzKustoScript_Create.cs create mode 100644 src/Kusto/generated/cmdlets/NewAzKustoScript_CreateExpanded.cs create mode 100644 src/Kusto/generated/cmdlets/RemoveAzKustoScript_Delete.cs create mode 100644 src/Kusto/generated/cmdlets/RemoveAzKustoScript_DeleteViaIdentity.cs create mode 100644 src/Kusto/generated/cmdlets/TestAzKustoScriptNameAvailability_CheckExpanded.cs create mode 100644 src/Kusto/generated/cmdlets/TestAzKustoScriptNameAvailability_CheckViaIdentityExpanded.cs create mode 100644 src/Kusto/generated/cmdlets/UpdateAzKustoScript_Update.cs create mode 100644 src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateExpanded.cs create mode 100644 src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateViaIdentity.cs create mode 100644 src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateViaIdentityExpanded.cs create mode 100644 src/Kusto/help/Get-AzKustoOperationsResult.md create mode 100644 src/Kusto/help/Get-AzKustoScript.md create mode 100644 src/Kusto/help/New-AzKustoScript.md create mode 100644 src/Kusto/help/Remove-AzKustoScript.md create mode 100644 src/Kusto/help/Test-AzKustoScriptNameAvailability.md create mode 100644 src/Kusto/help/Update-AzKustoScript.md delete mode 100644 src/Kusto/test/Az.Kusto-TestResults.xml create mode 100644 src/Kusto/test/Get-AzKustoOperationsResult.Tests.ps1 create mode 100644 src/Kusto/test/Get-AzKustoScript.Tests.ps1 create mode 100644 src/Kusto/test/New-AzKustoScript.Tests.ps1 create mode 100644 src/Kusto/test/Remove-AzKustoScript.Tests.ps1 create mode 100644 src/Kusto/test/Test-AzKustoScriptNameAvailability.Tests.ps1 create mode 100644 src/Kusto/test/Update-AzKustoScript.Tests.ps1 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 + PrincipalAssignmentName ResourceGroupName + + 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/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..35c5791682f7 100644 --- a/src/Kusto/custom/New-AzKustoDatabase.ps1 +++ b/src/Kusto/custom/New-AzKustoDatabase.ps1 @@ -29,7 +29,7 @@ ReadWrite East US testnewkustocluster/mykustodatabase Microsoft.Kusto/Clusters/ https://docs.microsoft.com/en-us/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..3d8e4f3bb16e 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 #> 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..72c5ac64686c 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 ]: 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)] @@ -2130,6 +2146,366 @@ end { # 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 + } +} +} + +# ---------------------------------------------------------------------------------- +# +# 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 + } +} +} + +# ---------------------------------------------------------------------------------- +# +# 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 Detaches all followers of a database owned by this cluster. @@ -2154,12 +2530,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])] @@ -2348,12 +2726,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])] @@ -2513,12 +2893,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)] @@ -2573,6 +2953,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()] @@ -2699,12 +3115,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)] @@ -2886,22 +3302,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)] @@ -2925,6 +3338,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] @@ -2987,7 +3415,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}'. @@ -3017,13 +3445,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] @@ -3062,35 +3483,228 @@ param( ${Tag}, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[]] - # The cluster's external tenants. - # To construct, see NOTES section for TRUSTEDEXTERNALTENANT properties and create a hash table. - ${TrustedExternalTenant}, + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [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}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [System.String] + # Data management's service public IP address resource id. + ${VirtualNetworkConfigurationDataManagementPublicIPId}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [System.String] + # Engine service's public IP address resource id. + ${VirtualNetworkConfigurationEnginePublicIPId}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [System.String] + # The subnet resource id. + ${VirtualNetworkConfigurationSubnetId}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [System.String[]] + # The availability zones of the cluster. + ${Zone}, + + [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 = @{ + CreateExpanded = 'Az.Kusto.private\New-AzKustoCluster_CreateExpanded'; + } + if (('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 + } +} +} + +# ---------------------------------------------------------------------------------- +# +# 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 cluster database principalAssignment. +.Description +Creates a Kusto cluster database principalAssignment. +.Example +PS C:\> New-AzKustoDatabasePrincipalAssignment -ResourceGroupName testrg -ClusterName testnewkustocluster -DatabaseName mykustodatabase -PrincipalAssignmentName kustoprincipal1 -PrincipalId "7e1cb39f-d2cb-4f0d-801a-c9ea1f376e96" -PrincipalType App -Role Admin + +Name Type +---- ---- +testnewkustocluster/mykustodatabase/kustoprincipal1 Microsoft.Kusto/Clusters/Databases/PrincipalAssignments + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment +.Link +https://docs.microsoft.com/powershell/module/az.kusto/new-azkustodatabaseprincipalassignment +#> +function New-AzKustoDatabasePrincipalAssignment { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment])] +[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)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the Kusto principalAssignment. + ${PrincipalAssignmentName}, + + [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()] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] [System.String] - # Data management's service public IP address resource id. - ${VirtualNetworkConfigurationDataManagementPublicIPId}, + # The principal ID assigned to the database principal. + # It can be a user email, application ID, or security group name. + ${PrincipalId}, [Parameter()] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType])] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [System.String] - # Engine service's public IP address resource id. - ${VirtualNetworkConfigurationEnginePublicIPId}, + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType] + # Principal type. + ${PrincipalType}, [Parameter()] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole])] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [System.String] - # The subnet resource id. - ${VirtualNetworkConfigurationSubnetId}, + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole] + # Database principal role. + ${Role}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [System.String[]] - # The availability zones of the cluster. - ${Zone}, + [System.String] + # The tenant id of the principal + ${TenantId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -3160,7 +3774,7 @@ begin { } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - CreateExpanded = 'Az.Kusto.private\New-AzKustoCluster_CreateExpanded'; + CreateExpanded = 'Az.Kusto.private\New-AzKustoDatabasePrincipalAssignment_CreateExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id @@ -3207,23 +3821,43 @@ end { <# .Synopsis -Creates a Kusto cluster database principalAssignment. +Creates a Kusto database script. .Description -Creates a Kusto cluster database principalAssignment. +Creates a Kusto database script. .Example -PS C:\> New-AzKustoDatabasePrincipalAssignment -ResourceGroupName testrg -ClusterName testnewkustocluster -DatabaseName mykustodatabase -PrincipalAssignmentName kustoprincipal1 -PrincipalId "7e1cb39f-d2cb-4f0d-801a-c9ea1f376e96" -PrincipalType App -Role Admin +PS C:\> {{ Add code here }} -Name Type ----- ---- -testnewkustocluster/mykustodatabase/kustoprincipal1 Microsoft.Kusto/Clusters/Databases/PrincipalAssignments +{{ 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.Api20200918.IDatabasePrincipalAssignment +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/en-us/powershell/module/az.kusto/new-azkustodatabaseprincipalassignment +https://docs.microsoft.com/powershell/module/az.kusto/new-azkustoscript #> -function New-AzKustoDatabasePrincipalAssignment { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment])] +function New-AzKustoScript { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -3239,10 +3873,11 @@ param( ${DatabaseName}, [Parameter(Mandatory)] + [Alias('ScriptName')] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] [System.String] - # The name of the Kusto principalAssignment. - ${PrincipalAssignmentName}, + # The name of the Kusto database script. + ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] @@ -3258,32 +3893,37 @@ param( # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, - [Parameter()] + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [System.String] - # The principal ID assigned to the database principal. - # It can be a user email, application ID, or security group name. - ${PrincipalId}, + [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()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType])] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType] - # Principal type. - ${PrincipalType}, + [System.Management.Automation.SwitchParameter] + # Flag that indicates whether to continue if one of the command fails. + ${ContinueOnError}, - [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole])] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole] - # Database principal role. - ${Role}, + [System.String] + # A unique string. + # If changed the script will be applied again. + ${ForceUpdateTag}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] [System.String] - # The tenant id of the principal - ${TenantId}, + # 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')] @@ -3353,9 +3993,10 @@ begin { } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - CreateExpanded = 'Az.Kusto.private\New-AzKustoDatabasePrincipalAssignment_CreateExpanded'; + Create = 'Az.Kusto.private\New-AzKustoScript_Create'; + CreateExpanded = 'Az.Kusto.private\New-AzKustoScript_CreateExpanded'; } - if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + 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) @@ -3421,12 +4062,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/remove-azkustoattacheddatabaseconfiguration +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustoattacheddatabaseconfiguration #> function Remove-AzKustoAttachedDatabaseConfiguration { [OutputType([System.Boolean])] @@ -3609,15 +4252,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/remove-azkustoclusterlanguageextension +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustoclusterlanguageextension #> function Remove-AzKustoClusterLanguageExtension { [OutputType([System.Boolean])] @@ -3652,7 +4297,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}, @@ -3800,12 +4445,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/remove-azkustoclusterprincipalassignment +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustoclusterprincipalassignment #> function Remove-AzKustoClusterPrincipalAssignment { [OutputType([System.Boolean])] @@ -3987,12 +4634,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/remove-azkustocluster +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustocluster #> function Remove-AzKustoCluster { [OutputType([System.Boolean])] @@ -4169,12 +4818,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/remove-azkustodatabaseprincipalassignment +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustodatabaseprincipalassignment #> function Remove-AzKustoDatabasePrincipalAssignment { [OutputType([System.Boolean])] @@ -4354,7 +5005,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 @@ -4366,9 +5017,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. @@ -4379,10 +5032,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/remove-azkustodatabaseprincipal +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustodatabaseprincipal #> function Remove-AzKustoDatabasePrincipal { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal])] [CmdletBinding(DefaultParameterSetName='RemoveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='RemoveExpanded', Mandatory)] @@ -4411,20 +5064,192 @@ param( # The subscription ID forms part of the URI for every service call. ${SubscriptionId}, - [Parameter(ParameterSetName='RemoveViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='RemoveViaIdentityExpanded', 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()] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [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}, + + [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 = @{ + RemoveExpanded = 'Az.Kusto.private\Remove-AzKustoDatabasePrincipal_RemoveExpanded'; + RemoveViaIdentityExpanded = 'Az.Kusto.private\Remove-AzKustoDatabasePrincipal_RemoveViaIdentityExpanded'; + } + if (('RemoveExpanded') -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 + } +} +} + +# ---------------------------------------------------------------------------------- +# +# 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 +Deletes the database with the given name. +.Description +Deletes the database with the given name. +.Example +PS C:\> Remove-AzKustoDatabase -ResourceGroupName testrg -ClusterName testnewkustocluster -Name mykustodatabase + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity +.Outputs +System.Boolean +.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/remove-azkustodatabase +#> +function Remove-AzKustoDatabase { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Delete', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the Kusto cluster. + ${ClusterName}, + + [Parameter(ParameterSetName='Delete', Mandatory)] + [Alias('DatabaseName')] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the database in the Kusto cluster. + ${Name}, + + [Parameter(ParameterSetName='Delete', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the resource group containing the Kusto cluster. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Delete')] + [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='DeleteViaIdentity', 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()] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[]] - # The list of Kusto database principals. - # To construct, see NOTES section for VALUE properties and create a hash table. - ${Value}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -4433,6 +5258,12 @@ param( # 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] @@ -4453,6 +5284,18 @@ param( # 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()] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Returns true when the command succeeds + ${PassThru}, + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')] [System.Uri] @@ -4481,10 +5324,10 @@ begin { } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - RemoveExpanded = 'Az.Kusto.private\Remove-AzKustoDatabasePrincipal_RemoveExpanded'; - RemoveViaIdentityExpanded = 'Az.Kusto.private\Remove-AzKustoDatabasePrincipal_RemoveViaIdentityExpanded'; + Delete = 'Az.Kusto.private\Remove-AzKustoDatabase_Delete'; + DeleteViaIdentity = 'Az.Kusto.private\Remove-AzKustoDatabase_DeleteViaIdentity'; } - if (('RemoveExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) @@ -4529,11 +5372,11 @@ end { <# .Synopsis -Deletes the database with the given name. +Deletes the data connection with the given name. .Description -Deletes the database with the given name. +Deletes the data connection with the given name. .Example -PS C:\> Remove-AzKustoDatabase -ResourceGroupName testrg -ClusterName testnewkustocluster -Name mykustodatabase +PS C:\> Remove-AzKustoDataConnection -ResourceGroupName "testrg" -ClusterName "testnewkustocluster" -DatabaseName "mykustodatabase" -DataConnectionName "mykustodataconnection" .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity @@ -4550,14 +5393,16 @@ 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/remove-azkustodatabase +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustodataconnection #> -function Remove-AzKustoDatabase { +function Remove-AzKustoDataConnection { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( @@ -4568,10 +5413,16 @@ param( ${ClusterName}, [Parameter(ParameterSetName='Delete', Mandatory)] - [Alias('DatabaseName')] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] [System.String] # The name of the database in the Kusto cluster. + ${DatabaseName}, + + [Parameter(ParameterSetName='Delete', Mandatory)] + [Alias('DataConnectionName')] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the data connection. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] @@ -4669,8 +5520,8 @@ begin { } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - Delete = 'Az.Kusto.private\Remove-AzKustoDatabase_Delete'; - DeleteViaIdentity = 'Az.Kusto.private\Remove-AzKustoDatabase_DeleteViaIdentity'; + Delete = 'Az.Kusto.private\Remove-AzKustoDataConnection_Delete'; + DeleteViaIdentity = 'Az.Kusto.private\Remove-AzKustoDataConnection_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id @@ -4717,11 +5568,17 @@ end { <# .Synopsis -Deletes the data connection with the given name. +Deletes a Kusto principalAssignment. .Description -Deletes the data connection with the given name. +Deletes a Kusto principalAssignment. .Example -PS C:\> Remove-AzKustoDataConnection -ResourceGroupName "testrg" -ClusterName "testnewkustocluster" -DatabaseName "mykustodatabase" -DataConnectionName "mykustodataconnection" +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 @@ -4738,14 +5595,16 @@ 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/remove-azkustodataconnection +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustoscript #> -function Remove-AzKustoDataConnection { +function Remove-AzKustoScript { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( @@ -4762,10 +5621,10 @@ param( ${DatabaseName}, [Parameter(ParameterSetName='Delete', Mandatory)] - [Alias('DataConnectionName')] + [Alias('ScriptName')] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] [System.String] - # The name of the data connection. + # The name of the Kusto database script. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] @@ -4863,8 +5722,8 @@ begin { } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - Delete = 'Az.Kusto.private\Remove-AzKustoDataConnection_Delete'; - DeleteViaIdentity = 'Az.Kusto.private\Remove-AzKustoDataConnection_DeleteViaIdentity'; + Delete = 'Az.Kusto.private\Remove-AzKustoScript_Delete'; + DeleteViaIdentity = 'Az.Kusto.private\Remove-AzKustoScript_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id @@ -4932,12 +5791,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/start-azkustocluster +https://docs.microsoft.com/powershell/module/az.kusto/start-azkustocluster #> function Start-AzKustoCluster { [OutputType([System.Boolean])] @@ -5114,12 +5975,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/stop-azkustocluster +https://docs.microsoft.com/powershell/module/az.kusto/stop-azkustocluster #> function Stop-AzKustoCluster { [OutputType([System.Boolean])] @@ -5294,7 +6157,7 @@ Message Name NameAvailable Reason .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult .Notes COMPLEX PARAMETER PROPERTIES @@ -5306,21 +6169,23 @@ 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/test-azkustoclusternameavailability +https://docs.microsoft.com/powershell/module/az.kusto/test-azkustoclusternameavailability #> function Test-AzKustoClusterNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CheckExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] [System.String] - # Azure location. + # Azure location (region) name. ${Location}, [Parameter(ParameterSetName='CheckExpanded')] @@ -5344,13 +6209,6 @@ param( # Cluster name. ${Name}, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type])] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type] - # The type of resource, Microsoft.Kusto/clusters. - ${Type}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -5474,7 +6332,7 @@ Message Name NameAvailable Reason .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult .Notes COMPLEX PARAMETER PROPERTIES @@ -5486,15 +6344,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/test-azkustoclusterprincipalassignmentnameavailability +https://docs.microsoft.com/powershell/module/az.kusto/test-azkustoclusterprincipalassignmentnameavailability #> function Test-AzKustoClusterPrincipalAssignmentNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CheckExpanded', Mandatory)] @@ -5530,13 +6390,6 @@ param( # Principal Assignment resource name. ${Name}, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type])] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type] - # The type of resource, Microsoft.Kusto/Clusters/principalAssignments. - ${Type}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -5660,7 +6513,7 @@ Message Name NameAvailable Reason .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult .Notes COMPLEX PARAMETER PROPERTIES @@ -5672,15 +6525,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/test-azkustodatabasenameavailability +https://docs.microsoft.com/powershell/module/az.kusto/test-azkustodatabasenameavailability #> function Test-AzKustoDatabaseNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CheckExpanded', Mandatory)] @@ -5837,16 +6692,203 @@ Message ------- ---- ------------- ------ Database principal assignment myprincipal already exists in database mykustodatabase. Please select a different principal assignment name. myprincipal False .Example -PS C:\> Test-AzKustoClusterPrincipalAssignmentNameAvailability -ResourceGroupName "testrg" -ClusterName "testnewkustocluster" -DatabaseName "mykustodatabase" -Name "newprincipal" -Type "Microsoft.Kusto/Clusters/Database/principalAssignments" +PS C:\> Test-AzKustoClusterPrincipalAssignmentNameAvailability -ResourceGroupName "testrg" -ClusterName "testnewkustocluster" -DatabaseName "mykustodatabase" -Name "newprincipal" -Type "Microsoft.Kusto/Clusters/Database/principalAssignments" + +Message Name NameAvailable Reason +------- ---- ------------- ------ + availablekustocluster True + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult +.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/test-azkustodatabaseprincipalassignmentnameavailability +#> +function Test-AzKustoDatabasePrincipalAssignmentNameAvailability { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] +[CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='CheckExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the Kusto cluster. + ${ClusterName}, + + [Parameter(ParameterSetName='CheckExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the database in the Kusto cluster. + ${DatabaseName}, + + [Parameter(ParameterSetName='CheckExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the resource group containing the Kusto cluster. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='CheckExpanded')] + [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='CheckViaIdentityExpanded', 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(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [System.String] + # Principal Assignment resource name. + ${Name}, + + [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 = @{ + CheckExpanded = 'Az.Kusto.private\Test-AzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded'; + CheckViaIdentityExpanded = 'Az.Kusto.private\Test-AzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityExpanded'; + } + if (('CheckExpanded') -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 + } +} +} + +# ---------------------------------------------------------------------------------- +# +# 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 +Checks that the data connection name is valid and is not already in use. +.Description +Checks that the data connection name is valid and is not already in use. +.Example +PS C:\> Test-AzKustoDataConnectionNameAvailability -ClusterName testnewkustocluster -DatabaseName mykustodatabase -ResourceGroupName testrg -Name mykustodataconnection -Type Microsoft.Kusto/Clusters/Databases/dataConnections + +Message Name NameAvailable Reason +------- ---- ------------- ------ +Data Connection mykustodataconnection already exists in database mykustodatabase in cluster testnewkustocluster. Please select a different data connection name. mykustodataconnection False AlreadyExists +.Example +PS C:\> Test-AzKustoDataConnectionNameAvailability -ClusterName testnewkustocluster -DatabaseName mykustodatabase -ResourceGroupName testrg -Name mydataconnection -Type Microsoft.Kusto/Clusters/Databases/dataConnections -Message Name NameAvailable Reason -------- ---- ------------- ------ - availablekustocluster True +Message Name NameAvailable Reason +------- ---- ------------- ------ + mydataconnection True .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult .Notes COMPLEX PARAMETER PROPERTIES @@ -5858,15 +6900,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/test-azkustodatabaseprincipalassignmentnameavailability +https://docs.microsoft.com/powershell/module/az.kusto/test-azkustodataconnectionnameavailability #> -function Test-AzKustoDatabasePrincipalAssignmentNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult])] +function Test-AzKustoDataConnectionNameAvailability { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CheckExpanded', Mandatory)] @@ -5905,16 +6949,9 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] [System.String] - # Principal Assignment resource name. + # Data Connection name. ${Name}, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type])] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type] - # The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments. - ${Type}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -5971,8 +7008,8 @@ begin { } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - CheckExpanded = 'Az.Kusto.private\Test-AzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded'; - CheckViaIdentityExpanded = 'Az.Kusto.private\Test-AzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityExpanded'; + CheckExpanded = 'Az.Kusto.private\Test-AzKustoDataConnectionNameAvailability_CheckExpanded'; + CheckViaIdentityExpanded = 'Az.Kusto.private\Test-AzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded'; } if (('CheckExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id @@ -6019,26 +7056,22 @@ end { <# .Synopsis -Checks that the data connection name is valid and is not already in use. +Checks that the script name is valid and is not already in use. .Description -Checks that the data connection name is valid and is not already in use. +Checks that the script name is valid and is not already in use. .Example -PS C:\> Test-AzKustoDataConnectionNameAvailability -ClusterName testnewkustocluster -DatabaseName mykustodatabase -ResourceGroupName testrg -Name mykustodataconnection -Type Microsoft.Kusto/Clusters/Databases/dataConnections +PS C:\> {{ Add code here }} -Message Name NameAvailable Reason -------- ---- ------------- ------ -Data Connection mykustodataconnection already exists in database mykustodatabase in cluster testnewkustocluster. Please select a different data connection name. mykustodataconnection False AlreadyExists +{{ Add output here }} .Example -PS C:\> Test-AzKustoDataConnectionNameAvailability -ClusterName testnewkustocluster -DatabaseName mykustodatabase -ResourceGroupName testrg -Name mydataconnection -Type Microsoft.Kusto/Clusters/Databases/dataConnections +PS C:\> {{ Add code here }} -Message Name NameAvailable Reason -------- ---- ------------- ------ - mydataconnection True +{{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult .Notes COMPLEX PARAMETER PROPERTIES @@ -6050,15 +7083,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/test-azkustodataconnectionnameavailability +https://docs.microsoft.com/powershell/module/az.kusto/test-azkustoscriptnameavailability #> -function Test-AzKustoDataConnectionNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult])] +function Test-AzKustoScriptNameAvailability { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CheckExpanded', Mandatory)] @@ -6097,16 +7132,9 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] [System.String] - # Data Connection name. + # Script name. ${Name}, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type])] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type] - # The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections. - ${Type}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -6163,8 +7191,8 @@ begin { } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - CheckExpanded = 'Az.Kusto.private\Test-AzKustoDataConnectionNameAvailability_CheckExpanded'; - CheckViaIdentityExpanded = 'Az.Kusto.private\Test-AzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded'; + CheckExpanded = 'Az.Kusto.private\Test-AzKustoScriptNameAvailability_CheckExpanded'; + CheckViaIdentityExpanded = 'Az.Kusto.private\Test-AzKustoScriptNameAvailability_CheckViaIdentityExpanded'; } if (('CheckExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id @@ -6230,7 +7258,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 @@ -6242,21 +7270,20 @@ 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. -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/update-azkustocluster +https://docs.microsoft.com/powershell/module/az.kusto/update-azkustocluster #> function Update-AzKustoCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -6287,6 +7314,14 @@ param( # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, + [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('Body')] [System.Management.Automation.SwitchParameter] @@ -6329,7 +7364,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}'. @@ -6359,13 +7394,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.String] @@ -6418,14 +7446,14 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [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}, @@ -6562,6 +7590,261 @@ end { # limitations under the License. # ---------------------------------------------------------------------------------- +<# +.Synopsis +Updates a database script. +.Description +Updates a 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 +.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. + +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/update-azkustoscript +#> +function Update-AzKustoScript { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the Kusto cluster. + ${ClusterName}, + + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the database in the Kusto cluster. + ${DatabaseName}, + + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Alias('ScriptName')] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the Kusto database script. + ${Name}, + + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the resource group containing the Kusto cluster. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Update')] + [Parameter(ParameterSetName='UpdateExpanded')] + [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='UpdateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', 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(ParameterSetName='Update', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentity', 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='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [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='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [System.String] + # A unique string. + # If changed the script will be applied again. + ${ForceUpdateTag}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [System.String] + # The url to the KQL script blob file. + ${ScriptUrl}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [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 = @{ + Update = 'Az.Kusto.private\Update-AzKustoScript_Update'; + UpdateExpanded = 'Az.Kusto.private\Update-AzKustoScript_UpdateExpanded'; + UpdateViaIdentity = 'Az.Kusto.private\Update-AzKustoScript_UpdateViaIdentity'; + UpdateViaIdentityExpanded = 'Az.Kusto.private\Update-AzKustoScript_UpdateViaIdentityExpanded'; + } + if (('Update', 'UpdateExpanded') -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 + } +} +} + +# ---------------------------------------------------------------------------------- +# +# 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 Checks that the data connection parameters are valid. @@ -6610,7 +7893,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 @@ -6622,15 +7905,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)] @@ -6896,19 +8181,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 #> 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)] @@ -7101,12 +8388,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)] @@ -7392,7 +8679,7 @@ ReadOnlyFollowing East US myfollowercluster/mykustodatabase Microsoft.Kusto/Clu .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 @@ -7404,15 +8691,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/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)] @@ -7636,7 +8925,7 @@ IotHub East US testnewkustocluster/mykustodatabase/myiothubdc Microsoft.Kusto/C .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 @@ -7648,15 +8937,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/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)] diff --git a/src/Kusto/exports/Remove-AzKustoAttachedDatabaseConfiguration.ps1 b/src/Kusto/exports/Remove-AzKustoAttachedDatabaseConfiguration.ps1 index 839bfee2b735..8d45b0e3e88d 100644 --- a/src/Kusto/exports/Remove-AzKustoAttachedDatabaseConfiguration.ps1 +++ b/src/Kusto/exports/Remove-AzKustoAttachedDatabaseConfiguration.ps1 @@ -36,12 +36,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/remove-azkustoattacheddatabaseconfiguration +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustoattacheddatabaseconfiguration #> function Remove-AzKustoAttachedDatabaseConfiguration { [OutputType([System.Boolean])] diff --git a/src/Kusto/exports/Remove-AzKustoCluster.ps1 b/src/Kusto/exports/Remove-AzKustoCluster.ps1 index 4a5acb8aa719..d398f509f4da 100644 --- a/src/Kusto/exports/Remove-AzKustoCluster.ps1 +++ b/src/Kusto/exports/Remove-AzKustoCluster.ps1 @@ -36,12 +36,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/remove-azkustocluster +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustocluster #> function Remove-AzKustoCluster { [OutputType([System.Boolean])] diff --git a/src/Kusto/exports/Remove-AzKustoClusterLanguageExtension.ps1 b/src/Kusto/exports/Remove-AzKustoClusterLanguageExtension.ps1 index b083bb51b82d..6edea8766cc8 100644 --- a/src/Kusto/exports/Remove-AzKustoClusterLanguageExtension.ps1 +++ b/src/Kusto/exports/Remove-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/remove-azkustoclusterlanguageextension +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustoclusterlanguageextension #> function Remove-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/Remove-AzKustoClusterPrincipalAssignment.ps1 b/src/Kusto/exports/Remove-AzKustoClusterPrincipalAssignment.ps1 index a4597b3e5424..5cdfa532a8aa 100644 --- a/src/Kusto/exports/Remove-AzKustoClusterPrincipalAssignment.ps1 +++ b/src/Kusto/exports/Remove-AzKustoClusterPrincipalAssignment.ps1 @@ -36,12 +36,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/remove-azkustoclusterprincipalassignment +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustoclusterprincipalassignment #> function Remove-AzKustoClusterPrincipalAssignment { [OutputType([System.Boolean])] diff --git a/src/Kusto/exports/Remove-AzKustoDataConnection.ps1 b/src/Kusto/exports/Remove-AzKustoDataConnection.ps1 index 235ae95be460..48db0cd052ce 100644 --- a/src/Kusto/exports/Remove-AzKustoDataConnection.ps1 +++ b/src/Kusto/exports/Remove-AzKustoDataConnection.ps1 @@ -36,12 +36,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/remove-azkustodataconnection +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustodataconnection #> function Remove-AzKustoDataConnection { [OutputType([System.Boolean])] diff --git a/src/Kusto/exports/Remove-AzKustoDatabase.ps1 b/src/Kusto/exports/Remove-AzKustoDatabase.ps1 index 46f45ed3d929..daebcbe91ccd 100644 --- a/src/Kusto/exports/Remove-AzKustoDatabase.ps1 +++ b/src/Kusto/exports/Remove-AzKustoDatabase.ps1 @@ -36,12 +36,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/remove-azkustodatabase +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustodatabase #> function Remove-AzKustoDatabase { [OutputType([System.Boolean])] diff --git a/src/Kusto/exports/Remove-AzKustoDatabasePrincipal.ps1 b/src/Kusto/exports/Remove-AzKustoDatabasePrincipal.ps1 index 503a9a1f7191..2e05e47a1b18 100644 --- a/src/Kusto/exports/Remove-AzKustoDatabasePrincipal.ps1 +++ b/src/Kusto/exports/Remove-AzKustoDatabasePrincipal.ps1 @@ -28,7 +28,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 @@ -40,9 +40,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. @@ -53,10 +55,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/remove-azkustodatabaseprincipal +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustodatabaseprincipal #> function Remove-AzKustoDatabasePrincipal { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal])] [CmdletBinding(DefaultParameterSetName='RemoveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='RemoveExpanded', Mandatory)] @@ -94,7 +96,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/Remove-AzKustoDatabasePrincipalAssignment.ps1 b/src/Kusto/exports/Remove-AzKustoDatabasePrincipalAssignment.ps1 index 79690214d8f4..aaa0b2e3810d 100644 --- a/src/Kusto/exports/Remove-AzKustoDatabasePrincipalAssignment.ps1 +++ b/src/Kusto/exports/Remove-AzKustoDatabasePrincipalAssignment.ps1 @@ -36,12 +36,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/remove-azkustodatabaseprincipalassignment +https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustodatabaseprincipalassignment #> function Remove-AzKustoDatabasePrincipalAssignment { [OutputType([System.Boolean])] diff --git a/src/Kusto/exports/Remove-AzKustoScript.ps1 b/src/Kusto/exports/Remove-AzKustoScript.ps1 new file mode 100644 index 000000000000..e55d80bc8724 --- /dev/null +++ b/src/Kusto/exports/Remove-AzKustoScript.ps1 @@ -0,0 +1,202 @@ + +# ---------------------------------------------------------------------------------- +# +# 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 +Deletes a Kusto principalAssignment. +.Description +Deletes a Kusto principalAssignment. +.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 +System.Boolean +.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/remove-azkustoscript +#> +function Remove-AzKustoScript { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Delete', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the Kusto cluster. + ${ClusterName}, + + [Parameter(ParameterSetName='Delete', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the database in the Kusto cluster. + ${DatabaseName}, + + [Parameter(ParameterSetName='Delete', Mandatory)] + [Alias('ScriptName')] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the Kusto database script. + ${Name}, + + [Parameter(ParameterSetName='Delete', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the resource group containing the Kusto cluster. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Delete')] + [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='DeleteViaIdentity', 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()] + [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()] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Returns true when the command succeeds + ${PassThru}, + + [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 = @{ + Delete = 'Az.Kusto.private\Remove-AzKustoScript_Delete'; + DeleteViaIdentity = 'Az.Kusto.private\Remove-AzKustoScript_DeleteViaIdentity'; + } + if (('Delete') -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/Start-AzKustoCluster.ps1 b/src/Kusto/exports/Start-AzKustoCluster.ps1 index ebbed8b90ff2..62c72731a6b8 100644 --- a/src/Kusto/exports/Start-AzKustoCluster.ps1 +++ b/src/Kusto/exports/Start-AzKustoCluster.ps1 @@ -36,12 +36,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/start-azkustocluster +https://docs.microsoft.com/powershell/module/az.kusto/start-azkustocluster #> function Start-AzKustoCluster { [OutputType([System.Boolean])] diff --git a/src/Kusto/exports/Stop-AzKustoCluster.ps1 b/src/Kusto/exports/Stop-AzKustoCluster.ps1 index 164642bc1c05..09f1046b6813 100644 --- a/src/Kusto/exports/Stop-AzKustoCluster.ps1 +++ b/src/Kusto/exports/Stop-AzKustoCluster.ps1 @@ -36,12 +36,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/stop-azkustocluster +https://docs.microsoft.com/powershell/module/az.kusto/stop-azkustocluster #> function Stop-AzKustoCluster { [OutputType([System.Boolean])] diff --git a/src/Kusto/exports/Test-AzKustoClusterNameAvailability.ps1 b/src/Kusto/exports/Test-AzKustoClusterNameAvailability.ps1 index 873a94e04b9f..b1d2acbd766a 100644 --- a/src/Kusto/exports/Test-AzKustoClusterNameAvailability.ps1 +++ b/src/Kusto/exports/Test-AzKustoClusterNameAvailability.ps1 @@ -34,7 +34,7 @@ Message Name NameAvailable Reason .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult .Notes COMPLEX PARAMETER PROPERTIES @@ -46,21 +46,23 @@ 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/test-azkustoclusternameavailability +https://docs.microsoft.com/powershell/module/az.kusto/test-azkustoclusternameavailability #> function Test-AzKustoClusterNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CheckExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] [System.String] - # Azure location. + # Azure location (region) name. ${Location}, [Parameter(ParameterSetName='CheckExpanded')] @@ -84,13 +86,6 @@ param( # Cluster name. ${Name}, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type])] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type] - # The type of resource, Microsoft.Kusto/clusters. - ${Type}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] diff --git a/src/Kusto/exports/Test-AzKustoClusterPrincipalAssignmentNameAvailability.ps1 b/src/Kusto/exports/Test-AzKustoClusterPrincipalAssignmentNameAvailability.ps1 index 8cf599c9c958..ea9ab2f185b5 100644 --- a/src/Kusto/exports/Test-AzKustoClusterPrincipalAssignmentNameAvailability.ps1 +++ b/src/Kusto/exports/Test-AzKustoClusterPrincipalAssignmentNameAvailability.ps1 @@ -34,7 +34,7 @@ Message Name NameAvailable Reason .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult .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/test-azkustoclusterprincipalassignmentnameavailability +https://docs.microsoft.com/powershell/module/az.kusto/test-azkustoclusterprincipalassignmentnameavailability #> function Test-AzKustoClusterPrincipalAssignmentNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CheckExpanded', Mandatory)] @@ -90,13 +92,6 @@ param( # Principal Assignment resource name. ${Name}, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type])] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type] - # The type of resource, Microsoft.Kusto/Clusters/principalAssignments. - ${Type}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] diff --git a/src/Kusto/exports/Test-AzKustoDataConnectionNameAvailability.ps1 b/src/Kusto/exports/Test-AzKustoDataConnectionNameAvailability.ps1 index e35d4dc95e11..e78131760745 100644 --- a/src/Kusto/exports/Test-AzKustoDataConnectionNameAvailability.ps1 +++ b/src/Kusto/exports/Test-AzKustoDataConnectionNameAvailability.ps1 @@ -34,7 +34,7 @@ Message Name NameAvailable Reason .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult .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/test-azkustodataconnectionnameavailability +https://docs.microsoft.com/powershell/module/az.kusto/test-azkustodataconnectionnameavailability #> function Test-AzKustoDataConnectionNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CheckExpanded', Mandatory)] @@ -96,13 +98,6 @@ param( # Data Connection name. ${Name}, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type])] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type] - # The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections. - ${Type}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] diff --git a/src/Kusto/exports/Test-AzKustoDatabaseNameAvailability.ps1 b/src/Kusto/exports/Test-AzKustoDatabaseNameAvailability.ps1 index 50b303688024..8ef9ab1372ae 100644 --- a/src/Kusto/exports/Test-AzKustoDatabaseNameAvailability.ps1 +++ b/src/Kusto/exports/Test-AzKustoDatabaseNameAvailability.ps1 @@ -34,7 +34,7 @@ Message Name NameAvailable Reason .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult .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/test-azkustodatabasenameavailability +https://docs.microsoft.com/powershell/module/az.kusto/test-azkustodatabasenameavailability #> function Test-AzKustoDatabaseNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CheckExpanded', Mandatory)] diff --git a/src/Kusto/exports/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.ps1 b/src/Kusto/exports/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.ps1 index 261cb65d68a4..f40aa70faa56 100644 --- a/src/Kusto/exports/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.ps1 +++ b/src/Kusto/exports/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.ps1 @@ -34,7 +34,7 @@ Message Name NameAvailable Reason .Inputs Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult .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/test-azkustodatabaseprincipalassignmentnameavailability +https://docs.microsoft.com/powershell/module/az.kusto/test-azkustodatabaseprincipalassignmentnameavailability #> function Test-AzKustoDatabasePrincipalAssignmentNameAvailability { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='CheckExpanded', Mandatory)] @@ -96,13 +98,6 @@ param( # Principal Assignment resource name. ${Name}, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type])] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type] - # The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments. - ${Type}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] diff --git a/src/Kusto/exports/Test-AzKustoScriptNameAvailability.ps1 b/src/Kusto/exports/Test-AzKustoScriptNameAvailability.ps1 new file mode 100644 index 000000000000..683938fdaa6a --- /dev/null +++ b/src/Kusto/exports/Test-AzKustoScriptNameAvailability.ps1 @@ -0,0 +1,183 @@ + +# ---------------------------------------------------------------------------------- +# +# 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 +Checks that the script name is valid and is not already in use. +.Description +Checks that the script name is valid and is not already in use. +.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.ICheckNameResult +.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/test-azkustoscriptnameavailability +#> +function Test-AzKustoScriptNameAvailability { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult])] +[CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='CheckExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the Kusto cluster. + ${ClusterName}, + + [Parameter(ParameterSetName='CheckExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the database in the Kusto cluster. + ${DatabaseName}, + + [Parameter(ParameterSetName='CheckExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the resource group containing the Kusto cluster. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='CheckExpanded')] + [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='CheckViaIdentityExpanded', 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(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [System.String] + # Script name. + ${Name}, + + [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 = @{ + CheckExpanded = 'Az.Kusto.private\Test-AzKustoScriptNameAvailability_CheckExpanded'; + CheckViaIdentityExpanded = 'Az.Kusto.private\Test-AzKustoScriptNameAvailability_CheckViaIdentityExpanded'; + } + if (('CheckExpanded') -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/Update-AzKustoCluster.ps1 b/src/Kusto/exports/Update-AzKustoCluster.ps1 index 5d832c086b12..aabaf1eb1fcd 100644 --- a/src/Kusto/exports/Update-AzKustoCluster.ps1 +++ b/src/Kusto/exports/Update-AzKustoCluster.ps1 @@ -34,7 +34,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 @@ -46,21 +46,20 @@ 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. -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/update-azkustocluster +https://docs.microsoft.com/powershell/module/az.kusto/update-azkustocluster #> function Update-AzKustoCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -91,6 +90,14 @@ param( # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, + [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('Body')] [System.Management.Automation.SwitchParameter] @@ -133,7 +140,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}'. @@ -163,13 +170,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.String] @@ -222,14 +222,14 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [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/Update-AzKustoDataConnection.ps1 b/src/Kusto/exports/Update-AzKustoDataConnection.ps1 index 3090da1e8ec9..1215ad08efdc 100644 --- a/src/Kusto/exports/Update-AzKustoDataConnection.ps1 +++ b/src/Kusto/exports/Update-AzKustoDataConnection.ps1 @@ -61,7 +61,7 @@ IotHub East US testnewkustocluster/mykustodatabase/myiothubdc Microsoft.Kusto/C .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 @@ -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/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)] diff --git a/src/Kusto/exports/Update-AzKustoDatabase.ps1 b/src/Kusto/exports/Update-AzKustoDatabase.ps1 index 3411324e78df..728bd1ae3845 100644 --- a/src/Kusto/exports/Update-AzKustoDatabase.ps1 +++ b/src/Kusto/exports/Update-AzKustoDatabase.ps1 @@ -54,7 +54,7 @@ ReadOnlyFollowing East US myfollowercluster/mykustodatabase Microsoft.Kusto/Clu .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 @@ -66,15 +66,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/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)] diff --git a/src/Kusto/exports/Update-AzKustoScript.ps1 b/src/Kusto/exports/Update-AzKustoScript.ps1 new file mode 100644 index 000000000000..ce768fce20ab --- /dev/null +++ b/src/Kusto/exports/Update-AzKustoScript.ps1 @@ -0,0 +1,255 @@ + +# ---------------------------------------------------------------------------------- +# +# 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 +Updates a database script. +.Description +Updates a 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 +.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. + +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/update-azkustoscript +#> +function Update-AzKustoScript { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the Kusto cluster. + ${ClusterName}, + + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the database in the Kusto cluster. + ${DatabaseName}, + + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Alias('ScriptName')] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the Kusto database script. + ${Name}, + + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')] + [System.String] + # The name of the resource group containing the Kusto cluster. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Update')] + [Parameter(ParameterSetName='UpdateExpanded')] + [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='UpdateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', 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(ParameterSetName='Update', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentity', 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='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [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='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [System.String] + # A unique string. + # If changed the script will be applied again. + ${ForceUpdateTag}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] + [System.String] + # The url to the KQL script blob file. + ${ScriptUrl}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [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 = @{ + Update = 'Az.Kusto.private\Update-AzKustoScript_Update'; + UpdateExpanded = 'Az.Kusto.private\Update-AzKustoScript_UpdateExpanded'; + UpdateViaIdentity = 'Az.Kusto.private\Update-AzKustoScript_UpdateViaIdentity'; + UpdateViaIdentityExpanded = 'Az.Kusto.private\Update-AzKustoScript_UpdateViaIdentityExpanded'; + } + if (('Update', 'UpdateExpanded') -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/generate-info.json b/src/Kusto/generate-info.json index 485debba9551..1000f42eff87 100644 --- a/src/Kusto/generate-info.json +++ b/src/Kusto/generate-info.json @@ -1,8 +1,8 @@ { - "node": "v10.16.0", - "autorest_powershell": "3.0.403", + "autorest_core": "3.4.2", + "autorest": "`-- (empty)", + "node": "v14.15.5", + "swagger_commit": "3fb60b76412e88b9b4dceec9723a7d68eba513b4", "autorest_modelerfour": "4.15.414", - "autorest_core": "3.0.6320", - "swagger_commit": "ca0ac888f84b97feaef05fad6632f41ef1a399e6", - "autorest": "3.0.6187" + "autorest_powershell": "3.0.430" } diff --git a/src/Kusto/generated/api/Kusto.cs b/src/Kusto/generated/api/Kusto.cs index f7f03f5fa8d0..c9a2ee65036f 100644 --- a/src/Kusto/generated/api/Kusto.cs +++ b/src/Kusto/generated/api/Kusto.cs @@ -28,15 +28,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsCreateOrUpdate(string resourceGroupName, string clusterName, string attachedDatabaseConfigurationName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsCreateOrUpdate(string resourceGroupName, string clusterName, string attachedDatabaseConfigurationName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -46,19 +46,20 @@ public partial class Kusto + global::System.Uri.EscapeDataString(attachedDatabaseConfigurationName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.AttachedDatabaseConfigurationsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -75,9 +76,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -95,8 +96,8 @@ public partial class Kusto var attachedDatabaseConfigurationName = _match.Groups["attachedDatabaseConfigurationName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -106,19 +107,20 @@ public partial class Kusto + attachedDatabaseConfigurationName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.AttachedDatabaseConfigurationsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -136,22 +138,23 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -177,33 +180,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -218,6 +223,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -246,13 +254,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -281,7 +289,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsCreateOrUpdate_Validate(string resourceGroupName, string clusterName, string attachedDatabaseConfigurationName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsCreateOrUpdate_Validate(string resourceGroupName, string clusterName, string attachedDatabaseConfigurationName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -309,15 +317,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsDelete(string resourceGroupName, string clusterName, string attachedDatabaseConfigurationName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsDelete(string resourceGroupName, string clusterName, string attachedDatabaseConfigurationName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -327,15 +335,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(attachedDatabaseConfigurationName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.AttachedDatabaseConfigurationsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -352,9 +361,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -372,8 +381,8 @@ public partial class Kusto var attachedDatabaseConfigurationName = _match.Groups["attachedDatabaseConfigurationName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -383,15 +392,16 @@ public partial class Kusto + attachedDatabaseConfigurationName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.AttachedDatabaseConfigurationsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -410,15 +420,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -426,7 +437,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -452,33 +463,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -493,6 +506,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -533,7 +549,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -586,15 +602,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsGet(string resourceGroupName, string clusterName, string attachedDatabaseConfigurationName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsGet(string resourceGroupName, string clusterName, string attachedDatabaseConfigurationName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -604,15 +620,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(attachedDatabaseConfigurationName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.AttachedDatabaseConfigurationsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -628,9 +645,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -648,8 +665,8 @@ public partial class Kusto var attachedDatabaseConfigurationName = _match.Groups["attachedDatabaseConfigurationName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -659,15 +676,16 @@ public partial class Kusto + attachedDatabaseConfigurationName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.AttachedDatabaseConfigurationsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -683,15 +701,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -700,13 +719,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfiguration.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -760,15 +779,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsListByCluster(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsListByCluster(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -777,15 +796,16 @@ public partial class Kusto + "/attachedDatabaseConfigurations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.AttachedDatabaseConfigurationsListByCluster_Call(request,onOk,onDefault,eventListener,sender); } @@ -803,9 +823,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsListByClusterViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsListByClusterViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -822,8 +842,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -832,15 +852,16 @@ public partial class Kusto + "/attachedDatabaseConfigurations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.AttachedDatabaseConfigurationsListByCluster_Call(request,onOk,onDefault,eventListener,sender); } @@ -858,15 +879,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsListByCluster_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AttachedDatabaseConfigurationsListByCluster_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -875,13 +897,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfigurationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfigurationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -932,15 +954,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCheckNameAvailability(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCheckNameAvailability(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -949,19 +971,20 @@ public partial class Kusto + "/checkPrincipalAssignmentNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClusterPrincipalAssignmentsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } @@ -978,9 +1001,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -997,8 +1020,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -1007,19 +1030,20 @@ public partial class Kusto + "/checkPrincipalAssignmentNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClusterPrincipalAssignmentsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } @@ -1037,15 +1061,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -1054,13 +1079,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1088,7 +1113,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCheckNameAvailability_Validate(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCheckNameAvailability_Validate(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -1115,15 +1140,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCreateOrUpdate(string subscriptionId, string resourceGroupName, string clusterName, string principalAssignmentName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCreateOrUpdate(string subscriptionId, string resourceGroupName, string clusterName, string principalAssignmentName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -1133,19 +1158,20 @@ public partial class Kusto + global::System.Uri.EscapeDataString(principalAssignmentName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClusterPrincipalAssignmentsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -1162,9 +1188,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1182,8 +1208,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var principalAssignmentName = _match.Groups["principalAssignmentName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -1193,19 +1219,20 @@ public partial class Kusto + principalAssignmentName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClusterPrincipalAssignmentsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -1223,22 +1250,23 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -1264,33 +1292,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -1305,6 +1335,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -1333,13 +1366,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignment.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignment.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1368,7 +1401,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterName, string principalAssignmentName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterName, string principalAssignmentName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -1396,15 +1429,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsDelete(string subscriptionId, string resourceGroupName, string clusterName, string principalAssignmentName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsDelete(string subscriptionId, string resourceGroupName, string clusterName, string principalAssignmentName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -1414,15 +1447,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(principalAssignmentName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClusterPrincipalAssignmentsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -1439,9 +1473,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1459,8 +1493,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var principalAssignmentName = _match.Groups["principalAssignmentName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -1470,15 +1504,16 @@ public partial class Kusto + principalAssignmentName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClusterPrincipalAssignmentsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -1495,15 +1530,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -1511,7 +1547,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -1537,33 +1573,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -1578,6 +1616,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -1618,7 +1659,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1671,15 +1712,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsGet(string subscriptionId, string resourceGroupName, string clusterName, string principalAssignmentName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsGet(string subscriptionId, string resourceGroupName, string clusterName, string principalAssignmentName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -1689,15 +1730,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(principalAssignmentName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClusterPrincipalAssignmentsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -1713,9 +1755,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1733,8 +1775,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var principalAssignmentName = _match.Groups["principalAssignmentName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -1744,15 +1786,16 @@ public partial class Kusto + principalAssignmentName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClusterPrincipalAssignmentsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -1768,15 +1811,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -1785,13 +1829,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignment.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignment.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1843,15 +1887,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsList(string subscriptionId, string resourceGroupName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsList(string subscriptionId, string resourceGroupName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -1860,15 +1904,16 @@ public partial class Kusto + "/principalAssignments" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClusterPrincipalAssignmentsList_Call(request,onOk,onDefault,eventListener,sender); } @@ -1884,9 +1929,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1903,8 +1948,8 @@ public partial class Kusto var resourceGroupName = _match.Groups["resourceGroupName"].Value; var clusterName = _match.Groups["clusterName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -1913,15 +1958,16 @@ public partial class Kusto + "/principalAssignments" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClusterPrincipalAssignmentsList_Call(request,onOk,onDefault,eventListener,sender); } @@ -1937,15 +1983,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPrincipalAssignmentsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -1954,13 +2001,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignmentListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignmentListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2011,15 +2058,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersAddLanguageExtensions(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersAddLanguageExtensions(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -2028,19 +2075,20 @@ public partial class Kusto + "/addLanguageExtensions" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersAddLanguageExtensions_Call(request,onOk,onDefault,eventListener,sender); } @@ -2057,9 +2105,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersAddLanguageExtensionsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersAddLanguageExtensionsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2076,8 +2124,8 @@ public partial class Kusto var resourceGroupName = _match.Groups["resourceGroupName"].Value; var clusterName = _match.Groups["clusterName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -2086,19 +2134,20 @@ public partial class Kusto + "/addLanguageExtensions" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersAddLanguageExtensions_Call(request,onOk,onDefault,eventListener,sender); } @@ -2114,15 +2163,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersAddLanguageExtensions_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersAddLanguageExtensions_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -2130,7 +2180,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -2156,33 +2206,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -2197,6 +2249,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -2231,7 +2286,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2259,7 +2314,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersAddLanguageExtensions_Validate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersAddLanguageExtensions_Validate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2274,7 +2329,7 @@ public partial class Kusto /// Checks that the cluster name is valid and is not already in use. /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription /// ID forms part of the URI for every service call. - /// Azure location. + /// Azure location (region) name. /// The name of the cluster. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -2284,34 +2339,35 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersCheckNameAvailability(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersCheckNameAvailability(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/providers/Microsoft.Kusto/locations/" + global::System.Uri.EscapeDataString(location) + "/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } @@ -2328,9 +2384,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2346,27 +2402,28 @@ public partial class Kusto var subscriptionId = _match.Groups["subscriptionId"].Value; var location = _match.Groups["location"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/providers/Microsoft.Kusto/locations/" + location + "/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } @@ -2382,15 +2439,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -2399,13 +2457,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2426,13 +2484,13 @@ public partial class Kusto /// /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription /// ID forms part of the URI for every service call. - /// Azure location. + /// Azure location (region) name. /// The name of the cluster. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersCheckNameAvailability_Validate(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersCheckNameAvailability_Validate(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2446,6 +2504,10 @@ public partial class Kusto /// Create or update a Kusto cluster. /// The name of the resource group containing the Kusto cluster. /// The name of the Kusto cluster. + /// 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. + /// 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. /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription /// ID forms part of the URI for every service call. /// The Kusto cluster parameters supplied to the CreateOrUpdate operation. @@ -2457,15 +2519,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersCreateOrUpdate(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersCreateOrUpdate(string resourceGroupName, string clusterName, string ifMatch, string ifNoneMatch, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -2473,19 +2535,30 @@ public partial class Kusto + global::System.Uri.EscapeDataString(clusterName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // add headers parameters + if (null != ifMatch) + { + request.Headers.Add("If-Match",ifMatch); + } + if (null != ifNoneMatch) + { + request.Headers.Add("If-None-Match",ifNoneMatch); + } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -2493,6 +2566,10 @@ public partial class Kusto /// Create or update a Kusto cluster. /// + /// 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. + /// 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. /// The Kusto cluster parameters supplied to the CreateOrUpdate operation. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -2502,9 +2579,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersCreateOrUpdateViaIdentity(global::System.String viaIdentity, string ifMatch, string ifNoneMatch, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2521,8 +2598,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -2530,19 +2607,30 @@ public partial class Kusto + clusterName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // add headers parameters + if (null != ifMatch) + { + request.Headers.Add("If-Match",ifMatch); + } + if (null != ifNoneMatch) + { + request.Headers.Add("If-None-Match",ifNoneMatch); + } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -2558,22 +2646,23 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -2599,33 +2688,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -2640,6 +2731,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -2668,13 +2762,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2695,6 +2789,10 @@ public partial class Kusto /// /// The name of the resource group containing the Kusto cluster. /// The name of the Kusto cluster. + /// 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. + /// 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. /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription /// ID forms part of the URI for every service call. /// The Kusto cluster parameters supplied to the CreateOrUpdate operation. @@ -2702,12 +2800,14 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersCreateOrUpdate_Validate(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersCreateOrUpdate_Validate(string resourceGroupName, string clusterName, string ifMatch, string ifNoneMatch, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertNotNull(nameof(clusterName),clusterName); + await eventListener.AssertNotNull(nameof(ifMatch),ifMatch); + await eventListener.AssertNotNull(nameof(ifNoneMatch),ifNoneMatch); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); @@ -2728,15 +2828,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersDelete(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersDelete(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -2744,15 +2844,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(clusterName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -2769,9 +2870,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2788,8 +2889,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -2797,15 +2898,16 @@ public partial class Kusto + clusterName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -2822,15 +2924,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -2838,7 +2941,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -2864,33 +2967,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -2905,6 +3010,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -2945,7 +3053,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2996,15 +3104,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersDetachFollowerDatabases(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersDetachFollowerDatabases(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -3013,19 +3121,20 @@ public partial class Kusto + "/detachFollowerDatabases" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersDetachFollowerDatabases_Call(request,onOk,onDefault,eventListener,sender); } @@ -3042,9 +3151,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersDetachFollowerDatabasesViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersDetachFollowerDatabasesViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3061,8 +3170,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -3071,19 +3180,20 @@ public partial class Kusto + "/detachFollowerDatabases" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersDetachFollowerDatabases_Call(request,onOk,onDefault,eventListener,sender); } @@ -3099,15 +3209,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersDetachFollowerDatabases_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersDetachFollowerDatabases_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -3115,7 +3226,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -3141,33 +3252,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -3182,6 +3295,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -3216,7 +3332,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -3244,7 +3360,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersDetachFollowerDatabases_Validate(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersDetachFollowerDatabases_Validate(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3271,15 +3387,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersDiagnoseVirtualNetwork(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersDiagnoseVirtualNetwork(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -3288,15 +3404,16 @@ public partial class Kusto + "/diagnoseVirtualNetwork" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersDiagnoseVirtualNetwork_Call(request,onOk,onDefault,eventListener,sender); } @@ -3314,9 +3431,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersDiagnoseVirtualNetworkViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersDiagnoseVirtualNetworkViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3333,8 +3450,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -3343,15 +3460,16 @@ public partial class Kusto + "/diagnoseVirtualNetwork" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersDiagnoseVirtualNetwork_Call(request,onOk,onDefault,eventListener,sender); } @@ -3367,15 +3485,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersDiagnoseVirtualNetwork_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersDiagnoseVirtualNetwork_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -3383,7 +3502,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -3409,33 +3528,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -3450,6 +3571,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -3475,13 +3599,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DiagnoseVirtualNetworkResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DiagnoseVirtualNetworkResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -3531,15 +3655,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersGet(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersGet(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -3547,15 +3671,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(clusterName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -3571,9 +3696,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3590,8 +3715,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -3599,15 +3724,16 @@ public partial class Kusto + clusterName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -3623,15 +3749,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -3640,13 +3767,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -3694,28 +3821,29 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersList(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersList(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/providers/Microsoft.Kusto/clusters" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersList_Call(request,onOk,onDefault,eventListener,sender); } @@ -3733,30 +3861,31 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListByResourceGroup(string resourceGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListByResourceGroup(string resourceGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.Kusto/clusters" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersListByResourceGroup_Call(request,onOk,onDefault,eventListener,sender); } @@ -3772,9 +3901,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3790,23 +3919,24 @@ public partial class Kusto var resourceGroupName = _match.Groups["resourceGroupName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName + "/providers/Microsoft.Kusto/clusters" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersListByResourceGroup_Call(request,onOk,onDefault,eventListener,sender); } @@ -3822,15 +3952,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -3839,13 +3970,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -3895,15 +4026,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListFollowerDatabases(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListFollowerDatabases(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -3912,15 +4043,16 @@ public partial class Kusto + "/listFollowerDatabases" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersListFollowerDatabases_Call(request,onOk,onDefault,eventListener,sender); } @@ -3938,9 +4070,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListFollowerDatabasesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListFollowerDatabasesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3957,8 +4089,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -3967,15 +4099,16 @@ public partial class Kusto + "/listFollowerDatabases" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersListFollowerDatabases_Call(request,onOk,onDefault,eventListener,sender); } @@ -3991,15 +4124,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListFollowerDatabases_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListFollowerDatabases_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -4008,13 +4142,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.FollowerDatabaseListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.FollowerDatabaseListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4064,15 +4198,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListLanguageExtensions(string subscriptionId, string resourceGroupName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListLanguageExtensions(string subscriptionId, string resourceGroupName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -4081,15 +4215,16 @@ public partial class Kusto + "/listLanguageExtensions" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersListLanguageExtensions_Call(request,onOk,onDefault,eventListener,sender); } @@ -4105,9 +4240,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListLanguageExtensionsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListLanguageExtensionsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4124,8 +4259,8 @@ public partial class Kusto var resourceGroupName = _match.Groups["resourceGroupName"].Value; var clusterName = _match.Groups["clusterName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -4134,15 +4269,16 @@ public partial class Kusto + "/listLanguageExtensions" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersListLanguageExtensions_Call(request,onOk,onDefault,eventListener,sender); } @@ -4158,15 +4294,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListLanguageExtensions_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListLanguageExtensions_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -4175,13 +4312,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4229,28 +4366,29 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListSkus(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListSkus(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/providers/Microsoft.Kusto/skus" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersListSkus_Call(request,onOk,onDefault,eventListener,sender); } @@ -4269,15 +4407,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListSkusByResource(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListSkusByResource(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -4286,15 +4424,16 @@ public partial class Kusto + "/skus" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersListSkusByResource_Call(request,onOk,onDefault,eventListener,sender); } @@ -4310,9 +4449,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListSkusByResourceViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListSkusByResourceViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4329,8 +4468,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -4339,15 +4478,16 @@ public partial class Kusto + "/skus" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersListSkusByResource_Call(request,onOk,onDefault,eventListener,sender); } @@ -4363,15 +4503,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListSkusByResource_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListSkusByResource_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -4380,13 +4521,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ListResourceSkusResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ListResourceSkusResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4433,9 +4574,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListSkusViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListSkusViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4450,21 +4591,22 @@ public partial class Kusto // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/providers/Microsoft.Kusto/skus" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersListSkus_Call(request,onOk,onDefault,eventListener,sender); } @@ -4480,15 +4622,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListSkus_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListSkus_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -4497,13 +4640,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuDescriptionList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuDescriptionList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4546,9 +4689,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4563,21 +4706,22 @@ public partial class Kusto // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/providers/Microsoft.Kusto/clusters" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersList_Call(request,onOk,onDefault,eventListener,sender); } @@ -4593,15 +4737,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -4610,13 +4755,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4663,15 +4808,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersRemoveLanguageExtensions(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersRemoveLanguageExtensions(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -4680,19 +4825,20 @@ public partial class Kusto + "/removeLanguageExtensions" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersRemoveLanguageExtensions_Call(request,onOk,onDefault,eventListener,sender); } @@ -4709,9 +4855,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersRemoveLanguageExtensionsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersRemoveLanguageExtensionsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4728,8 +4874,8 @@ public partial class Kusto var resourceGroupName = _match.Groups["resourceGroupName"].Value; var clusterName = _match.Groups["clusterName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -4738,19 +4884,20 @@ public partial class Kusto + "/removeLanguageExtensions" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersRemoveLanguageExtensions_Call(request,onOk,onDefault,eventListener,sender); } @@ -4766,15 +4913,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersRemoveLanguageExtensions_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersRemoveLanguageExtensions_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -4782,7 +4930,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -4808,33 +4956,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -4849,6 +4999,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -4883,7 +5036,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4911,7 +5064,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersRemoveLanguageExtensions_Validate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersRemoveLanguageExtensions_Validate(string subscriptionId, string resourceGroupName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4936,15 +5089,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersStart(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersStart(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -4953,15 +5106,16 @@ public partial class Kusto + "/start" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersStart_Call(request,onOk,onDefault,eventListener,sender); } @@ -4977,9 +5131,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersStartViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersStartViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4996,8 +5150,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -5006,15 +5160,16 @@ public partial class Kusto + "/start" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersStart_Call(request,onOk,onDefault,eventListener,sender); } @@ -5030,15 +5185,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersStart_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersStart_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -5046,7 +5202,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -5072,33 +5228,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -5113,6 +5271,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -5147,7 +5308,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5197,15 +5358,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersStop(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersStop(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -5214,15 +5375,16 @@ public partial class Kusto + "/stop" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersStop_Call(request,onOk,onDefault,eventListener,sender); } @@ -5238,9 +5400,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersStopViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersStopViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5257,8 +5419,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -5267,15 +5429,16 @@ public partial class Kusto + "/stop" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersStop_Call(request,onOk,onDefault,eventListener,sender); } @@ -5291,15 +5454,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersStop_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersStop_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -5307,7 +5471,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -5333,33 +5497,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -5374,6 +5540,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -5408,7 +5577,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5448,6 +5617,8 @@ public partial class Kusto /// Update a Kusto cluster. /// The name of the resource group containing the Kusto cluster. /// The name of the Kusto cluster. + /// 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. /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription /// ID forms part of the URI for every service call. /// The Kusto cluster parameters supplied to the Update operation. @@ -5459,15 +5630,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersUpdate(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersUpdate(string resourceGroupName, string clusterName, string ifMatch, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -5475,19 +5646,26 @@ public partial class Kusto + global::System.Uri.EscapeDataString(clusterName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // add headers parameters + if (null != ifMatch) + { + request.Headers.Add("If-Match",ifMatch); + } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -5495,6 +5673,8 @@ public partial class Kusto /// Update a Kusto cluster. /// + /// 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. /// The Kusto cluster parameters supplied to the Update operation. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5504,9 +5684,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersUpdateViaIdentity(global::System.String viaIdentity, string ifMatch, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5523,8 +5703,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -5532,19 +5712,26 @@ public partial class Kusto + clusterName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // add headers parameters + if (null != ifMatch) + { + request.Headers.Add("If-Match",ifMatch); + } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.ClustersUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -5560,22 +5747,23 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -5601,33 +5789,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -5642,6 +5832,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -5670,13 +5863,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5697,6 +5890,8 @@ public partial class Kusto /// /// The name of the resource group containing the Kusto cluster. /// The name of the Kusto cluster. + /// 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. /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription /// ID forms part of the URI for every service call. /// The Kusto cluster parameters supplied to the Update operation. @@ -5704,12 +5899,13 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersUpdate_Validate(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersUpdate_Validate(string resourceGroupName, string clusterName, string ifMatch, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertNotNull(nameof(clusterName),clusterName); + await eventListener.AssertNotNull(nameof(ifMatch),ifMatch); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); @@ -5731,15 +5927,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsCheckNameAvailability(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsCheckNameAvailability(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -5750,19 +5946,20 @@ public partial class Kusto + "/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } @@ -5779,9 +5976,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5799,8 +5996,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -5811,19 +6008,20 @@ public partial class Kusto + "/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } @@ -5841,15 +6039,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DataConnectionsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -5858,13 +6057,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5893,7 +6092,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsCheckNameAvailability_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DataConnectionsCheckNameAvailability_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5922,15 +6121,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsCreateOrUpdate(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsCreateOrUpdate(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -5942,19 +6141,20 @@ public partial class Kusto + global::System.Uri.EscapeDataString(dataConnectionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -5971,9 +6171,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5992,8 +6192,8 @@ public partial class Kusto var dataConnectionName = _match.Groups["dataConnectionName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -6005,19 +6205,20 @@ public partial class Kusto + dataConnectionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -6033,22 +6234,23 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DataConnectionsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -6074,33 +6276,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -6115,6 +6319,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -6143,13 +6350,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6179,7 +6386,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsCreateOrUpdate_Validate(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DataConnectionsCreateOrUpdate_Validate(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -6208,15 +6415,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsDataConnectionValidation(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsDataConnectionValidation(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -6227,19 +6434,20 @@ public partial class Kusto + "/dataConnectionValidation" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsDataConnectionValidation_Call(request,onOk,onDefault,eventListener,sender); } @@ -6256,9 +6464,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsDataConnectionValidationViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsDataConnectionValidationViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6276,8 +6484,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -6288,19 +6496,20 @@ public partial class Kusto + "/dataConnectionValidation" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsDataConnectionValidation_Call(request,onOk,onDefault,eventListener,sender); } @@ -6318,15 +6527,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsDataConnectionValidation_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DataConnectionsDataConnectionValidation_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -6334,7 +6544,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -6360,33 +6570,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -6401,6 +6613,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -6426,13 +6641,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6461,7 +6676,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsDataConnectionValidation_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DataConnectionsDataConnectionValidation_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -6490,15 +6705,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsDelete(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsDelete(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -6510,15 +6725,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(dataConnectionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -6535,9 +6751,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6556,8 +6772,8 @@ public partial class Kusto var dataConnectionName = _match.Groups["dataConnectionName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -6569,15 +6785,16 @@ public partial class Kusto + dataConnectionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -6594,15 +6811,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DataConnectionsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -6610,7 +6828,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -6636,33 +6854,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -6677,6 +6897,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -6717,7 +6940,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6773,15 +6996,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsGet(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsGet(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -6793,15 +7016,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(dataConnectionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -6817,9 +7041,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6838,8 +7062,8 @@ public partial class Kusto var dataConnectionName = _match.Groups["dataConnectionName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -6851,15 +7075,16 @@ public partial class Kusto + dataConnectionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -6875,15 +7100,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DataConnectionsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -6892,13 +7118,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6953,15 +7179,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsListByDatabase(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsListByDatabase(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -6972,15 +7198,16 @@ public partial class Kusto + "/dataConnections" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsListByDatabase_Call(request,onOk,onDefault,eventListener,sender); } @@ -6996,9 +7223,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsListByDatabaseViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsListByDatabaseViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7016,8 +7243,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -7028,15 +7255,16 @@ public partial class Kusto + "/dataConnections" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsListByDatabase_Call(request,onOk,onDefault,eventListener,sender); } @@ -7052,15 +7280,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsListByDatabase_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DataConnectionsListByDatabase_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -7069,13 +7298,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7130,15 +7359,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsUpdate(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsUpdate(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -7150,19 +7379,20 @@ public partial class Kusto + global::System.Uri.EscapeDataString(dataConnectionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -7179,9 +7409,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataConnectionsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataConnectionsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7200,8 +7430,8 @@ public partial class Kusto var dataConnectionName = _match.Groups["dataConnectionName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -7213,19 +7443,20 @@ public partial class Kusto + dataConnectionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DataConnectionsUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -7241,22 +7472,23 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DataConnectionsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -7282,33 +7514,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -7323,6 +7557,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -7351,13 +7588,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7387,7 +7624,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataConnectionsUpdate_Validate(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DataConnectionsUpdate_Validate(string resourceGroupName, string clusterName, string databaseName, string dataConnectionName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7418,15 +7655,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCheckNameAvailability(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCheckNameAvailability(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -7437,19 +7674,20 @@ public partial class Kusto + "/checkPrincipalAssignmentNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasePrincipalAssignmentsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } @@ -7468,9 +7706,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7488,8 +7726,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -7500,19 +7738,20 @@ public partial class Kusto + "/checkPrincipalAssignmentNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasePrincipalAssignmentsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } @@ -7530,15 +7769,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -7547,13 +7787,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7582,7 +7822,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCheckNameAvailability_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCheckNameAvailability_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7611,15 +7851,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCreateOrUpdate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string principalAssignmentName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCreateOrUpdate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string principalAssignmentName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -7631,19 +7871,20 @@ public partial class Kusto + global::System.Uri.EscapeDataString(principalAssignmentName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasePrincipalAssignmentsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -7660,9 +7901,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7681,8 +7922,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var principalAssignmentName = _match.Groups["principalAssignmentName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -7694,19 +7935,20 @@ public partial class Kusto + principalAssignmentName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasePrincipalAssignmentsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -7724,22 +7966,23 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -7765,33 +8008,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -7806,6 +8051,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -7834,13 +8082,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignment.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignment.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7870,7 +8118,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string principalAssignmentName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string principalAssignmentName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7900,15 +8148,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsDelete(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string principalAssignmentName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsDelete(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string principalAssignmentName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -7920,15 +8168,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(principalAssignmentName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasePrincipalAssignmentsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -7945,9 +8194,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7966,8 +8215,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var principalAssignmentName = _match.Groups["principalAssignmentName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -7979,15 +8228,16 @@ public partial class Kusto + principalAssignmentName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasePrincipalAssignmentsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -8004,15 +8254,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -8020,7 +8271,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -8046,33 +8297,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -8087,6 +8340,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -8127,7 +8383,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8183,15 +8439,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsGet(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string principalAssignmentName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsGet(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string principalAssignmentName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -8203,15 +8459,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(principalAssignmentName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasePrincipalAssignmentsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -8227,9 +8484,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8248,8 +8505,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var principalAssignmentName = _match.Groups["principalAssignmentName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -8261,15 +8518,16 @@ public partial class Kusto + principalAssignmentName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasePrincipalAssignmentsGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -8285,15 +8543,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -8302,13 +8561,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignment.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignment.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8363,15 +8622,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsList(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsList(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -8382,15 +8641,16 @@ public partial class Kusto + "/principalAssignments" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasePrincipalAssignmentsList_Call(request,onOk,onDefault,eventListener,sender); } @@ -8406,9 +8666,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8426,8 +8686,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var databaseName = _match.Groups["databaseName"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -8438,15 +8698,16 @@ public partial class Kusto + "/principalAssignments" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasePrincipalAssignmentsList_Call(request,onOk,onDefault,eventListener,sender); } @@ -8462,15 +8723,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasePrincipalAssignmentsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -8479,13 +8741,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignmentListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignmentListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8539,15 +8801,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesAddPrincipals(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesAddPrincipals(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -8558,19 +8820,20 @@ public partial class Kusto + "/addPrincipals" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesAddPrincipals_Call(request,onOk,onDefault,eventListener,sender); } @@ -8587,9 +8850,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesAddPrincipalsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesAddPrincipalsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8607,8 +8870,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -8619,19 +8882,20 @@ public partial class Kusto + "/addPrincipals" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesAddPrincipals_Call(request,onOk,onDefault,eventListener,sender); } @@ -8647,15 +8911,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesAddPrincipals_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasesAddPrincipals_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -8664,13 +8929,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8699,7 +8964,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesAddPrincipals_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DatabasesAddPrincipals_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -8726,15 +8991,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesCheckNameAvailability(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesCheckNameAvailability(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -8743,19 +9008,20 @@ public partial class Kusto + "/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } @@ -8772,9 +9038,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8791,8 +9057,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -8801,19 +9067,20 @@ public partial class Kusto + "/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } @@ -8829,15 +9096,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasesCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -8846,13 +9114,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8880,7 +9148,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesCheckNameAvailability_Validate(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DatabasesCheckNameAvailability_Validate(string resourceGroupName, string clusterName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -8907,15 +9175,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesCreateOrUpdate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesCreateOrUpdate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -8925,19 +9193,20 @@ public partial class Kusto + global::System.Uri.EscapeDataString(databaseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -8954,9 +9223,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8974,8 +9243,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -8985,19 +9254,20 @@ public partial class Kusto + databaseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -9013,22 +9283,23 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasesCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -9054,33 +9325,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -9095,6 +9368,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -9123,13 +9399,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9158,7 +9434,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesCreateOrUpdate_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DatabasesCreateOrUpdate_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -9186,15 +9462,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesDelete(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesDelete(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -9204,15 +9480,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(databaseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -9229,9 +9506,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9249,8 +9526,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -9260,15 +9537,16 @@ public partial class Kusto + databaseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } @@ -9285,15 +9563,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; @@ -9301,7 +9580,7 @@ public partial class Kusto var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -9327,33 +9606,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -9368,6 +9649,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -9408,7 +9692,7 @@ public partial class Kusto default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9461,15 +9745,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesGet(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesGet(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -9479,15 +9763,16 @@ public partial class Kusto + global::System.Uri.EscapeDataString(databaseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -9503,9 +9788,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9523,8 +9808,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -9534,15 +9819,16 @@ public partial class Kusto + databaseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesGet_Call(request,onOk,onDefault,eventListener,sender); } @@ -9558,15 +9844,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -9575,13 +9862,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9633,15 +9920,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesListByCluster(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesListByCluster(string resourceGroupName, string clusterName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -9650,15 +9937,16 @@ public partial class Kusto + "/databases" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesListByCluster_Call(request,onOk,onDefault,eventListener,sender); } @@ -9674,9 +9962,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesListByClusterViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesListByClusterViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9693,8 +9981,8 @@ public partial class Kusto var clusterName = _match.Groups["clusterName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -9703,15 +9991,16 @@ public partial class Kusto + "/databases" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesListByCluster_Call(request,onOk,onDefault,eventListener,sender); } @@ -9727,15 +10016,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesListByCluster_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasesListByCluster_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -9744,13 +10034,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9801,15 +10091,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesListPrincipals(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesListPrincipals(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -9820,15 +10110,16 @@ public partial class Kusto + "/listPrincipals" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesListPrincipals_Call(request,onOk,onDefault,eventListener,sender); } @@ -9844,9 +10135,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesListPrincipalsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesListPrincipalsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9864,8 +10155,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -9876,15 +10167,16 @@ public partial class Kusto + "/listPrincipals" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesListPrincipals_Call(request,onOk,onDefault,eventListener,sender); } @@ -9900,15 +10192,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesListPrincipals_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasesListPrincipals_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -9917,13 +10210,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9977,15 +10270,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesRemovePrincipals(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesRemovePrincipals(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -9996,19 +10289,20 @@ public partial class Kusto + "/removePrincipals" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesRemovePrincipals_Call(request,onOk,onDefault,eventListener,sender); } @@ -10025,9 +10319,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesRemovePrincipalsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesRemovePrincipalsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10045,8 +10339,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -10057,19 +10351,20 @@ public partial class Kusto + "/removePrincipals" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesRemovePrincipals_Call(request,onOk,onDefault,eventListener,sender); } @@ -10085,15 +10380,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesRemovePrincipals_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasesRemovePrincipals_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -10102,13 +10398,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10137,7 +10433,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesRemovePrincipals_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DatabasesRemovePrincipals_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -10165,15 +10461,15 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesUpdate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesUpdate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) @@ -10183,19 +10479,20 @@ public partial class Kusto + global::System.Uri.EscapeDataString(databaseName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -10212,9 +10509,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DatabasesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DatabasesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10232,8 +10529,8 @@ public partial class Kusto var databaseName = _match.Groups["databaseName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/subscriptions/" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName @@ -10243,19 +10540,20 @@ public partial class Kusto + databaseName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.DatabasesUpdate_Call(request,onOk,onDefault,eventListener,sender); } @@ -10271,22 +10569,23 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DatabasesUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); - while (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // get the delay before polling. (default to 30 seconds if not present) @@ -10312,33 +10611,35 @@ public partial class Kusto // check for cancellation if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polling {_uri}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } // drop the old response _response?.Dispose(); // make the polling call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) { + var error = false; try { if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); if( state is null ) { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, $"Polled {_uri} provisioning state {state}.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } switch( state?.ToString()?.ToLower() ) { - case "succeeded": case "failed": + error = true; + break; + case "succeeded": case "canceled": // we're done polling. break; @@ -10353,6 +10654,9 @@ public partial class Kusto // if we run into a problem peeking into the result, // we really don't want to do anything special. } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } } // check for terminal status code @@ -10381,13 +10685,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10416,7 +10720,7 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DatabasesUpdate_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DatabasesUpdate_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -10438,26 +10742,27 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/providers/Microsoft.Kusto/operations" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/providers/Microsoft.Kusto/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.OperationsList_Call(request,onOk,onDefault,eventListener,sender); } @@ -10473,9 +10778,9 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { - var apiVersion = @"2020-09-18"; + var apiVersion = @"2021-01-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10489,19 +10794,20 @@ public partial class Kusto // replace URI parameters with values from identity // construct URL - var _url = new global::System.Uri(global::System.Text.RegularExpressions.Regex.Replace( - "https://management.azure.com/providers/Microsoft.Kusto/operations" + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/providers/Microsoft.Kusto/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2")); + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded, _url); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call await this.OperationsList_Call(request,onOk,onDefault,eventListener,sender); } @@ -10517,15 +10823,16 @@ public partial class Kusto /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task OperationsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task OperationsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { global::System.Net.Http.HttpResponseMessage _response = null; try { + var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sender.SendAsync(request, eventListener); + _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -10534,13 +10841,13 @@ public partial class Kusto case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10570,5 +10877,1608 @@ public partial class Kusto } } + + /// Returns operation results. + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// Azure location (region) name. + /// The Guid of the operation ID + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task OperationsResultsGet(string subscriptionId, string location, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.Kusto/locations/" + + global::System.Uri.EscapeDataString(location) + + "/operationresults/" + + global::System.Uri.EscapeDataString(operationId) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.OperationsResultsGet_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Returns operation results. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task OperationsResultsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.Kusto/locations/(?[^/]+)/operationresults/(?[^/]+)$").Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/operationresults/{operationId}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; + var operationId = _match.Groups["operationId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/providers/Microsoft.Kusto/locations/" + + location + + "/operationresults/" + + operationId + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.OperationsResultsGet_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task OperationsResultsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// Azure location (region) name. + /// The Guid of the operation ID + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task OperationsResultsGet_Validate(string subscriptionId, string location, string operationId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertNotNull(nameof(operationId),operationId); + } + } + + /// Checks that the script name is valid and is not already in use. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the script. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsCheckNameAvailability(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Kusto/Clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/Databases/" + + global::System.Uri.EscapeDataString(databaseName) + + "/scriptsCheckNameAvailability" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Checks that the script name is valid and is not already in use. + /// + /// The name of the script. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Kusto/Clusters/(?[^/]+)/Databases/(?[^/]+)$").Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scriptsCheckNameAvailability'"); + } + + // replace URI parameters with values from identity + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterName = _match.Groups["clusterName"].Value; + var databaseName = _match.Groups["databaseName"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Kusto/Clusters/" + + clusterName + + "/Databases/" + + databaseName + + "/scriptsCheckNameAvailability" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. + /// + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the script. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsCheckNameAvailability_Validate(string resourceGroupName, string clusterName, string databaseName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertNotNull(nameof(clusterName),clusterName); + await eventListener.AssertNotNull(nameof(databaseName),databaseName); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// Creates a Kusto database script. + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// The name of the Kusto database script. + /// The Kusto Script parameters contains the KQL to run. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsCreateOrUpdate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string scriptName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Kusto/Clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/Databases/" + + global::System.Uri.EscapeDataString(databaseName) + + "/scripts/" + + global::System.Uri.EscapeDataString(scriptName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Creates a Kusto database script. + /// + /// The Kusto Script parameters contains the KQL to run. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Kusto/Clusters/(?[^/]+)/Databases/(?[^/]+)/scripts/(?[^/]+)$").Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterName = _match.Groups["clusterName"].Value; + var databaseName = _match.Groups["databaseName"].Value; + var scriptName = _match.Groups["scriptName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Kusto/Clusters/" + + clusterName + + "/Databases/" + + databaseName + + "/scripts/" + + scriptName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + + // get the delay before polling. (default to 30 seconds if not present) + int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // start the delay timer (we'll await later...) + var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + await waiting; + + // check for cancellation + if( eventListener.Token.IsCancellationRequested ) { return; } + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + break; + } + } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Script.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// The name of the Kusto database script. + /// The Kusto Script parameters contains the KQL to run. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string scriptName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertNotNull(nameof(clusterName),clusterName); + await eventListener.AssertNotNull(nameof(databaseName),databaseName); + await eventListener.AssertNotNull(nameof(scriptName),scriptName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// Deletes a Kusto principalAssignment. + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// The name of the Kusto database script. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsDelete(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string scriptName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Kusto/Clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/Databases/" + + global::System.Uri.EscapeDataString(databaseName) + + "/scripts/" + + global::System.Uri.EscapeDataString(scriptName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); + } + } + + /// Deletes a Kusto principalAssignment. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Kusto/Clusters/(?[^/]+)/Databases/(?[^/]+)/scripts/(?[^/]+)$").Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterName = _match.Groups["clusterName"].Value; + var databaseName = _match.Groups["databaseName"].Value; + var scriptName = _match.Groups["scriptName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Kusto/Clusters/" + + clusterName + + "/Databases/" + + databaseName + + "/scripts/" + + scriptName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + + // get the delay before polling. (default to 30 seconds if not present) + int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // start the delay timer (we'll await later...) + var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + await waiting; + + // check for cancellation + if( eventListener.Token.IsCancellationRequested ) { return; } + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + break; + } + } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// The name of the Kusto database script. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsDelete_Validate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string scriptName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertNotNull(nameof(clusterName),clusterName); + await eventListener.AssertNotNull(nameof(databaseName),databaseName); + await eventListener.AssertNotNull(nameof(scriptName),scriptName); + } + } + + /// Gets a Kusto cluster database script. + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// The name of the Kusto database script. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsGet(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string scriptName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Kusto/Clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/Databases/" + + global::System.Uri.EscapeDataString(databaseName) + + "/scripts/" + + global::System.Uri.EscapeDataString(scriptName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsGet_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Gets a Kusto cluster database script. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Kusto/Clusters/(?[^/]+)/Databases/(?[^/]+)/scripts/(?[^/]+)$").Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterName = _match.Groups["clusterName"].Value; + var databaseName = _match.Groups["databaseName"].Value; + var scriptName = _match.Groups["scriptName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Kusto/Clusters/" + + clusterName + + "/Databases/" + + databaseName + + "/scripts/" + + scriptName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsGet_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Script.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation events + /// back. + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// The name of the Kusto database script. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsGet_Validate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string scriptName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertNotNull(nameof(clusterName),clusterName); + await eventListener.AssertNotNull(nameof(databaseName),databaseName); + await eventListener.AssertNotNull(nameof(scriptName),scriptName); + } + } + + /// Returns the list of database scripts for given database. + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsListByDatabase(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Kusto/Clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/Databases/" + + global::System.Uri.EscapeDataString(databaseName) + + "/scripts" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsListByDatabase_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Returns the list of database scripts for given database. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsListByDatabaseViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Kusto/Clusters/(?[^/]+)/Databases/(?[^/]+)/scripts$").Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterName = _match.Groups["clusterName"].Value; + var databaseName = _match.Groups["databaseName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Kusto/Clusters/" + + clusterName + + "/Databases/" + + databaseName + + "/scripts" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsListByDatabase_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsListByDatabase_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsListByDatabase_Validate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertNotNull(nameof(clusterName),clusterName); + await eventListener.AssertNotNull(nameof(databaseName),databaseName); + } + } + + /// Updates a database script. + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// The name of the Kusto database script. + /// The Kusto Script parameters contains to the KQL to run. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsUpdate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string scriptName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Kusto/Clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/Databases/" + + global::System.Uri.EscapeDataString(databaseName) + + "/scripts/" + + global::System.Uri.EscapeDataString(scriptName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsUpdate_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Updates a database script. + /// + /// The Kusto Script parameters contains to the KQL to run. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ScriptsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + var apiVersion = @"2021-01-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Kusto/Clusters/(?[^/]+)/Databases/(?[^/]+)/scripts/(?[^/]+)$").Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterName = _match.Groups["clusterName"].Value; + var databaseName = _match.Groups["databaseName"].Value; + var scriptName = _match.Groups["scriptName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Kusto/Clusters/" + + clusterName + + "/Databases/" + + databaseName + + "/scripts/" + + scriptName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ScriptsUpdate_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + + // get the delay before polling. (default to 30 seconds if not present) + int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // start the delay timer (we'll await later...) + var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + await waiting; + + // check for cancellation + if( eventListener.Token.IsCancellationRequested ) { return; } + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + break; + } + } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Script.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription + /// ID forms part of the URI for every service call. + /// The name of the resource group containing the Kusto cluster. + /// The name of the Kusto cluster. + /// The name of the database in the Kusto cluster. + /// The name of the Kusto database script. + /// The Kusto Script parameters contains to the KQL to run. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ScriptsUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterName, string databaseName, string scriptName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript body, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertNotNull(nameof(clusterName),clusterName); + await eventListener.AssertNotNull(nameof(databaseName),databaseName); + await eventListener.AssertNotNull(nameof(scriptName),scriptName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api10/ProxyResource.PowerShell.cs b/src/Kusto/generated/api/Models/Api10/ProxyResource.PowerShell.cs index 8009697e6a0b..09c7f166d80a 100644 --- a/src/Kusto/generated/api/Models/Api10/ProxyResource.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api10/ProxyResource.PowerShell.cs @@ -3,7 +3,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10 using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; /// - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location /// [System.ComponentModel.TypeConverter(typeof(ProxyResourceTypeConverter))] public partial class ProxyResource @@ -127,7 +127,7 @@ internal ProxyResource(global::System.Management.Automation.PSObject content) /// a containing this model serialized to JSON text. public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); } - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location [System.ComponentModel.TypeConverter(typeof(ProxyResourceTypeConverter))] public partial interface IProxyResource diff --git a/src/Kusto/generated/api/Models/Api10/ProxyResource.cs b/src/Kusto/generated/api/Models/Api10/ProxyResource.cs index 0b2359512134..b88f330780cf 100644 --- a/src/Kusto/generated/api/Models/Api10/ProxyResource.cs +++ b/src/Kusto/generated/api/Models/Api10/ProxyResource.cs @@ -3,7 +3,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10 using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location /// public partial class ProxyResource : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IProxyResource, @@ -16,7 +16,7 @@ public partial class ProxyResource : private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(); /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; } @@ -35,7 +35,7 @@ public partial class ProxyResource : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; } @@ -58,14 +58,14 @@ public ProxyResource() await eventListener.AssertObjectIsValid(nameof(__resource), __resource); } } - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location public partial interface IProxyResource : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource { } - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location internal partial interface IProxyResourceInternal : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal { diff --git a/src/Kusto/generated/api/Models/Api10/ProxyResource.json.cs b/src/Kusto/generated/api/Models/Api10/ProxyResource.json.cs index 4bab4a6218cf..c3a85ceba68f 100644 --- a/src/Kusto/generated/api/Models/Api10/ProxyResource.json.cs +++ b/src/Kusto/generated/api/Models/Api10/ProxyResource.json.cs @@ -3,7 +3,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10 using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location /// public partial class ProxyResource { diff --git a/src/Kusto/generated/api/Models/Api10/Resource.PowerShell.cs b/src/Kusto/generated/api/Models/Api10/Resource.PowerShell.cs index 269045c24159..7c21379a640d 100644 --- a/src/Kusto/generated/api/Models/Api10/Resource.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api10/Resource.PowerShell.cs @@ -2,6 +2,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + /// + /// Common fields that are returned in the response for all Azure Resource Manager resources + /// [System.ComponentModel.TypeConverter(typeof(ResourceTypeConverter))] public partial class Resource { @@ -124,6 +127,7 @@ internal Resource(global::System.Management.Automation.PSObject content) /// a containing this model serialized to JSON text. public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); } + /// Common fields that are returned in the response for all Azure Resource Manager resources [System.ComponentModel.TypeConverter(typeof(ResourceTypeConverter))] public partial interface IResource diff --git a/src/Kusto/generated/api/Models/Api10/Resource.cs b/src/Kusto/generated/api/Models/Api10/Resource.cs index 035630a64b45..164c6f616611 100644 --- a/src/Kusto/generated/api/Models/Api10/Resource.cs +++ b/src/Kusto/generated/api/Models/Api10/Resource.cs @@ -2,6 +2,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + /// + /// Common fields that are returned in the response for all Azure Resource Manager resources + /// public partial class Resource : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal @@ -11,7 +14,7 @@ public partial class Resource : private string _id; /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] public string Id { get => this._id; } @@ -36,7 +39,7 @@ public partial class Resource : private string _type; /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] public string Type { get => this._type; } @@ -47,16 +50,17 @@ public Resource() } } + /// Common fields that are returned in the response for all Azure Resource Manager resources public partial interface IResource : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable { /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, ReadOnly = true, - Description = @"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + Description = @"Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] string Id { get; } @@ -69,28 +73,29 @@ public partial interface IResource : PossibleTypes = new [] { typeof(string) })] string Name { get; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, ReadOnly = true, - Description = @"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.", + Description = @"The type of the resource. E.g. ""Microsoft.Compute/virtualMachines"" or ""Microsoft.Storage/storageAccounts""", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string Type { get; } } + /// Common fields that are returned in the response for all Azure Resource Manager resources internal partial interface IResourceInternal { /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// string Id { get; set; } /// The name of the resource string Name { get; set; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// string Type { get; set; } diff --git a/src/Kusto/generated/api/Models/Api10/Resource.json.cs b/src/Kusto/generated/api/Models/Api10/Resource.json.cs index 2b95d18f6c3d..90370e82e93e 100644 --- a/src/Kusto/generated/api/Models/Api10/Resource.json.cs +++ b/src/Kusto/generated/api/Models/Api10/Resource.json.cs @@ -2,6 +2,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + /// + /// Common fields that are returned in the response for all Azure Resource Manager resources + /// public partial class Resource { diff --git a/src/Kusto/generated/api/Models/Api10/TrackedResource.PowerShell.cs b/src/Kusto/generated/api/Models/Api10/TrackedResource.PowerShell.cs index 8eb29ed604ec..28fa88366e9a 100644 --- a/src/Kusto/generated/api/Models/Api10/TrackedResource.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api10/TrackedResource.PowerShell.cs @@ -2,7 +2,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; - /// The resource model definition for a ARM tracked top level resource + /// + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' + /// [System.ComponentModel.TypeConverter(typeof(TrackedResourceTypeConverter))] public partial class TrackedResource { @@ -129,7 +131,7 @@ internal TrackedResource(global::System.Management.Automation.PSObject content) AfterDeserializePSObject(content); } } - /// The resource model definition for a ARM tracked top level resource + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' [System.ComponentModel.TypeConverter(typeof(TrackedResourceTypeConverter))] public partial interface ITrackedResource diff --git a/src/Kusto/generated/api/Models/Api10/TrackedResource.cs b/src/Kusto/generated/api/Models/Api10/TrackedResource.cs index e134d3125f6c..16921b860ffa 100644 --- a/src/Kusto/generated/api/Models/Api10/TrackedResource.cs +++ b/src/Kusto/generated/api/Models/Api10/TrackedResource.cs @@ -2,7 +2,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; - /// The resource model definition for a ARM tracked top level resource + /// + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' + /// public partial class TrackedResource : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResource, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal, @@ -14,7 +16,7 @@ public partial class TrackedResource : private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(); /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; } @@ -47,7 +49,7 @@ public partial class TrackedResource : public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.TrackedResourceTags()); set => this._tag = value; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; } @@ -70,7 +72,7 @@ public TrackedResource() await eventListener.AssertObjectIsValid(nameof(__resource), __resource); } } - /// The resource model definition for a ARM tracked top level resource + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' public partial interface ITrackedResource : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource @@ -93,7 +95,7 @@ public partial interface ITrackedResource : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceTags Tag { get; set; } } - /// The resource model definition for a ARM tracked top level resource + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' internal partial interface ITrackedResourceInternal : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal { diff --git a/src/Kusto/generated/api/Models/Api10/TrackedResource.json.cs b/src/Kusto/generated/api/Models/Api10/TrackedResource.json.cs index 445ff43f55c0..3ee6eb5af733 100644 --- a/src/Kusto/generated/api/Models/Api10/TrackedResource.json.cs +++ b/src/Kusto/generated/api/Models/Api10/TrackedResource.json.cs @@ -2,7 +2,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; - /// The resource model definition for a ARM tracked top level resource + /// + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' + /// public partial class TrackedResource { diff --git a/src/Kusto/generated/api/Models/Api20/SystemData.PowerShell.cs b/src/Kusto/generated/api/Models/Api20/SystemData.PowerShell.cs new file mode 100644 index 000000000000..9fd7dbb78b9b --- /dev/null +++ b/src/Kusto/generated/api/Models/Api20/SystemData.PowerShell.cs @@ -0,0 +1,141 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Metadata pertaining to creation and last modification of the resource. + [System.ComponentModel.TypeConverter(typeof(SystemDataTypeConverter))] + public partial class SystemData + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new SystemData(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new SystemData(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal SystemData(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedBy = (string) content.GetValueForProperty("CreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType?) content.GetValueForProperty("CreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedByType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedBy = (string) content.GetValueForProperty("LastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType?) content.GetValueForProperty("LastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("LastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal SystemData(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedBy = (string) content.GetValueForProperty("CreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType?) content.GetValueForProperty("CreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedByType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedAt = (global::System.DateTime?) content.GetValueForProperty("CreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).CreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedBy = (string) content.GetValueForProperty("LastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType?) content.GetValueForProperty("LastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("LastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)this).LastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Metadata pertaining to creation and last modification of the resource. + [System.ComponentModel.TypeConverter(typeof(SystemDataTypeConverter))] + public partial interface ISystemData + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20/SystemData.TypeConverter.cs b/src/Kusto/generated/api/Models/Api20/SystemData.TypeConverter.cs new file mode 100644 index 000000000000..5f92ef3baed8 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api20/SystemData.TypeConverter.cs @@ -0,0 +1,142 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class SystemDataTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter to the parameter using and + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return SystemData.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return SystemData.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return SystemData.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20/SystemData.cs b/src/Kusto/generated/api/Models/Api20/SystemData.cs new file mode 100644 index 000000000000..401cab51ff46 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api20/SystemData.cs @@ -0,0 +1,131 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Metadata pertaining to creation and last modification of the resource. + public partial class SystemData : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal + { + + /// Backing field for property. + private global::System.DateTime? _createdAt; + + /// The timestamp of resource creation (UTC). + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public global::System.DateTime? CreatedAt { get => this._createdAt; set => this._createdAt = value; } + + /// Backing field for property. + private string _createdBy; + + /// The identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string CreatedBy { get => this._createdBy; set => this._createdBy = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? _createdByType; + + /// The type of identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? CreatedByType { get => this._createdByType; set => this._createdByType = value; } + + /// Backing field for property. + private global::System.DateTime? _lastModifiedAt; + + /// The timestamp of resource last modification (UTC) + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public global::System.DateTime? LastModifiedAt { get => this._lastModifiedAt; set => this._lastModifiedAt = value; } + + /// Backing field for property. + private string _lastModifiedBy; + + /// The identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string LastModifiedBy { get => this._lastModifiedBy; set => this._lastModifiedBy = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? _lastModifiedByType; + + /// The type of identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? LastModifiedByType { get => this._lastModifiedByType; set => this._lastModifiedByType = value; } + + /// Creates an new instance. + public SystemData() + { + + } + } + /// Metadata pertaining to creation and last modification of the resource. + public partial interface ISystemData : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable + { + /// The timestamp of resource creation (UTC). + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The timestamp of resource creation (UTC).", + SerializedName = @"createdAt", + PossibleTypes = new [] { typeof(global::System.DateTime) })] + global::System.DateTime? CreatedAt { get; set; } + /// The identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The identity that created the resource.", + SerializedName = @"createdBy", + PossibleTypes = new [] { typeof(string) })] + string CreatedBy { get; set; } + /// The type of identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The type of identity that created the resource.", + SerializedName = @"createdByType", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? CreatedByType { get; set; } + /// The timestamp of resource last modification (UTC) + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The timestamp of resource last modification (UTC)", + SerializedName = @"lastModifiedAt", + PossibleTypes = new [] { typeof(global::System.DateTime) })] + global::System.DateTime? LastModifiedAt { get; set; } + /// The identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The identity that last modified the resource.", + SerializedName = @"lastModifiedBy", + PossibleTypes = new [] { typeof(string) })] + string LastModifiedBy { get; set; } + /// The type of identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The type of identity that last modified the resource.", + SerializedName = @"lastModifiedByType", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? LastModifiedByType { get; set; } + + } + /// Metadata pertaining to creation and last modification of the resource. + internal partial interface ISystemDataInternal + + { + /// The timestamp of resource creation (UTC). + global::System.DateTime? CreatedAt { get; set; } + /// The identity that created the resource. + string CreatedBy { get; set; } + /// The type of identity that created the resource. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? CreatedByType { get; set; } + /// The timestamp of resource last modification (UTC) + global::System.DateTime? LastModifiedAt { get; set; } + /// The identity that last modified the resource. + string LastModifiedBy { get; set; } + /// The type of identity that last modified the resource. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? LastModifiedByType { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20/SystemData.json.cs b/src/Kusto/generated/api/Models/Api20/SystemData.json.cs new file mode 100644 index 000000000000..918aaa777d69 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api20/SystemData.json.cs @@ -0,0 +1,111 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Metadata pertaining to creation and last modification of the resource. + public partial class SystemData + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new SystemData(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from. + internal SystemData(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_createdBy = If( json?.PropertyT("createdBy"), out var __jsonCreatedBy) ? (string)__jsonCreatedBy : (string)CreatedBy;} + {_createdByType = If( json?.PropertyT("createdByType"), out var __jsonCreatedByType) ? (string)__jsonCreatedByType : (string)CreatedByType;} + {_createdAt = If( json?.PropertyT("createdAt"), out var __jsonCreatedAt) ? global::System.DateTime.TryParse((string)__jsonCreatedAt, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonCreatedAtValue) ? __jsonCreatedAtValue : CreatedAt : CreatedAt;} + {_lastModifiedBy = If( json?.PropertyT("lastModifiedBy"), out var __jsonLastModifiedBy) ? (string)__jsonLastModifiedBy : (string)LastModifiedBy;} + {_lastModifiedByType = If( json?.PropertyT("lastModifiedByType"), out var __jsonLastModifiedByType) ? (string)__jsonLastModifiedByType : (string)LastModifiedByType;} + {_lastModifiedAt = If( json?.PropertyT("lastModifiedAt"), out var __jsonLastModifiedAt) ? global::System.DateTime.TryParse((string)__jsonLastModifiedAt, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonLastModifiedAtValue) ? __jsonLastModifiedAtValue : LastModifiedAt : LastModifiedAt;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._createdBy)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._createdBy.ToString()) : null, "createdBy" ,container.Add ); + AddIf( null != (((object)this._createdByType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._createdByType.ToString()) : null, "createdByType" ,container.Add ); + AddIf( null != this._createdAt ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._createdAt?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "createdAt" ,container.Add ); + AddIf( null != (((object)this._lastModifiedBy)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._lastModifiedBy.ToString()) : null, "lastModifiedBy" ,container.Add ); + AddIf( null != (((object)this._lastModifiedByType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._lastModifiedByType.ToString()) : null, "lastModifiedByType" ,container.Add ); + AddIf( null != this._lastModifiedAt ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._lastModifiedAt?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "lastModifiedAt" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.PowerShell.cs b/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.PowerShell.cs deleted file mode 100644 index 231c9ebac847..000000000000 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.PowerShell.cs +++ /dev/null @@ -1,151 +0,0 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 -{ - using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; - - /// Class representing an attached database configuration. - [System.ComponentModel.TypeConverter(typeof(AttachedDatabaseConfigurationTypeConverter))] - public partial class AttachedDatabaseConfiguration - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal AttachedDatabaseConfiguration(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfigurationPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).DatabaseName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).ClusterResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).AttachedDatabaseName = (string[]) content.GetValueForProperty("AttachedDatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).AttachedDatabaseName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).DefaultPrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) content.GetValueForProperty("DefaultPrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).DefaultPrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind.CreateFrom); - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal AttachedDatabaseConfiguration(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfigurationPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).DatabaseName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).ClusterResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).AttachedDatabaseName = (string[]) content.GetValueForProperty("AttachedDatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).AttachedDatabaseName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).DefaultPrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) content.GetValueForProperty("DefaultPrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal)this).DefaultPrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind.CreateFrom); - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new AttachedDatabaseConfiguration(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new AttachedDatabaseConfiguration(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); - } - /// Class representing an attached database configuration. - [System.ComponentModel.TypeConverter(typeof(AttachedDatabaseConfigurationTypeConverter))] - public partial interface IAttachedDatabaseConfiguration - - { - - } -} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.cs b/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.cs deleted file mode 100644 index ae8f4fc110db..000000000000 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.cs +++ /dev/null @@ -1,195 +0,0 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 -{ - using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; - - /// Class representing an attached database configuration. - public partial class AttachedDatabaseConfiguration : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates - { - /// - /// Backing field for Inherited model - /// - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(); - - /// - /// The list of databases from the clusterResourceId which are currently attached to the cluster. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string[] AttachedDatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).AttachedDatabaseName; } - - /// - /// The resource id of the cluster where the databases you would like to attach reside. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string ClusterResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).ClusterResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).ClusterResourceId = value; } - - /// - /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string DatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).DatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).DatabaseName = value; } - - /// The default principals modification kind - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).DefaultPrincipalsModificationKind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).DefaultPrincipalsModificationKind = value; } - - /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; } - - /// Backing field for property. - private string _location; - - /// Resource location. - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public string Location { get => this._location; set => this._location = value; } - - /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id = value; } - - /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name = value; } - - /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type = value; } - - /// Internal Acessors for AttachedDatabaseName - string[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal.AttachedDatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).AttachedDatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).AttachedDatabaseName = value; } - - /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfigurationProperties()); set { {_property = value;} } } - - /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).ProvisioningState = value; } - - /// The name of the resource - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties _property; - - /// The properties of the attached database configuration. - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfigurationProperties()); set => this._property = value; } - - /// The provisioned state of the resource. - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)Property).ProvisioningState; } - - /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; } - - /// Creates an new instance. - public AttachedDatabaseConfiguration() - { - - } - - /// Validates that this object meets the validation criteria. - /// an instance that will receive validation - /// events. - /// - /// A < see cref = "global::System.Threading.Tasks.Task" /> that will be complete when validation is completed. - /// - public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) - { - await eventListener.AssertNotNull(nameof(__resource), __resource); - await eventListener.AssertObjectIsValid(nameof(__resource), __resource); - } - } - /// Class representing an attached database configuration. - public partial interface IAttachedDatabaseConfiguration : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource - { - /// - /// The list of databases from the clusterResourceId which are currently attached to the cluster. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = false, - ReadOnly = true, - Description = @"The list of databases from the clusterResourceId which are currently attached to the cluster.", - SerializedName = @"attachedDatabaseNames", - PossibleTypes = new [] { typeof(string) })] - string[] AttachedDatabaseName { get; } - /// - /// The resource id of the cluster where the databases you would like to attach reside. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The resource id of the cluster where the databases you would like to attach reside.", - SerializedName = @"clusterResourceId", - PossibleTypes = new [] { typeof(string) })] - string ClusterResourceId { get; set; } - /// - /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the database which you would like to attach, use * if you want to follow all current and future databases.", - SerializedName = @"databaseName", - PossibleTypes = new [] { typeof(string) })] - string DatabaseName { get; set; } - /// The default principals modification kind - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The default principals modification kind", - SerializedName = @"defaultPrincipalsModificationKind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get; set; } - /// Resource location. - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"Resource location.", - SerializedName = @"location", - PossibleTypes = new [] { typeof(string) })] - string Location { get; set; } - /// The provisioned state of the resource. - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = false, - ReadOnly = true, - Description = @"The provisioned state of the resource.", - SerializedName = @"provisioningState", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; } - - } - /// Class representing an attached database configuration. - internal partial interface IAttachedDatabaseConfigurationInternal : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal - { - /// - /// The list of databases from the clusterResourceId which are currently attached to the cluster. - /// - string[] AttachedDatabaseName { get; set; } - /// - /// The resource id of the cluster where the databases you would like to attach reside. - /// - string ClusterResourceId { get; set; } - /// - /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. - /// - string DatabaseName { get; set; } - /// The default principals modification kind - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get; set; } - /// Resource location. - string Location { get; set; } - /// The properties of the attached database configuration. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties Property { get; set; } - /// The provisioned state of the resource. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } - - } -} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.PowerShell.cs deleted file mode 100644 index cf77c44e53fa..000000000000 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.PowerShell.cs +++ /dev/null @@ -1,144 +0,0 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 -{ - using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; - - /// - /// Class representing the an attached database configuration properties of kind specific. - /// - [System.ComponentModel.TypeConverter(typeof(AttachedDatabaseConfigurationPropertiesTypeConverter))] - public partial class AttachedDatabaseConfigurationProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal AttachedDatabaseConfigurationProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).DatabaseName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).ClusterResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).AttachedDatabaseName = (string[]) content.GetValueForProperty("AttachedDatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).AttachedDatabaseName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).DefaultPrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) content.GetValueForProperty("DefaultPrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).DefaultPrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind.CreateFrom); - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal AttachedDatabaseConfigurationProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).DatabaseName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).ClusterResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).AttachedDatabaseName = (string[]) content.GetValueForProperty("AttachedDatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).AttachedDatabaseName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).DefaultPrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) content.GetValueForProperty("DefaultPrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal)this).DefaultPrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind.CreateFrom); - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new AttachedDatabaseConfigurationProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new AttachedDatabaseConfigurationProperties(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json - /// string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); - } - /// Class representing the an attached database configuration properties of kind specific. - [System.ComponentModel.TypeConverter(typeof(AttachedDatabaseConfigurationPropertiesTypeConverter))] - public partial interface IAttachedDatabaseConfigurationProperties - - { - - } -} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.cs b/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.cs deleted file mode 100644 index 8ddae8914f9f..000000000000 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.cs +++ /dev/null @@ -1,140 +0,0 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 -{ - using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; - - /// - /// Class representing the an attached database configuration properties of kind specific. - /// - public partial class AttachedDatabaseConfigurationProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal - { - - /// Backing field for property. - private string[] _attachedDatabaseName; - - /// - /// The list of databases from the clusterResourceId which are currently attached to the cluster. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public string[] AttachedDatabaseName { get => this._attachedDatabaseName; } - - /// Backing field for property. - private string _clusterResourceId; - - /// - /// The resource id of the cluster where the databases you would like to attach reside. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public string ClusterResourceId { get => this._clusterResourceId; set => this._clusterResourceId = value; } - - /// Backing field for property. - private string _databaseName; - - /// - /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind _defaultPrincipalsModificationKind; - - /// The default principals modification kind - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get => this._defaultPrincipalsModificationKind; set => this._defaultPrincipalsModificationKind = value; } - - /// Internal Acessors for AttachedDatabaseName - string[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal.AttachedDatabaseName { get => this._attachedDatabaseName; set { {_attachedDatabaseName = value;} } } - - /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? _provisioningState; - - /// The provisioned state of the resource. - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => this._provisioningState; } - - /// Creates an new instance. - public AttachedDatabaseConfigurationProperties() - { - - } - } - /// Class representing the an attached database configuration properties of kind specific. - public partial interface IAttachedDatabaseConfigurationProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable - { - /// - /// The list of databases from the clusterResourceId which are currently attached to the cluster. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = false, - ReadOnly = true, - Description = @"The list of databases from the clusterResourceId which are currently attached to the cluster.", - SerializedName = @"attachedDatabaseNames", - PossibleTypes = new [] { typeof(string) })] - string[] AttachedDatabaseName { get; } - /// - /// The resource id of the cluster where the databases you would like to attach reside. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The resource id of the cluster where the databases you would like to attach reside.", - SerializedName = @"clusterResourceId", - PossibleTypes = new [] { typeof(string) })] - string ClusterResourceId { get; set; } - /// - /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. - /// - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The name of the database which you would like to attach, use * if you want to follow all current and future databases.", - SerializedName = @"databaseName", - PossibleTypes = new [] { typeof(string) })] - string DatabaseName { get; set; } - /// The default principals modification kind - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The default principals modification kind", - SerializedName = @"defaultPrincipalsModificationKind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get; set; } - /// The provisioned state of the resource. - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = false, - ReadOnly = true, - Description = @"The provisioned state of the resource.", - SerializedName = @"provisioningState", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; } - - } - /// Class representing the an attached database configuration properties of kind specific. - internal partial interface IAttachedDatabaseConfigurationPropertiesInternal - - { - /// - /// The list of databases from the clusterResourceId which are currently attached to the cluster. - /// - string[] AttachedDatabaseName { get; set; } - /// - /// The resource id of the cluster where the databases you would like to attach reside. - /// - string ClusterResourceId { get; set; } - /// - /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. - /// - string DatabaseName { get; set; } - /// The default principals modification kind - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get; set; } - /// The provisioned state of the resource. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } - - } -} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/Cluster.PowerShell.cs b/src/Kusto/generated/api/Models/Api20200918/Cluster.PowerShell.cs deleted file mode 100644 index 062cb21b09b5..000000000000 --- a/src/Kusto/generated/api/Models/Api20200918/Cluster.PowerShell.cs +++ /dev/null @@ -1,215 +0,0 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 -{ - using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; - - /// Class representing a Kusto cluster. - [System.ComponentModel.TypeConverter(typeof(ClusterTypeConverter))] - public partial class Cluster - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal Cluster(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSkuTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Zone = (string[]) content.GetValueForProperty("Zone",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Zone, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.TrackedResourceTagsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityPrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityTenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscaleTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfigurationTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsListTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Uri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).DataIngestionUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).StateReason, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.TrustedExternalTenantTypeConverter.ConvertFrom)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionTypeConverter.ConvertFrom)); - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal Cluster(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSkuTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Zone = (string[]) content.GetValueForProperty("Zone",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Zone, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.TrackedResourceTagsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityPrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityTenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscaleTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfigurationTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsListTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).Uri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).DataIngestionUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).StateReason, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.TrustedExternalTenantTypeConverter.ConvertFrom)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionTypeConverter.ConvertFrom)); - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new Cluster(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new Cluster(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); - } - /// Class representing a Kusto cluster. - [System.ComponentModel.TypeConverter(typeof(ClusterTypeConverter))] - public partial interface ICluster - - { - - } -} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api20200918/ClusterProperties.PowerShell.cs deleted file mode 100644 index b039c358f046..000000000000 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterProperties.PowerShell.cs +++ /dev/null @@ -1,183 +0,0 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 -{ - using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; - - /// Class representing the Kusto cluster properties. - [System.ComponentModel.TypeConverter(typeof(ClusterPropertiesTypeConverter))] - public partial class ClusterProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal ClusterProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscaleTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfigurationTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsListTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).Uri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).DataIngestionUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).StateReason, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.TrustedExternalTenantTypeConverter.ConvertFrom)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionTypeConverter.ConvertFrom)); - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal ClusterProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscaleTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfigurationTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsListTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).Uri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).DataIngestionUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).StateReason, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.TrustedExternalTenantTypeConverter.ConvertFrom)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionTypeConverter.ConvertFrom)); - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new ClusterProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new ClusterProperties(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); - } - /// Class representing the Kusto cluster properties. - [System.ComponentModel.TypeConverter(typeof(ClusterPropertiesTypeConverter))] - public partial interface IClusterProperties - - { - - } -} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.PowerShell.cs b/src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.PowerShell.cs deleted file mode 100644 index ede1b2a50bb6..000000000000 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.PowerShell.cs +++ /dev/null @@ -1,213 +0,0 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 -{ - using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; - - /// Class representing an update to a Kusto cluster. - [System.ComponentModel.TypeConverter(typeof(ClusterUpdateTypeConverter))] - public partial class ClusterUpdate - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal ClusterUpdate(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSkuTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdateTagsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityPrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityTenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscaleTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfigurationTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsListTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Uri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).DataIngestionUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).StateReason, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.TrustedExternalTenantTypeConverter.ConvertFrom)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionTypeConverter.ConvertFrom)); - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal ClusterUpdate(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSkuTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdateTagsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityPrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityTenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscaleTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfigurationTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultPropertiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsListTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).Uri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).DataIngestionUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).StateReason, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.TrustedExternalTenantTypeConverter.ConvertFrom)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionTypeConverter.ConvertFrom)); - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new ClusterUpdate(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new ClusterUpdate(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); - } - /// Class representing an update to a Kusto cluster. - [System.ComponentModel.TypeConverter(typeof(ClusterUpdateTypeConverter))] - public partial interface IClusterUpdate - - { - - } -} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.PowerShell.cs deleted file mode 100644 index f3f40df81c5e..000000000000 --- a/src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.PowerShell.cs +++ /dev/null @@ -1,145 +0,0 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 -{ - using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; - - /// Class representing the Kusto event hub connection properties. - [System.ComponentModel.TypeConverter(typeof(EventHubConnectionPropertiesTypeConverter))] - public partial class EventHubConnectionProperties - { - - /// - /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the - /// object before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Collections.IDictionary content that should be used. - - partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); - - /// - /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object - /// before it is returned. Implement this method in a partial class to enable this behavior - /// - /// The global::System.Management.Automation.PSObject content that should be used. - - partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); - - /// - /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Collections.IDictionary content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); - - /// - /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization - /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. - /// Implement this method in a partial class to enable this behavior. - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// Determines if the rest of the serialization should be processed, or if the method should return - /// instantly. - - partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) - { - return new EventHubConnectionProperties(content); - } - - /// - /// Deserializes a into an instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - /// - /// an instance of . - /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) - { - return new EventHubConnectionProperties(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal EventHubConnectionProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).EventHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).Compression = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression?) content.GetValueForProperty("Compression",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).Compression, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal EventHubConnectionProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).EventHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).Compression = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression?) content.GetValueForProperty("Compression",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).Compression, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - AfterDeserializePSObject(content); - } - - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); - - /// Serializes this instance to a json string. - - /// a containing this model serialized to JSON text. - public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); - } - /// Class representing the Kusto event hub connection properties. - [System.ComponentModel.TypeConverter(typeof(EventHubConnectionPropertiesTypeConverter))] - public partial interface IEventHubConnectionProperties - - { - - } -} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.PowerShell.cs new file mode 100644 index 000000000000..fec1cb3d6260 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.PowerShell.cs @@ -0,0 +1,163 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Class representing an attached database configuration. + [System.ComponentModel.TypeConverter(typeof(AttachedDatabaseConfigurationTypeConverter))] + public partial class AttachedDatabaseConfiguration + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal AttachedDatabaseConfiguration(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfigurationPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties) content.GetValueForProperty("TableLevelSharingProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TableLevelSharingPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).DatabaseName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).ClusterResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).AttachedDatabaseName = (string[]) content.GetValueForProperty("AttachedDatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).AttachedDatabaseName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).DefaultPrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) content.GetValueForProperty("DefaultPrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).DefaultPrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyTablesToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyTablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyTablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyTablesToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyTablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyTablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyExternalTablesToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyExternalTablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyExternalTablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyExternalTablesToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyExternalTablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyExternalTablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyMaterializedViewsToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyMaterializedViewsToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyMaterializedViewsToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyMaterializedViewsToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyMaterializedViewsToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyMaterializedViewsToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal AttachedDatabaseConfiguration(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfigurationPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties) content.GetValueForProperty("TableLevelSharingProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TableLevelSharingPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).DatabaseName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).ClusterResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).AttachedDatabaseName = (string[]) content.GetValueForProperty("AttachedDatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).AttachedDatabaseName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).DefaultPrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) content.GetValueForProperty("DefaultPrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).DefaultPrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyTablesToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyTablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyTablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyTablesToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyTablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyTablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyExternalTablesToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyExternalTablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyExternalTablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyExternalTablesToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyExternalTablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyExternalTablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyMaterializedViewsToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyMaterializedViewsToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyMaterializedViewsToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyMaterializedViewsToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyMaterializedViewsToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal)this).TableLevelSharingPropertyMaterializedViewsToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new AttachedDatabaseConfiguration(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new AttachedDatabaseConfiguration(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Class representing an attached database configuration. + [System.ComponentModel.TypeConverter(typeof(AttachedDatabaseConfigurationTypeConverter))] + public partial interface IAttachedDatabaseConfiguration + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.TypeConverter.cs index 9a1dbb0db577..a7efa38afe7b 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.cs new file mode 100644 index 000000000000..16f51f273813 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.cs @@ -0,0 +1,284 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Class representing an attached database configuration. + public partial class AttachedDatabaseConfiguration : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(); + + /// + /// The list of databases from the clusterResourceId which are currently attached to the cluster. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] AttachedDatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).AttachedDatabaseName; } + + /// + /// The resource id of the cluster where the databases you would like to attach reside. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string ClusterResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).ClusterResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).ClusterResourceId = value ?? null; } + + /// + /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string DatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).DatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).DatabaseName = value ?? null; } + + /// The default principals modification kind + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind? DefaultPrincipalsModificationKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).DefaultPrincipalsModificationKind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).DefaultPrincipalsModificationKind = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind)""); } + + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; } + + /// Backing field for property. + private string _location; + + /// Resource location. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string Location { get => this._location; set => this._location = value; } + + /// Internal Acessors for Id + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id = value; } + + /// Internal Acessors for Name + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name = value; } + + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type = value; } + + /// Internal Acessors for AttachedDatabaseName + string[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal.AttachedDatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).AttachedDatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).AttachedDatabaseName = value; } + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfigurationProperties()); set { {_property = value;} } } + + /// Internal Acessors for ProvisioningState + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).ProvisioningState = value; } + + /// Internal Acessors for TableLevelSharingProperty + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationInternal.TableLevelSharingProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingProperty = value; } + + /// The name of the resource + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties _property; + + /// The properties of the attached database configuration. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfigurationProperties()); set => this._property = value; } + + /// The provisioned state of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).ProvisioningState; } + + /// List of external tables exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyExternalTablesToExclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyExternalTablesToExclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyExternalTablesToExclude = value ?? null /* arrayOf */; } + + /// List of external tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyExternalTablesToInclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyExternalTablesToInclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyExternalTablesToInclude = value ?? null /* arrayOf */; } + + /// List of materialized views exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyMaterializedViewsToExclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyMaterializedViewsToExclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyMaterializedViewsToExclude = value ?? null /* arrayOf */; } + + /// List of materialized views to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyMaterializedViewsToInclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyMaterializedViewsToInclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyMaterializedViewsToInclude = value ?? null /* arrayOf */; } + + /// List of tables to exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyTablesToExclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyTablesToExclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyTablesToExclude = value ?? null /* arrayOf */; } + + /// List of tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyTablesToInclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyTablesToInclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)Property).TableLevelSharingPropertyTablesToInclude = value ?? null /* arrayOf */; } + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; } + + /// Creates an new instance. + public AttachedDatabaseConfiguration() + { + + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A < see cref = "global::System.Threading.Tasks.Task" /> that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__resource), __resource); + await eventListener.AssertObjectIsValid(nameof(__resource), __resource); + } + } + /// Class representing an attached database configuration. + public partial interface IAttachedDatabaseConfiguration : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource + { + /// + /// The list of databases from the clusterResourceId which are currently attached to the cluster. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The list of databases from the clusterResourceId which are currently attached to the cluster.", + SerializedName = @"attachedDatabaseNames", + PossibleTypes = new [] { typeof(string) })] + string[] AttachedDatabaseName { get; } + /// + /// The resource id of the cluster where the databases you would like to attach reside. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The resource id of the cluster where the databases you would like to attach reside.", + SerializedName = @"clusterResourceId", + PossibleTypes = new [] { typeof(string) })] + string ClusterResourceId { get; set; } + /// + /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The name of the database which you would like to attach, use * if you want to follow all current and future databases.", + SerializedName = @"databaseName", + PossibleTypes = new [] { typeof(string) })] + string DatabaseName { get; set; } + /// The default principals modification kind + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The default principals modification kind", + SerializedName = @"defaultPrincipalsModificationKind", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind? DefaultPrincipalsModificationKind { get; set; } + /// Resource location. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Resource location.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + string Location { get; set; } + /// The provisioned state of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The provisioned state of the resource.", + SerializedName = @"provisioningState", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; } + /// List of external tables exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of external tables exclude from the follower database", + SerializedName = @"externalTablesToExclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyExternalTablesToExclude { get; set; } + /// List of external tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of external tables to include in the follower database", + SerializedName = @"externalTablesToInclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyExternalTablesToInclude { get; set; } + /// List of materialized views exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of materialized views exclude from the follower database", + SerializedName = @"materializedViewsToExclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyMaterializedViewsToExclude { get; set; } + /// List of materialized views to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of materialized views to include in the follower database", + SerializedName = @"materializedViewsToInclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyMaterializedViewsToInclude { get; set; } + /// List of tables to exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of tables to exclude from the follower database", + SerializedName = @"tablesToExclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyTablesToExclude { get; set; } + /// List of tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of tables to include in the follower database", + SerializedName = @"tablesToInclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyTablesToInclude { get; set; } + + } + /// Class representing an attached database configuration. + internal partial interface IAttachedDatabaseConfigurationInternal : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal + { + /// + /// The list of databases from the clusterResourceId which are currently attached to the cluster. + /// + string[] AttachedDatabaseName { get; set; } + /// + /// The resource id of the cluster where the databases you would like to attach reside. + /// + string ClusterResourceId { get; set; } + /// + /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. + /// + string DatabaseName { get; set; } + /// The default principals modification kind + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind? DefaultPrincipalsModificationKind { get; set; } + /// Resource location. + string Location { get; set; } + /// The properties of the attached database configuration. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties Property { get; set; } + /// The provisioned state of the resource. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } + /// Table level sharing specifications + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties TableLevelSharingProperty { get; set; } + /// List of external tables exclude from the follower database + string[] TableLevelSharingPropertyExternalTablesToExclude { get; set; } + /// List of external tables to include in the follower database + string[] TableLevelSharingPropertyExternalTablesToInclude { get; set; } + /// List of materialized views exclude from the follower database + string[] TableLevelSharingPropertyMaterializedViewsToExclude { get; set; } + /// List of materialized views to include in the follower database + string[] TableLevelSharingPropertyMaterializedViewsToInclude { get; set; } + /// List of tables to exclude from the follower database + string[] TableLevelSharingPropertyTablesToExclude { get; set; } + /// List of tables to include in the follower database + string[] TableLevelSharingPropertyTablesToInclude { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.json.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.json.cs rename to src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.json.cs index faf00c77b149..60655e17728c 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfiguration.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfiguration.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -59,19 +59,19 @@ internal AttachedDatabaseConfiguration(Microsoft.Azure.PowerShell.Cmdlets.Kusto. return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfigurationProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfigurationProperties.FromJson(__jsonProperties) : Property;} {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)Location;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new AttachedDatabaseConfiguration(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.PowerShell.cs similarity index 76% rename from src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.PowerShell.cs index 5a20007f16b6..9046b61cb7c9 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class AttachedDatabaseConfigurationListResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal AttachedDatabaseConfigurationListResult(global::System.Collections.IDic return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfigurationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfigurationTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,34 +79,34 @@ internal AttachedDatabaseConfigurationListResult(global::System.Management.Autom return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfigurationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfigurationTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AttachedDatabaseConfigurationListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AttachedDatabaseConfigurationListResult(content); } @@ -117,7 +117,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttac /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.TypeConverter.cs index a73b0066e303..2a1099509ef4 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -104,14 +104,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.cs similarity index 71% rename from src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.cs rename to src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.cs index 916544843fb0..8847f376b7e3 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list attached database configurations operation response. public partial class AttachedDatabaseConfigurationListResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration[] _value; /// The list of attached database configurations. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public AttachedDatabaseConfigurationListResult() @@ -31,8 +31,8 @@ public partial interface IAttachedDatabaseConfigurationListResult : ReadOnly = false, Description = @"The list of attached database configurations.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration[] Value { get; set; } } /// The list attached database configurations operation response. @@ -40,7 +40,7 @@ internal partial interface IAttachedDatabaseConfigurationListResultInternal { /// The list of attached database configurations. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.json.cs similarity index 90% rename from src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.json.cs index f39f763239fd..73e118b24f83 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationListResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationListResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal AttachedDatabaseConfigurationListResult(Microsoft.Azure.PowerShell.Cmdl { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfiguration.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfiguration.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new AttachedDatabaseConfigurationListResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.PowerShell.cs new file mode 100644 index 000000000000..538c1203cb26 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.PowerShell.cs @@ -0,0 +1,158 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// + /// Class representing the an attached database configuration properties of kind specific. + /// + [System.ComponentModel.TypeConverter(typeof(AttachedDatabaseConfigurationPropertiesTypeConverter))] + public partial class AttachedDatabaseConfigurationProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal AttachedDatabaseConfigurationProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties) content.GetValueForProperty("TableLevelSharingProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TableLevelSharingPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).DatabaseName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).ClusterResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).AttachedDatabaseName = (string[]) content.GetValueForProperty("AttachedDatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).AttachedDatabaseName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).DefaultPrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) content.GetValueForProperty("DefaultPrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).DefaultPrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyTablesToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyTablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyTablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyTablesToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyTablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyTablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyExternalTablesToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyExternalTablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyExternalTablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyExternalTablesToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyExternalTablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyExternalTablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyMaterializedViewsToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyMaterializedViewsToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyMaterializedViewsToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyMaterializedViewsToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyMaterializedViewsToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyMaterializedViewsToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal AttachedDatabaseConfigurationProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties) content.GetValueForProperty("TableLevelSharingProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TableLevelSharingPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).DatabaseName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).ClusterResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).AttachedDatabaseName = (string[]) content.GetValueForProperty("AttachedDatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).AttachedDatabaseName, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).DefaultPrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) content.GetValueForProperty("DefaultPrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).DefaultPrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyTablesToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyTablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyTablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyTablesToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyTablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyTablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyExternalTablesToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyExternalTablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyExternalTablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyExternalTablesToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyExternalTablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyExternalTablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyMaterializedViewsToInclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyMaterializedViewsToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyMaterializedViewsToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyMaterializedViewsToExclude = (string[]) content.GetValueForProperty("TableLevelSharingPropertyMaterializedViewsToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal)this).TableLevelSharingPropertyMaterializedViewsToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new AttachedDatabaseConfigurationProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new AttachedDatabaseConfigurationProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json + /// string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Class representing the an attached database configuration properties of kind specific. + [System.ComponentModel.TypeConverter(typeof(AttachedDatabaseConfigurationPropertiesTypeConverter))] + public partial interface IAttachedDatabaseConfigurationProperties + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.TypeConverter.cs index 6f5d313ef35d..5e8d949779d7 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -104,14 +104,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.cs new file mode 100644 index 000000000000..864d583994cf --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.cs @@ -0,0 +1,236 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// + /// Class representing the an attached database configuration properties of kind specific. + /// + public partial class AttachedDatabaseConfigurationProperties : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal + { + + /// Backing field for property. + private string[] _attachedDatabaseName; + + /// + /// The list of databases from the clusterResourceId which are currently attached to the cluster. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string[] AttachedDatabaseName { get => this._attachedDatabaseName; } + + /// Backing field for property. + private string _clusterResourceId; + + /// + /// The resource id of the cluster where the databases you would like to attach reside. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string ClusterResourceId { get => this._clusterResourceId; set => this._clusterResourceId = value; } + + /// Backing field for property. + private string _databaseName; + + /// + /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind _defaultPrincipalsModificationKind; + + /// The default principals modification kind + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get => this._defaultPrincipalsModificationKind; set => this._defaultPrincipalsModificationKind = value; } + + /// Internal Acessors for AttachedDatabaseName + string[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal.AttachedDatabaseName { get => this._attachedDatabaseName; set { {_attachedDatabaseName = value;} } } + + /// Internal Acessors for ProvisioningState + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + + /// Internal Acessors for TableLevelSharingProperty + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationPropertiesInternal.TableLevelSharingProperty { get => (this._tableLevelSharingProperty = this._tableLevelSharingProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TableLevelSharingProperties()); set { {_tableLevelSharingProperty = value;} } } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? _provisioningState; + + /// The provisioned state of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => this._provisioningState; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties _tableLevelSharingProperty; + + /// Table level sharing specifications + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties TableLevelSharingProperty { get => (this._tableLevelSharingProperty = this._tableLevelSharingProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TableLevelSharingProperties()); set => this._tableLevelSharingProperty = value; } + + /// List of external tables exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyExternalTablesToExclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).ExternalTablesToExclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).ExternalTablesToExclude = value ?? null /* arrayOf */; } + + /// List of external tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyExternalTablesToInclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).ExternalTablesToInclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).ExternalTablesToInclude = value ?? null /* arrayOf */; } + + /// List of materialized views exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyMaterializedViewsToExclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).MaterializedViewsToExclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).MaterializedViewsToExclude = value ?? null /* arrayOf */; } + + /// List of materialized views to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyMaterializedViewsToInclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).MaterializedViewsToInclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).MaterializedViewsToInclude = value ?? null /* arrayOf */; } + + /// List of tables to exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyTablesToExclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).TablesToExclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).TablesToExclude = value ?? null /* arrayOf */; } + + /// List of tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string[] TableLevelSharingPropertyTablesToInclude { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).TablesToInclude; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)TableLevelSharingProperty).TablesToInclude = value ?? null /* arrayOf */; } + + /// Creates an new instance. + public AttachedDatabaseConfigurationProperties() + { + + } + } + /// Class representing the an attached database configuration properties of kind specific. + public partial interface IAttachedDatabaseConfigurationProperties : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable + { + /// + /// The list of databases from the clusterResourceId which are currently attached to the cluster. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The list of databases from the clusterResourceId which are currently attached to the cluster.", + SerializedName = @"attachedDatabaseNames", + PossibleTypes = new [] { typeof(string) })] + string[] AttachedDatabaseName { get; } + /// + /// The resource id of the cluster where the databases you would like to attach reside. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The resource id of the cluster where the databases you would like to attach reside.", + SerializedName = @"clusterResourceId", + PossibleTypes = new [] { typeof(string) })] + string ClusterResourceId { get; set; } + /// + /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the database which you would like to attach, use * if you want to follow all current and future databases.", + SerializedName = @"databaseName", + PossibleTypes = new [] { typeof(string) })] + string DatabaseName { get; set; } + /// The default principals modification kind + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The default principals modification kind", + SerializedName = @"defaultPrincipalsModificationKind", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get; set; } + /// The provisioned state of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The provisioned state of the resource.", + SerializedName = @"provisioningState", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; } + /// List of external tables exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of external tables exclude from the follower database", + SerializedName = @"externalTablesToExclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyExternalTablesToExclude { get; set; } + /// List of external tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of external tables to include in the follower database", + SerializedName = @"externalTablesToInclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyExternalTablesToInclude { get; set; } + /// List of materialized views exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of materialized views exclude from the follower database", + SerializedName = @"materializedViewsToExclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyMaterializedViewsToExclude { get; set; } + /// List of materialized views to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of materialized views to include in the follower database", + SerializedName = @"materializedViewsToInclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyMaterializedViewsToInclude { get; set; } + /// List of tables to exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of tables to exclude from the follower database", + SerializedName = @"tablesToExclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyTablesToExclude { get; set; } + /// List of tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of tables to include in the follower database", + SerializedName = @"tablesToInclude", + PossibleTypes = new [] { typeof(string) })] + string[] TableLevelSharingPropertyTablesToInclude { get; set; } + + } + /// Class representing the an attached database configuration properties of kind specific. + internal partial interface IAttachedDatabaseConfigurationPropertiesInternal + + { + /// + /// The list of databases from the clusterResourceId which are currently attached to the cluster. + /// + string[] AttachedDatabaseName { get; set; } + /// + /// The resource id of the cluster where the databases you would like to attach reside. + /// + string ClusterResourceId { get; set; } + /// + /// The name of the database which you would like to attach, use * if you want to follow all current and future databases. + /// + string DatabaseName { get; set; } + /// The default principals modification kind + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get; set; } + /// The provisioned state of the resource. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } + /// Table level sharing specifications + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties TableLevelSharingProperty { get; set; } + /// List of external tables exclude from the follower database + string[] TableLevelSharingPropertyExternalTablesToExclude { get; set; } + /// List of external tables to include in the follower database + string[] TableLevelSharingPropertyExternalTablesToInclude { get; set; } + /// List of materialized views exclude from the follower database + string[] TableLevelSharingPropertyMaterializedViewsToExclude { get; set; } + /// List of materialized views to include in the follower database + string[] TableLevelSharingPropertyMaterializedViewsToInclude { get; set; } + /// List of tables to exclude from the follower database + string[] TableLevelSharingPropertyTablesToExclude { get; set; } + /// List of tables to include in the follower database + string[] TableLevelSharingPropertyTablesToInclude { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.json.cs similarity index 91% rename from src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.json.cs index 8e2a1dd1ebbc..8fe0da73f0ce 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AttachedDatabaseConfigurationProperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/AttachedDatabaseConfigurationProperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -60,6 +60,7 @@ internal AttachedDatabaseConfigurationProperties(Microsoft.Azure.PowerShell.Cmdl { return; } + {_tableLevelSharingProperty = If( json?.PropertyT("tableLevelSharingProperties"), out var __jsonTableLevelSharingProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TableLevelSharingProperties.FromJson(__jsonTableLevelSharingProperties) : TableLevelSharingProperty;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} {_databaseName = If( json?.PropertyT("databaseName"), out var __jsonDatabaseName) ? (string)__jsonDatabaseName : (string)DatabaseName;} {_clusterResourceId = If( json?.PropertyT("clusterResourceId"), out var __jsonClusterResourceId) ? (string)__jsonClusterResourceId : (string)ClusterResourceId;} @@ -69,13 +70,13 @@ internal AttachedDatabaseConfigurationProperties(Microsoft.Azure.PowerShell.Cmdl } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfigurationProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfigurationProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new AttachedDatabaseConfigurationProperties(json) : null; } @@ -101,6 +102,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Mic { return container; } + AddIf( null != this._tableLevelSharingProperty ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) this._tableLevelSharingProperty.ToJson(null,serializationMode) : null, "tableLevelSharingProperties" ,container.Add ); if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeReadOnly)) { AddIf( null != (((object)this._provisioningState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._provisioningState.ToString()) : null, "provisioningState" ,container.Add ); diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureCapacity.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/AzureCapacity.PowerShell.cs similarity index 69% rename from src/Kusto/generated/api/Models/Api20200918/AzureCapacity.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/AzureCapacity.PowerShell.cs index 8b6cfd496c5e..6ed12521b1fe 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureCapacity.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureCapacity.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class AzureCapacity partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,15 +61,15 @@ internal AzureCapacity(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).ScaleType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType) content.GetValueForProperty("ScaleType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).ScaleType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Minimum = (int) content.GetValueForProperty("Minimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Minimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Maximum = (int) content.GetValueForProperty("Maximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Maximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Default = (int) content.GetValueForProperty("Default",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Default, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).ScaleType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType) content.GetValueForProperty("ScaleType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).ScaleType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Minimum = (int) content.GetValueForProperty("Minimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Minimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Maximum = (int) content.GetValueForProperty("Maximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Maximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Default = (int) content.GetValueForProperty("Default",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Default, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,35 +82,35 @@ internal AzureCapacity(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).ScaleType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType) content.GetValueForProperty("ScaleType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).ScaleType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Minimum = (int) content.GetValueForProperty("Minimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Minimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Maximum = (int) content.GetValueForProperty("Maximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Maximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Default = (int) content.GetValueForProperty("Default",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)this).Default, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).ScaleType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType) content.GetValueForProperty("ScaleType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).ScaleType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Minimum = (int) content.GetValueForProperty("Minimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Minimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Maximum = (int) content.GetValueForProperty("Maximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Maximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Default = (int) content.GetValueForProperty("Default",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)this).Default, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureCapacity(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureCapacity(content); } @@ -120,7 +120,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzure /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureCapacity.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/AzureCapacity.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/AzureCapacity.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/AzureCapacity.TypeConverter.cs index d7314196850a..c5df32cd7fc5 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureCapacity.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureCapacity.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureCapacity.cs b/src/Kusto/generated/api/Models/Api202101/AzureCapacity.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/AzureCapacity.cs rename to src/Kusto/generated/api/Models/Api202101/AzureCapacity.cs index ce25f496f2e7..49766e7a9eef 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureCapacity.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureCapacity.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Azure capacity definition. public partial class AzureCapacity : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureCapacity.json.cs b/src/Kusto/generated/api/Models/Api202101/AzureCapacity.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/AzureCapacity.json.cs rename to src/Kusto/generated/api/Models/Api202101/AzureCapacity.json.cs index fb851a3f85bc..aef5a0ab9018 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureCapacity.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureCapacity.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -66,13 +66,13 @@ internal AzureCapacity(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.Jso } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new AzureCapacity(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/AzureResourceSku.PowerShell.cs similarity index 52% rename from src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/AzureResourceSku.PowerShell.cs index 681ac195315f..42051e90bc9b 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureResourceSku.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class AzureResourceSku partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,21 +61,21 @@ internal AzureResourceSku(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSkuTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).Capacity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).Capacity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureCapacityTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).ResourceType, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityScaleType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType) content.GetValueForProperty("CapacityScaleType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityScaleType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityMinimum = (int) content.GetValueForProperty("CapacityMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityMaximum = (int) content.GetValueForProperty("CapacityMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityDefault = (int) content.GetValueForProperty("CapacityDefault",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityDefault, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSkuTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).Capacity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).Capacity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureCapacityTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityScaleType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType) content.GetValueForProperty("CapacityScaleType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityScaleType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityMinimum = (int) content.GetValueForProperty("CapacityMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityMaximum = (int) content.GetValueForProperty("CapacityMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityDefault = (int) content.GetValueForProperty("CapacityDefault",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityDefault, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -88,41 +88,41 @@ internal AzureResourceSku(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSkuTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).Capacity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).Capacity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureCapacityTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).ResourceType, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityScaleType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType) content.GetValueForProperty("CapacityScaleType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityScaleType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityMinimum = (int) content.GetValueForProperty("CapacityMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityMaximum = (int) content.GetValueForProperty("CapacityMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityDefault = (int) content.GetValueForProperty("CapacityDefault",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal)this).CapacityDefault, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSkuTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).Capacity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).Capacity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureCapacityTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityScaleType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType) content.GetValueForProperty("CapacityScaleType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityScaleType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityMinimum = (int) content.GetValueForProperty("CapacityMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityMaximum = (int) content.GetValueForProperty("CapacityMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityDefault = (int) content.GetValueForProperty("CapacityDefault",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal)this).CapacityDefault, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureResourceSku(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureResourceSku(content); } @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzure /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/AzureResourceSku.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/AzureResourceSku.TypeConverter.cs index ff2c260eaedf..9988c38a6adf 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureResourceSku.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.cs b/src/Kusto/generated/api/Models/Api202101/AzureResourceSku.cs similarity index 63% rename from src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.cs rename to src/Kusto/generated/api/Models/Api202101/AzureResourceSku.cs index ca8fa697d893..cf14bcfc0c0b 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureResourceSku.cs @@ -1,41 +1,41 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Azure resource SKU definition. public partial class AzureResourceSku : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity _capacity; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity _capacity; /// The number of instances of the cluster. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity Capacity { get => (this._capacity = this._capacity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureCapacity()); set => this._capacity = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity Capacity { get => (this._capacity = this._capacity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureCapacity()); set => this._capacity = value; } /// The default capacity that would be used. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int CapacityDefault { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)Capacity).Default; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)Capacity).Default = value; } + public int? CapacityDefault { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)Capacity).Default; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)Capacity).Default = value ?? default(int); } /// Maximum allowed capacity. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int CapacityMaximum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)Capacity).Maximum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)Capacity).Maximum = value; } + public int? CapacityMaximum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)Capacity).Maximum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)Capacity).Maximum = value ?? default(int); } /// Minimum allowed capacity. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int CapacityMinimum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)Capacity).Minimum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)Capacity).Minimum = value; } + public int? CapacityMinimum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)Capacity).Minimum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)Capacity).Minimum = value ?? default(int); } /// Scale type. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType CapacityScaleType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)Capacity).ScaleType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacityInternal)Capacity).ScaleType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType? CapacityScaleType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)Capacity).ScaleType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacityInternal)Capacity).ScaleType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType)""); } /// Internal Acessors for Capacity - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal.Capacity { get => (this._capacity = this._capacity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureCapacity()); set { {_capacity = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal.Capacity { get => (this._capacity = this._capacity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureCapacity()); set { {_capacity = value;} } } /// Internal Acessors for Sku - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSkuInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku()); set { {_sku = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSkuInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku()); set { {_sku = value;} } } /// Backing field for property. private string _resourceType; @@ -45,23 +45,23 @@ public partial class AzureResourceSku : public string ResourceType { get => this._resourceType; set => this._resourceType = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku _sku; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku _sku; /// The SKU details. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku()); set => this._sku = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku()); set => this._sku = value; } /// The number of instances of the cluster. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Capacity = value; } + public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Capacity = value ?? default(int); } /// SKU name. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Name = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName? SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Name = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName)""); } /// SKU tier. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Tier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Tier = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier)""); } /// Creates an new instance. public AzureResourceSku() @@ -75,36 +75,36 @@ public partial interface IAzureResourceSku : { /// The default capacity that would be used. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The default capacity that would be used.", SerializedName = @"default", PossibleTypes = new [] { typeof(int) })] - int CapacityDefault { get; set; } + int? CapacityDefault { get; set; } /// Maximum allowed capacity. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Maximum allowed capacity.", SerializedName = @"maximum", PossibleTypes = new [] { typeof(int) })] - int CapacityMaximum { get; set; } + int? CapacityMaximum { get; set; } /// Minimum allowed capacity. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Minimum allowed capacity.", SerializedName = @"minimum", PossibleTypes = new [] { typeof(int) })] - int CapacityMinimum { get; set; } + int? CapacityMinimum { get; set; } /// Scale type. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Scale type.", SerializedName = @"scaleType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType CapacityScaleType { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType? CapacityScaleType { get; set; } /// Resource Namespace and Type. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -123,20 +123,20 @@ public partial interface IAzureResourceSku : int? SkuCapacity { get; set; } /// SKU name. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"SKU name.", SerializedName = @"name", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName? SkuName { get; set; } /// SKU tier. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"SKU tier.", SerializedName = @"tier", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier? SkuTier { get; set; } } /// Azure resource SKU definition. @@ -144,25 +144,25 @@ internal partial interface IAzureResourceSkuInternal { /// The number of instances of the cluster. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureCapacity Capacity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureCapacity Capacity { get; set; } /// The default capacity that would be used. - int CapacityDefault { get; set; } + int? CapacityDefault { get; set; } /// Maximum allowed capacity. - int CapacityMaximum { get; set; } + int? CapacityMaximum { get; set; } /// Minimum allowed capacity. - int CapacityMinimum { get; set; } + int? CapacityMinimum { get; set; } /// Scale type. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType CapacityScaleType { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureScaleType? CapacityScaleType { get; set; } /// Resource Namespace and Type. string ResourceType { get; set; } /// The SKU details. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku Sku { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku Sku { get; set; } /// The number of instances of the cluster. int? SkuCapacity { get; set; } /// SKU name. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName? SkuName { get; set; } /// SKU tier. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier? SkuTier { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.json.cs b/src/Kusto/generated/api/Models/Api202101/AzureResourceSku.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.json.cs rename to src/Kusto/generated/api/Models/Api202101/AzureResourceSku.json.cs index c9012c81fde4..a8c28da32cd3 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureResourceSku.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureResourceSku.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,20 +58,20 @@ internal AzureResourceSku(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json. { return; } - {_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku.FromJson(__jsonSku) : Sku;} - {_capacity = If( json?.PropertyT("capacity"), out var __jsonCapacity) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureCapacity.FromJson(__jsonCapacity) : Capacity;} + {_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku.FromJson(__jsonSku) : Sku;} + {_capacity = If( json?.PropertyT("capacity"), out var __jsonCapacity) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureCapacity.FromJson(__jsonCapacity) : Capacity;} {_resourceType = If( json?.PropertyT("resourceType"), out var __jsonResourceType) ? (string)__jsonResourceType : (string)ResourceType;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new AzureResourceSku(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureSku.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/AzureSku.PowerShell.cs similarity index 73% rename from src/Kusto/generated/api/Models/Api20200918/AzureSku.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/AzureSku.PowerShell.cs index ecc334cb31fb..7f66dc2df19e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureSku.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureSku.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class AzureSku partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,14 +61,14 @@ internal AzureSku(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Tier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Tier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Tier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Tier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -81,34 +81,34 @@ internal AzureSku(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Tier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)this).Tier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Capacity = (int?) content.GetValueForProperty("Capacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Capacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Tier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)this).Tier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureSku(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureSku(content); } @@ -118,7 +118,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzure /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureSku.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/AzureSku.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/AzureSku.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/AzureSku.TypeConverter.cs index a09958a1d855..0cab2121e593 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureSku.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureSku.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureSku.cs b/src/Kusto/generated/api/Models/Api202101/AzureSku.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/AzureSku.cs rename to src/Kusto/generated/api/Models/Api202101/AzureSku.cs index a1a7f6a7d4ce..948c198a48a7 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureSku.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureSku.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Azure SKU definition. public partial class AzureSku : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/AzureSku.json.cs b/src/Kusto/generated/api/Models/Api202101/AzureSku.json.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/AzureSku.json.cs rename to src/Kusto/generated/api/Models/Api202101/AzureSku.json.cs index 5f4eaec699b8..7585e1db9695 100644 --- a/src/Kusto/generated/api/Models/Api20200918/AzureSku.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/AzureSku.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -65,13 +65,13 @@ internal AzureSku(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObje } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new AzureSku(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/CheckNameRequest.PowerShell.cs similarity index 78% rename from src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/CheckNameRequest.PowerShell.cs index 98005bf5110b..38d6f820409b 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/CheckNameRequest.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class CheckNameRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,13 +61,13 @@ internal CheckNameRequest(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequestInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -80,33 +80,33 @@ internal CheckNameRequest(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequestInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CheckNameRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CheckNameRequest(content); } @@ -116,7 +116,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheck /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/CheckNameRequest.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/CheckNameRequest.TypeConverter.cs index 106bdce0e487..b163c77c9046 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/CheckNameRequest.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.cs b/src/Kusto/generated/api/Models/Api202101/CheckNameRequest.cs similarity index 93% rename from src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.cs rename to src/Kusto/generated/api/Models/Api202101/CheckNameRequest.cs index 64ce93fadd30..57ef3d4e9665 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.cs +++ b/src/Kusto/generated/api/Models/Api202101/CheckNameRequest.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The result returned from a database check name availability request. public partial class CheckNameRequest : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequestInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.json.cs b/src/Kusto/generated/api/Models/Api202101/CheckNameRequest.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.json.cs rename to src/Kusto/generated/api/Models/Api202101/CheckNameRequest.json.cs index f12f75aa94a4..200380aae71e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CheckNameRequest.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/CheckNameRequest.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -64,13 +64,13 @@ internal CheckNameRequest(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json. } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new CheckNameRequest(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/CheckNameResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/CheckNameResult.PowerShell.cs similarity index 70% rename from src/Kusto/generated/api/Models/Api20200918/CheckNameResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/CheckNameResult.PowerShell.cs index 16b7186c4d0c..96f804e955be 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CheckNameResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/CheckNameResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class CheckNameResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,15 +61,15 @@ internal CheckNameResult(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Message, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Reason = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Reason?) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Reason, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Reason.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Reason = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Reason?) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Reason, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Reason.CreateFrom); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,35 +82,35 @@ internal CheckNameResult(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Message, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Reason = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Reason?) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal)this).Reason, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Reason.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Reason = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Reason?) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal)this).Reason, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Reason.CreateFrom); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CheckNameResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CheckNameResult(content); } @@ -120,7 +120,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheck /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/CheckNameResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/CheckNameResult.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/CheckNameResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/CheckNameResult.TypeConverter.cs index 3cee4cb767a3..7e2bf64883f7 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CheckNameResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/CheckNameResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/CheckNameResult.cs b/src/Kusto/generated/api/Models/Api202101/CheckNameResult.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/CheckNameResult.cs rename to src/Kusto/generated/api/Models/Api202101/CheckNameResult.cs index 3002b5b902b2..9a9bab21b435 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CheckNameResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/CheckNameResult.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The result returned from a check name availability request. public partial class CheckNameResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResultInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/CheckNameResult.json.cs b/src/Kusto/generated/api/Models/Api202101/CheckNameResult.json.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/CheckNameResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/CheckNameResult.json.cs index 26f7f4d95139..5f1e0208568d 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CheckNameResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/CheckNameResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -66,13 +66,13 @@ internal CheckNameResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.J } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new CheckNameResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/CloudError.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/CloudError.PowerShell.cs similarity index 65% rename from src/Kusto/generated/api/Models/Api20200918/CloudError.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/CloudError.PowerShell.cs index 8b81c4481cb9..408ad1769967 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CloudError.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/CloudError.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class CloudError partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,16 +61,16 @@ internal CloudError(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBodyTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Code, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Message, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Target, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBodyTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBodyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBodyTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -83,36 +83,36 @@ internal CloudError(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBodyTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Code, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Message, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Target, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBodyTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBodyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBodyTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudError DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudError DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CloudError(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CloudError(content); } @@ -122,7 +122,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloud /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/CloudError.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/CloudError.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/CloudError.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/CloudError.TypeConverter.cs index 67cf01c71d97..218bf8343db3 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CloudError.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/CloudError.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudError ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudError ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudError).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudError).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/CloudError.cs b/src/Kusto/generated/api/Models/Api202101/CloudError.cs similarity index 71% rename from src/Kusto/generated/api/Models/Api20200918/CloudError.cs rename to src/Kusto/generated/api/Models/Api202101/CloudError.cs index 1e57d0bf9edb..b856abfebf04 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CloudError.cs +++ b/src/Kusto/generated/api/Models/Api202101/CloudError.cs @@ -1,44 +1,44 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// An error response from Kusto. public partial class CloudError : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudError, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudError, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal { /// /// An identifier for the error. Codes are invariant and are intended to be consumed programmatically. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)Error).Code = value; } + public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)Error).Code = value ?? null; } /// A list of additional details about the error. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)Error).Detail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)Error).Detail = value ?? null /* arrayOf */; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody _error; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody _error; /// An error response from Kusto. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBody()); set => this._error = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBody()); set => this._error = value; } /// /// A message describing the error, intended to be suitable for displaying in a user interface. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)Error).Message = value; } + public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)Error).Message = value ?? null; } /// Internal Acessors for Error - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBody()); set { {_error = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBody()); set { {_error = value;} } } /// /// The target of the particular error. For example, the name of the property in error. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)Error).Target = value; } + public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)Error).Target = value ?? null; } /// Creates an new instance. public CloudError() @@ -66,8 +66,8 @@ public partial interface ICloudError : ReadOnly = false, Description = @"A list of additional details about the error.", SerializedName = @"details", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[] Detail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[] Detail { get; set; } /// /// A message describing the error, intended to be suitable for displaying in a user interface. /// @@ -99,9 +99,9 @@ internal partial interface ICloudErrorInternal /// string Code { get; set; } /// A list of additional details about the error. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[] Detail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[] Detail { get; set; } /// An error response from Kusto. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody Error { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody Error { get; set; } /// /// A message describing the error, intended to be suitable for displaying in a user interface. /// diff --git a/src/Kusto/generated/api/Models/Api20200918/CloudError.json.cs b/src/Kusto/generated/api/Models/Api202101/CloudError.json.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/CloudError.json.cs rename to src/Kusto/generated/api/Models/Api202101/CloudError.json.cs index 98c389fc43db..a0f4edd2ccdf 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CloudError.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/CloudError.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal CloudError(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonOb { return; } - {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBody.FromJson(__jsonError) : Error;} + {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBody.FromJson(__jsonError) : Error;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudError. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudError. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudError. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudError. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudError FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudError FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new CloudError(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/CloudErrorBody.PowerShell.cs similarity index 68% rename from src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/CloudErrorBody.PowerShell.cs index e8489923dbb9..6df197b9fff4 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/CloudErrorBody.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class CloudErrorBody partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,15 +61,15 @@ internal CloudErrorBody(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Code, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Message, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Target, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBodyTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBodyTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,35 +82,35 @@ internal CloudErrorBody(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Code, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Message, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Target, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBodyTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBodyTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CloudErrorBody(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CloudErrorBody(content); } @@ -120,7 +120,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloud /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/CloudErrorBody.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/CloudErrorBody.TypeConverter.cs index fe125fa220bb..50ca62be7319 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/CloudErrorBody.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.cs b/src/Kusto/generated/api/Models/Api202101/CloudErrorBody.cs similarity index 89% rename from src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.cs rename to src/Kusto/generated/api/Models/Api202101/CloudErrorBody.cs index 1bebefe53be7..a68790085030 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.cs +++ b/src/Kusto/generated/api/Models/Api202101/CloudErrorBody.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// An error response from Kusto. public partial class CloudErrorBody : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBodyInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBodyInternal { /// Backing field for property. @@ -18,11 +18,11 @@ public partial class CloudErrorBody : public string Code { get => this._code; set => this._code = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[] _detail; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[] _detail; /// A list of additional details about the error. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[] Detail { get => this._detail; set => this._detail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[] Detail { get => this._detail; set => this._detail = value; } /// Backing field for property. private string _message; @@ -68,8 +68,8 @@ public partial interface ICloudErrorBody : ReadOnly = false, Description = @"A list of additional details about the error.", SerializedName = @"details", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[] Detail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[] Detail { get; set; } /// /// A message describing the error, intended to be suitable for displaying in a user interface. /// @@ -101,7 +101,7 @@ internal partial interface ICloudErrorBodyInternal /// string Code { get; set; } /// A list of additional details about the error. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody[] Detail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody[] Detail { get; set; } /// /// A message describing the error, intended to be suitable for displaying in a user interface. /// diff --git a/src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.json.cs b/src/Kusto/generated/api/Models/Api202101/CloudErrorBody.json.cs similarity index 93% rename from src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.json.cs rename to src/Kusto/generated/api/Models/Api202101/CloudErrorBody.json.cs index 31c7a1c91332..363e5324ffe7 100644 --- a/src/Kusto/generated/api/Models/Api20200918/CloudErrorBody.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/CloudErrorBody.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -61,18 +61,18 @@ internal CloudErrorBody(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.Js {_code = If( json?.PropertyT("code"), out var __jsonCode) ? (string)__jsonCode : (string)Code;} {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;} {_target = If( json?.PropertyT("target"), out var __jsonTarget) ? (string)__jsonTarget : (string)Target;} - {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBody.FromJson(__u) )) ))() : null : Detail;} + {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBody.FromJson(__u) )) ))() : null : Detail;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICloudErrorBody FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICloudErrorBody FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new CloudErrorBody(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api202101/Cluster.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/Cluster.PowerShell.cs new file mode 100644 index 000000000000..78d2237e0dd3 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/Cluster.PowerShell.cs @@ -0,0 +1,217 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Class representing a Kusto cluster. + [System.ComponentModel.TypeConverter(typeof(ClusterTypeConverter))] + public partial class Cluster + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal Cluster(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSkuTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Zone = (string[]) content.GetValueForProperty("Zone",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Zone, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Etag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.TrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscaleTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfigurationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsListTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).DataIngestionUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).StateReason, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TrustedExternalTenantTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionTypeConverter.ConvertFrom)); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal Cluster(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSkuTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Zone = (string[]) content.GetValueForProperty("Zone",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Zone, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Etag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.TrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscaleTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfigurationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsListTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).DataIngestionUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).StateReason, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TrustedExternalTenantTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionTypeConverter.ConvertFrom)); + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new Cluster(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new Cluster(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Class representing a Kusto cluster. + [System.ComponentModel.TypeConverter(typeof(ClusterTypeConverter))] + public partial interface ICluster + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/Cluster.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/Cluster.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/Cluster.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/Cluster.TypeConverter.cs index 10655b0f7bc4..295838c6a7ad 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Cluster.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/Cluster.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/Cluster.cs b/src/Kusto/generated/api/Models/Api202101/Cluster.cs similarity index 68% rename from src/Kusto/generated/api/Models/Api20200918/Cluster.cs rename to src/Kusto/generated/api/Models/Api202101/Cluster.cs index 515a72b0ab6c..db1907401c7a 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Cluster.cs +++ b/src/Kusto/generated/api/Models/Api202101/Cluster.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing a Kusto cluster. public partial class Cluster : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// @@ -16,86 +16,93 @@ public partial class Cluster : /// The cluster data ingestion URI. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string DataIngestionUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).DataIngestionUri; } + public string DataIngestionUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).DataIngestionUri; } /// A boolean value that indicates if the cluster's disks are encrypted. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool? EnableDiskEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableDiskEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableDiskEncryption = value; } + public bool? EnableDiskEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableDiskEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableDiskEncryption = value ?? default(bool); } /// A boolean value that indicates if double encryption is enabled. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool? EnableDoubleEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableDoubleEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableDoubleEncryption = value; } + public bool? EnableDoubleEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableDoubleEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableDoubleEncryption = value ?? default(bool); } /// A boolean value that indicates if the purge operations are enabled. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool? EnablePurge { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnablePurge; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnablePurge = value; } + public bool? EnablePurge { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnablePurge; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnablePurge = value ?? default(bool); } /// A boolean value that indicates if the streaming ingest is enabled. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool? EnableStreamingIngest { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableStreamingIngest; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableStreamingIngest = value; } + public bool? EnableStreamingIngest { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableStreamingIngest; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableStreamingIngest = value ?? default(bool); } /// The engine type [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType? EngineType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EngineType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EngineType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType? EngineType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EngineType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EngineType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType)""); } + + /// Backing field for property. + private string _etag; + + /// A unique read-only string that changes whenever the resource is updated. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string Etag { get => this._etag; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__trackedResource).Id; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity _identity; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity _identity; /// The identity of the cluster, if configured. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Identity()); set => this._identity = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Identity()); set => this._identity = value; } /// The principal ID of resource identity. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).PrincipalId; } + public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).PrincipalId; } /// The tenant ID of resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).TenantId; } + public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).TenantId; } /// /// The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity /// and a set of user-assigned identities. The type 'None' will remove all identities. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).Type = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).Type = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType)""); } /// /// 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}'. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).UserAssignedIdentity = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; } /// The name of the key vault key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyKeyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyName = value; } + public string KeyVaultPropertyKeyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyName = value ?? null; } /// The Uri of the key vault. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyKeyVaultUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVaultUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVaultUri = value; } + public string KeyVaultPropertyKeyVaultUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVaultUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVaultUri = value ?? null; } /// The version of the key vault key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyKeyVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVersion = value; } + public string KeyVaultPropertyKeyVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVersion = value ?? null; } /// The user assigned identity (ARM resource id) that has access to the key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyUserIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyUserIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyUserIdentity = value; } + public string KeyVaultPropertyUserIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyUserIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyUserIdentity = value ?? null; } /// The list of language extensions. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).LanguageExtensionValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).LanguageExtensionValue = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] LanguageExtensionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).LanguageExtensionValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).LanguageExtensionValue = value ?? null /* arrayOf */; } /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)__trackedResource).Location = value; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)__trackedResource).Location = value ; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__trackedResource).Id = value; } @@ -107,46 +114,49 @@ public partial class Cluster : string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__trackedResource).Type = value; } /// Internal Acessors for DataIngestionUri - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.DataIngestionUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).DataIngestionUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).DataIngestionUri = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.DataIngestionUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).DataIngestionUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).DataIngestionUri = value; } + + /// Internal Acessors for Etag + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.Etag { get => this._etag; set { {_etag = value;} } } /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Identity()); set { {_identity = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Identity()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).PrincipalId = value; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).TenantId = value; } /// Internal Acessors for KeyVaultProperty - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.KeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.KeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultProperty = value; } /// Internal Acessors for LanguageExtension - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.LanguageExtension { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).LanguageExtension; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).LanguageExtension = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.LanguageExtension { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).LanguageExtension; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).LanguageExtension = value; } /// Internal Acessors for OptimizedAutoscale - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.OptimizedAutoscale { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscale; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscale = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.OptimizedAutoscale { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscale; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscale = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for Sku - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku()); set { {_sku = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku()); set { {_sku = value;} } } /// Internal Acessors for State - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).State = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).State = value; } /// Internal Acessors for StateReason - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.StateReason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).StateReason; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).StateReason = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.StateReason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).StateReason; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).StateReason = value; } /// Internal Acessors for Uri - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).Uri = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).Uri = value; } /// Internal Acessors for VirtualNetworkConfiguration - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterInternal.VirtualNetworkConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterInternal.VirtualNetworkConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfiguration = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] @@ -156,87 +166,87 @@ public partial class Cluster : /// A boolean value that indicate if the optimized autoscale feature is enabled or not. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool OptimizedAutoscaleIsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleIsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleIsEnabled = value; } + public bool? OptimizedAutoscaleIsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleIsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleIsEnabled = value ?? default(bool); } /// Maximum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int OptimizedAutoscaleMaximum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleMaximum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleMaximum = value; } + public int? OptimizedAutoscaleMaximum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleMaximum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleMaximum = value ?? default(int); } /// Minimum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int OptimizedAutoscaleMinimum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleMinimum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleMinimum = value; } + public int? OptimizedAutoscaleMinimum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleMinimum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleMinimum = value ?? default(int); } /// The version of the template defined, for instance 1. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int OptimizedAutoscaleVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleVersion = value; } + public int? OptimizedAutoscaleVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleVersion = value ?? default(int); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties _property; /// The cluster properties. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterProperties()); set => this._property = value; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).ProvisioningState; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku _sku; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku _sku; /// The SKU of the cluster. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku()); set => this._sku = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku()); set => this._sku = value; } /// The number of instances of the cluster. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Capacity = value; } + public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Capacity = value ?? default(int); } /// SKU name. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Name = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Name = value ; } /// SKU tier. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Tier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Tier = value ; } /// The state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).State; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).State; } /// The reason for the cluster's current state. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string StateReason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).StateReason; } + public string StateReason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).StateReason; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)__trackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)__trackedResource).Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)__trackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ITrackedResourceInternal)__trackedResource).Tag = value ?? null /* model class */; } /// The cluster's external tenants. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).TrustedExternalTenant; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).TrustedExternalTenant = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).TrustedExternalTenant; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).TrustedExternalTenant = value ?? null /* arrayOf */; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__trackedResource).Type; } /// The cluster URI. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).Uri; } + public string Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).Uri; } /// Data management's service public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string VirtualNetworkConfigurationDataManagementPublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationDataManagementPublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationDataManagementPublicIPId = value; } + public string VirtualNetworkConfigurationDataManagementPublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationDataManagementPublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationDataManagementPublicIPId = value ?? null; } /// Engine service's public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string VirtualNetworkConfigurationEnginePublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationEnginePublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationEnginePublicIPId = value; } + public string VirtualNetworkConfigurationEnginePublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationEnginePublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationEnginePublicIPId = value ?? null; } /// The subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string VirtualNetworkConfigurationSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationSubnetId = value; } + public string VirtualNetworkConfigurationSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationSubnetId = value ?? null; } /// Backing field for property. private string[] _zone; @@ -316,6 +326,14 @@ public partial interface ICluster : SerializedName = @"engineType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType) })] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType? EngineType { get; set; } + /// A unique read-only string that changes whenever the resource is updated. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"A unique read-only string that changes whenever the resource is updated.", + SerializedName = @"etag", + PossibleTypes = new [] { typeof(string) })] + string Etag { get; } /// The principal ID of resource identity. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -337,12 +355,12 @@ public partial interface ICluster : /// and a set of user-assigned identities. The type 'None' will remove all identities. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities.", SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType? IdentityType { get; set; } /// /// 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}'. @@ -352,11 +370,11 @@ public partial interface ICluster : ReadOnly = false, Description = @"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}'.", SerializedName = @"userAssignedIdentities", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get; set; } /// The name of the key vault key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The name of the key vault key.", SerializedName = @"keyName", @@ -364,7 +382,7 @@ public partial interface ICluster : string KeyVaultPropertyKeyName { get; set; } /// The Uri of the key vault. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The Uri of the key vault.", SerializedName = @"keyVaultUri", @@ -392,42 +410,42 @@ public partial interface ICluster : ReadOnly = false, Description = @"The list of language extensions.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] LanguageExtensionValue { get; set; } /// /// A boolean value that indicate if the optimized autoscale feature is enabled or not. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"A boolean value that indicate if the optimized autoscale feature is enabled or not.", SerializedName = @"isEnabled", PossibleTypes = new [] { typeof(bool) })] - bool OptimizedAutoscaleIsEnabled { get; set; } + bool? OptimizedAutoscaleIsEnabled { get; set; } /// Maximum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Maximum allowed instances count.", SerializedName = @"maximum", PossibleTypes = new [] { typeof(int) })] - int OptimizedAutoscaleMaximum { get; set; } + int? OptimizedAutoscaleMaximum { get; set; } /// Minimum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Minimum allowed instances count.", SerializedName = @"minimum", PossibleTypes = new [] { typeof(int) })] - int OptimizedAutoscaleMinimum { get; set; } + int? OptimizedAutoscaleMinimum { get; set; } /// The version of the template defined, for instance 1. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The version of the template defined, for instance 1.", SerializedName = @"version", PossibleTypes = new [] { typeof(int) })] - int OptimizedAutoscaleVersion { get; set; } + int? OptimizedAutoscaleVersion { get; set; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -482,8 +500,8 @@ public partial interface ICluster : ReadOnly = false, Description = @"The cluster's external tenants.", SerializedName = @"trustedExternalTenants", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } /// The cluster URI. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -494,7 +512,7 @@ public partial interface ICluster : string Uri { get; } /// Data management's service public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Data management's service public IP address resource id.", SerializedName = @"dataManagementPublicIpId", @@ -502,7 +520,7 @@ public partial interface ICluster : string VirtualNetworkConfigurationDataManagementPublicIPId { get; set; } /// Engine service's public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Engine service's public IP address resource id.", SerializedName = @"enginePublicIpId", @@ -510,7 +528,7 @@ public partial interface ICluster : string VirtualNetworkConfigurationEnginePublicIPId { get; set; } /// The subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The subnet resource id.", SerializedName = @"subnetId", @@ -542,8 +560,10 @@ internal partial interface IClusterInternal : bool? EnableStreamingIngest { get; set; } /// The engine type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType? EngineType { get; set; } + /// A unique read-only string that changes whenever the resource is updated. + string Etag { get; set; } /// The identity of the cluster, if configured. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity Identity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity Identity { get; set; } /// The principal ID of resource identity. string IdentityPrincipalId { get; set; } /// The tenant ID of resource. @@ -552,14 +572,14 @@ internal partial interface IClusterInternal : /// The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity /// and a set of user-assigned identities. The type 'None' will remove all identities. /// - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType? IdentityType { get; set; } /// /// 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}'. /// - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get; set; } /// KeyVault properties for the cluster encryption. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties KeyVaultProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties KeyVaultProperty { get; set; } /// The name of the key vault key. string KeyVaultPropertyKeyName { get; set; } /// The Uri of the key vault. @@ -569,27 +589,27 @@ internal partial interface IClusterInternal : /// The user assigned identity (ARM resource id) that has access to the key. string KeyVaultPropertyUserIdentity { get; set; } /// List of the cluster's language extensions. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList LanguageExtension { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList LanguageExtension { get; set; } /// The list of language extensions. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] LanguageExtensionValue { get; set; } /// Optimized auto scale definition. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale OptimizedAutoscale { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale OptimizedAutoscale { get; set; } /// /// A boolean value that indicate if the optimized autoscale feature is enabled or not. /// - bool OptimizedAutoscaleIsEnabled { get; set; } + bool? OptimizedAutoscaleIsEnabled { get; set; } /// Maximum allowed instances count. - int OptimizedAutoscaleMaximum { get; set; } + int? OptimizedAutoscaleMaximum { get; set; } /// Minimum allowed instances count. - int OptimizedAutoscaleMinimum { get; set; } + int? OptimizedAutoscaleMinimum { get; set; } /// The version of the template defined, for instance 1. - int OptimizedAutoscaleVersion { get; set; } + int? OptimizedAutoscaleVersion { get; set; } /// The cluster properties. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties Property { get; set; } /// The provisioned state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } /// The SKU of the cluster. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku Sku { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku Sku { get; set; } /// The number of instances of the cluster. int? SkuCapacity { get; set; } /// SKU name. @@ -601,11 +621,11 @@ internal partial interface IClusterInternal : /// The reason for the cluster's current state. string StateReason { get; set; } /// The cluster's external tenants. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } /// The cluster URI. string Uri { get; set; } /// Virtual network definition. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration VirtualNetworkConfiguration { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration VirtualNetworkConfiguration { get; set; } /// Data management's service public IP address resource id. string VirtualNetworkConfigurationDataManagementPublicIPId { get; set; } /// Engine service's public IP address resource id. diff --git a/src/Kusto/generated/api/Models/Api20200918/Cluster.json.cs b/src/Kusto/generated/api/Models/Api202101/Cluster.json.cs similarity index 88% rename from src/Kusto/generated/api/Models/Api20200918/Cluster.json.cs rename to src/Kusto/generated/api/Models/Api202101/Cluster.json.cs index 5ad7deaa4940..63fd6298ec6d 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Cluster.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/Cluster.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -59,21 +59,22 @@ internal Cluster(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObjec return; } __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.TrackedResource(json); - {_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku.FromJson(__jsonSku) : Sku;} - {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Identity.FromJson(__jsonIdentity) : Identity;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterProperties.FromJson(__jsonProperties) : Property;} + {_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku.FromJson(__jsonSku) : Sku;} + {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Identity.FromJson(__jsonIdentity) : Identity;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterProperties.FromJson(__jsonProperties) : Property;} {_zone = If( json?.PropertyT("zones"), out var __jsonZones) ? If( __jsonZones as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : Zone;} + {_etag = If( json?.PropertyT("etag"), out var __jsonEtag) ? (string)__jsonEtag : (string)Etag;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new Cluster(json) : null; } @@ -110,6 +111,10 @@ public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Mic } container.Add("zones",__w); } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._etag)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._etag.ToString()) : null, "etag" ,container.Add ); + } AfterToJson(ref container); return container; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.PowerShell.cs similarity index 77% rename from src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.PowerShell.cs index 0e2d7a3e6a5c..a707904490fc 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class ClusterCheckNameRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,13 +61,13 @@ internal ClusterCheckNameRequest(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequestInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequestInternal)this).Type, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -80,33 +80,33 @@ internal ClusterCheckNameRequest(global::System.Management.Automation.PSObject c return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequestInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequestInternal)this).Type, global::System.Convert.ToString); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClusterCheckNameRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClusterCheckNameRequest(content); } @@ -116,7 +116,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClust /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.TypeConverter.cs index ca2e50fe6e64..07edb6c3d753 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.cs b/src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.cs similarity index 76% rename from src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.cs index 0d662b378988..c6e147022ec1 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.cs @@ -1,13 +1,16 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The result returned from a cluster check name availability request. public partial class ClusterCheckNameRequest : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequestInternal { + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequestInternal.Type { get => this._type; set { {_type = value;} } } + /// Backing field for property. private string _name; @@ -16,11 +19,11 @@ public partial class ClusterCheckNameRequest : public string Name { get => this._name; set => this._name = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type _type; + private string _type= @"Microsoft.Kusto/clusters"; /// The type of resource, Microsoft.Kusto/clusters. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => this._type; set => this._type = value; } + public string Type { get => this._type; } /// Creates an new instance. public ClusterCheckNameRequest() @@ -43,11 +46,11 @@ public partial interface IClusterCheckNameRequest : /// The type of resource, Microsoft.Kusto/clusters. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = true, - ReadOnly = false, + ReadOnly = true, Description = @"The type of resource, Microsoft.Kusto/clusters.", SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get; set; } + PossibleTypes = new [] { typeof(string) })] + string Type { get; } } /// The result returned from a cluster check name availability request. @@ -57,7 +60,7 @@ internal partial interface IClusterCheckNameRequestInternal /// Cluster name. string Name { get; set; } /// The type of resource, Microsoft.Kusto/clusters. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get; set; } + string Type { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.json.cs b/src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.json.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.json.cs index a73003eac00e..fb54ddd7eadc 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterCheckNameRequest.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterCheckNameRequest.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -64,13 +64,13 @@ internal ClusterCheckNameRequest(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtim } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ClusterCheckNameRequest(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ClusterListResult.PowerShell.cs similarity index 79% rename from src/Kusto/generated/api/Models/Api20200918/ClusterListResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterListResult.PowerShell.cs index 0121292e1741..2cf4432ebc1f 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterListResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterListResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class ClusterListResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal ClusterListResult(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,32 +79,32 @@ internal ClusterListResult(global::System.Management.Automation.PSObject content return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClusterListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClusterListResult(content); } @@ -114,7 +114,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClust /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ClusterListResult.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/ClusterListResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterListResult.TypeConverter.cs index 6d335ddc1967..3120e864566c 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterListResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterListResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterListResult.cs b/src/Kusto/generated/api/Models/Api202101/ClusterListResult.cs similarity index 73% rename from src/Kusto/generated/api/Models/Api20200918/ClusterListResult.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterListResult.cs index 95d1cc146356..bffa54b7317d 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterListResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterListResult.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list Kusto clusters operation response. public partial class ClusterListResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster[] _value; /// The list of Kusto clusters. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public ClusterListResult() @@ -31,8 +31,8 @@ public partial interface IClusterListResult : ReadOnly = false, Description = @"The list of Kusto clusters.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster[] Value { get; set; } } /// The list Kusto clusters operation response. @@ -40,7 +40,7 @@ internal partial interface IClusterListResultInternal { /// The list of Kusto clusters. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/ClusterListResult.json.cs similarity index 91% rename from src/Kusto/generated/api/Models/Api20200918/ClusterListResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterListResult.json.cs index ae132997d706..d4730541cedf 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterListResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterListResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal ClusterListResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Cluster.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Cluster.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ClusterListResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.PowerShell.cs similarity index 60% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.PowerShell.cs index 5689af829985..3964e11e555e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class ClusterPrincipalAssignment partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,22 +61,22 @@ internal ClusterPrincipalAssignment(global::System.Collections.IDictionary conte return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalPropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).TenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).TenantName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).TenantName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalName, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -89,42 +89,42 @@ internal ClusterPrincipalAssignment(global::System.Management.Automation.PSObjec return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalPropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).TenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).TenantName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal)this).PrincipalName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).TenantName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal)this).PrincipalName, global::System.Convert.ToString); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClusterPrincipalAssignment(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClusterPrincipalAssignment(content); } @@ -134,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClust /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.TypeConverter.cs index 578a8c39338e..bec8c792dd2f 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.cs similarity index 74% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.cs index e2dee314561a..7c55bca9626a 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing a cluster principal assignment. public partial class ClusterPrincipalAssignment : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// @@ -14,7 +14,7 @@ public partial class ClusterPrincipalAssignment : private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(); /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; } @@ -29,16 +29,16 @@ public partial class ClusterPrincipalAssignment : string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type = value; } /// Internal Acessors for PrincipalName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal.PrincipalName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).PrincipalName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).PrincipalName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal.PrincipalName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).PrincipalName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).PrincipalName = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for TenantName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentInternal.TenantName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).TenantName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).TenantName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentInternal.TenantName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).TenantName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).TenantName = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] @@ -48,41 +48,41 @@ public partial class ClusterPrincipalAssignment : /// The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).PrincipalId = value; } + public string PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).PrincipalId = value ?? null; } /// The principal name [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string PrincipalName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).PrincipalName; } + public string PrincipalName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).PrincipalName; } /// Principal type. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType PrincipalType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).PrincipalType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).PrincipalType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType? PrincipalType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).PrincipalType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).PrincipalType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties _property; /// The cluster principal. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalProperties()); set => this._property = value; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).ProvisioningState; } /// Cluster principal role. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole Role { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).Role; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).Role = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole? Role { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).Role; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).Role = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole)""); } /// The tenant id of the principal [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).TenantId = value; } + public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).TenantId = value ?? null; } /// The tenant name of the principal [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string TenantName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)Property).TenantName; } + public string TenantName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)Property).TenantName; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; } @@ -114,7 +114,7 @@ public partial interface IClusterPrincipalAssignment : /// The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.", SerializedName = @"principalId", @@ -130,12 +130,12 @@ public partial interface IClusterPrincipalAssignment : string PrincipalName { get; } /// Principal type. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Principal type.", SerializedName = @"principalType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType PrincipalType { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType? PrincipalType { get; set; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -146,12 +146,12 @@ public partial interface IClusterPrincipalAssignment : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; } /// Cluster principal role. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Cluster principal role.", SerializedName = @"role", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole Role { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole? Role { get; set; } /// The tenant id of the principal [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -181,13 +181,13 @@ internal partial interface IClusterPrincipalAssignmentInternal : /// The principal name string PrincipalName { get; set; } /// Principal type. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType PrincipalType { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType? PrincipalType { get; set; } /// The cluster principal. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties Property { get; set; } /// The provisioned state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } /// Cluster principal role. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole Role { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole? Role { get; set; } /// The tenant id of the principal string TenantId { get; set; } /// The tenant name of the principal diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.json.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.json.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.json.cs index 02351057667c..d13420c55151 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignment.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignment.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -59,18 +59,18 @@ internal ClusterPrincipalAssignment(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Run return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ClusterPrincipalAssignment(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.PowerShell.cs similarity index 75% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.PowerShell.cs index 1c85b40d924e..825abf450afc 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class ClusterPrincipalAssignmentCheckNameRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,13 +61,13 @@ internal ClusterPrincipalAssignmentCheckNameRequest(global::System.Collections.I return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Type, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -80,35 +80,35 @@ internal ClusterPrincipalAssignmentCheckNameRequest(global::System.Management.Au return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequestInternal)this).Type, global::System.Convert.ToString); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClusterPrincipalAssignmentCheckNameRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClusterPrincipalAssignmentCheckNameRequest(content); } @@ -119,7 +119,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClust /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.TypeConverter.cs index 9e0b939e54c9..413ad5b8981a 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -104,14 +104,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.cs similarity index 77% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.cs index 70347c5bdb95..592e6270b64d 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.cs @@ -1,13 +1,16 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A principal assignment check name availability request. public partial class ClusterPrincipalAssignmentCheckNameRequest : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequestInternal { + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequestInternal.Type { get => this._type; set { {_type = value;} } } + /// Backing field for property. private string _name; @@ -16,11 +19,11 @@ public partial class ClusterPrincipalAssignmentCheckNameRequest : public string Name { get => this._name; set => this._name = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type _type; + private string _type= @"Microsoft.Kusto/Clusters/principalAssignments"; /// The type of resource, Microsoft.Kusto/Clusters/principalAssignments. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => this._type; set => this._type = value; } + public string Type { get => this._type; } /// /// Creates an new instance. @@ -45,11 +48,11 @@ public partial interface IClusterPrincipalAssignmentCheckNameRequest : /// The type of resource, Microsoft.Kusto/Clusters/principalAssignments. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = true, - ReadOnly = false, + ReadOnly = true, Description = @"The type of resource, Microsoft.Kusto/Clusters/principalAssignments.", SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get; set; } + PossibleTypes = new [] { typeof(string) })] + string Type { get; } } /// A principal assignment check name availability request. @@ -59,7 +62,7 @@ internal partial interface IClusterPrincipalAssignmentCheckNameRequestInternal /// Principal Assignment resource name. string Name { get; set; } /// The type of resource, Microsoft.Kusto/Clusters/principalAssignments. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get; set; } + string Type { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.json.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.json.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.json.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.json.cs index ddbf6eefe867..e9c5f611c7a0 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentCheckNameRequest.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentCheckNameRequest.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -64,13 +64,13 @@ internal ClusterPrincipalAssignmentCheckNameRequest(Microsoft.Azure.PowerShell.C } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ClusterPrincipalAssignmentCheckNameRequest(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.PowerShell.cs similarity index 76% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.PowerShell.cs index 15ae43cfc682..efbf59263665 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class ClusterPrincipalAssignmentListResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal ClusterPrincipalAssignmentListResult(global::System.Collections.IDictio return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignmentTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignmentTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,34 +79,34 @@ internal ClusterPrincipalAssignmentListResult(global::System.Management.Automati return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignmentTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignmentTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClusterPrincipalAssignmentListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClusterPrincipalAssignmentListResult(content); } @@ -116,7 +116,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClust /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.TypeConverter.cs index a1f0efbf597b..7363bdba9587 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -103,14 +103,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.cs similarity index 72% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.cs index e4341f37ec39..7405006354c8 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list Kusto cluster principal assignments operation response. public partial class ClusterPrincipalAssignmentListResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment[] _value; /// The list of Kusto cluster principal assignments. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public ClusterPrincipalAssignmentListResult() @@ -31,8 +31,8 @@ public partial interface IClusterPrincipalAssignmentListResult : ReadOnly = false, Description = @"The list of Kusto cluster principal assignments.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment[] Value { get; set; } } /// The list Kusto cluster principal assignments operation response. @@ -40,7 +40,7 @@ internal partial interface IClusterPrincipalAssignmentListResultInternal { /// The list of Kusto cluster principal assignments. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.json.cs similarity index 90% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.json.cs index 3b199852f799..4420cfe31f77 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalAssignmentListResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalAssignmentListResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal ClusterPrincipalAssignmentListResult(Microsoft.Azure.PowerShell.Cmdlets { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignment.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignment.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ClusterPrincipalAssignmentListResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.PowerShell.cs similarity index 58% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.PowerShell.cs index d619263967bd..3353b528dfbe 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class ClusterPrincipalProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,18 +61,18 @@ internal ClusterPrincipalProperties(global::System.Collections.IDictionary conte return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).TenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).TenantName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).TenantName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,38 +85,38 @@ internal ClusterPrincipalProperties(global::System.Management.Automation.PSObjec return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).TenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).TenantName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).PrincipalName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).TenantName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).PrincipalName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClusterPrincipalProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClusterPrincipalProperties(content); } @@ -126,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClust /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.TypeConverter.cs index dc37edda7077..ffde9ab7726e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.cs similarity index 93% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.cs index d6625bc26ecd..97af0f79f0a2 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.cs @@ -1,21 +1,21 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A class representing cluster principal property. public partial class ClusterPrincipalProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal { /// Internal Acessors for PrincipalName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal.PrincipalName { get => this._principalName; set { {_principalName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal.PrincipalName { get => this._principalName; set { {_principalName = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for TenantName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalPropertiesInternal.TenantName { get => this._tenantName; set { {_tenantName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalPropertiesInternal.TenantName { get => this._tenantName; set { {_tenantName = value;} } } /// Backing field for property. private string _principalId; diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.json.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.json.cs index c1fe65b1bdaf..bc421734ccc4 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterPrincipalProperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterPrincipalProperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -69,13 +69,13 @@ internal ClusterPrincipalProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Run } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ClusterPrincipalProperties(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api202101/ClusterProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ClusterProperties.PowerShell.cs new file mode 100644 index 000000000000..535678fa2476 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ClusterProperties.PowerShell.cs @@ -0,0 +1,183 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Class representing the Kusto cluster properties. + [System.ComponentModel.TypeConverter(typeof(ClusterPropertiesTypeConverter))] + public partial class ClusterProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscaleTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfigurationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsListTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).DataIngestionUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).StateReason, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TrustedExternalTenantTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionTypeConverter.ConvertFrom)); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscaleTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfigurationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsListTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).DataIngestionUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).StateReason, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TrustedExternalTenantTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionTypeConverter.ConvertFrom)); + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Class representing the Kusto cluster properties. + [System.ComponentModel.TypeConverter(typeof(ClusterPropertiesTypeConverter))] + public partial interface IClusterProperties + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ClusterProperties.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/ClusterProperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterProperties.TypeConverter.cs index 7d30a09a9028..6d8d471fda73 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterProperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterProperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterProperties.cs b/src/Kusto/generated/api/Models/Api202101/ClusterProperties.cs similarity index 72% rename from src/Kusto/generated/api/Models/Api20200918/ClusterProperties.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterProperties.cs index dee6dc03b7fd..29b6383dfb16 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterProperties.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterProperties.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing the Kusto cluster properties. public partial class ClusterProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal { /// Backing field for property. @@ -51,90 +51,90 @@ public partial class ClusterProperties : public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType? EngineType { get => this._engineType; set => this._engineType = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties _keyVaultProperty; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties _keyVaultProperty; /// KeyVault properties for the cluster encryption. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties KeyVaultProperty { get => (this._keyVaultProperty = this._keyVaultProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultProperties()); set => this._keyVaultProperty = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties KeyVaultProperty { get => (this._keyVaultProperty = this._keyVaultProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultProperties()); set => this._keyVaultProperty = value; } /// The name of the key vault key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyKeyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyName = value; } + public string KeyVaultPropertyKeyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyName = value ?? null; } /// The Uri of the key vault. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyKeyVaultUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyVaultUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyVaultUri = value; } + public string KeyVaultPropertyKeyVaultUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyVaultUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyVaultUri = value ?? null; } /// The version of the key vault key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyKeyVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyVersion = value; } + public string KeyVaultPropertyKeyVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)KeyVaultProperty).KeyVersion = value ?? null; } /// The user assigned identity (ARM resource id) that has access to the key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyUserIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)KeyVaultProperty).UserIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)KeyVaultProperty).UserIdentity = value; } + public string KeyVaultPropertyUserIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)KeyVaultProperty).UserIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)KeyVaultProperty).UserIdentity = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList _languageExtension; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList _languageExtension; /// List of the cluster's language extensions. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList LanguageExtension { get => (this._languageExtension = this._languageExtension ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsList()); } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList LanguageExtension { get => (this._languageExtension = this._languageExtension ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsList()); } /// The list of language extensions. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsListInternal)LanguageExtension).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsListInternal)LanguageExtension).Value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] LanguageExtensionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsListInternal)LanguageExtension).Value; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsListInternal)LanguageExtension).Value = value ?? null /* arrayOf */; } /// Internal Acessors for DataIngestionUri - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal.DataIngestionUri { get => this._dataIngestionUri; set { {_dataIngestionUri = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal.DataIngestionUri { get => this._dataIngestionUri; set { {_dataIngestionUri = value;} } } /// Internal Acessors for KeyVaultProperty - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal.KeyVaultProperty { get => (this._keyVaultProperty = this._keyVaultProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultProperties()); set { {_keyVaultProperty = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal.KeyVaultProperty { get => (this._keyVaultProperty = this._keyVaultProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultProperties()); set { {_keyVaultProperty = value;} } } /// Internal Acessors for LanguageExtension - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal.LanguageExtension { get => (this._languageExtension = this._languageExtension ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsList()); set { {_languageExtension = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal.LanguageExtension { get => (this._languageExtension = this._languageExtension ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsList()); set { {_languageExtension = value;} } } /// Internal Acessors for OptimizedAutoscale - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal.OptimizedAutoscale { get => (this._optimizedAutoscale = this._optimizedAutoscale ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscale()); set { {_optimizedAutoscale = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal.OptimizedAutoscale { get => (this._optimizedAutoscale = this._optimizedAutoscale ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscale()); set { {_optimizedAutoscale = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for State - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal.State { get => this._state; set { {_state = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal.State { get => this._state; set { {_state = value;} } } /// Internal Acessors for StateReason - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal.StateReason { get => this._stateReason; set { {_stateReason = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal.StateReason { get => this._stateReason; set { {_stateReason = value;} } } /// Internal Acessors for Uri - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal.Uri { get => this._uri; set { {_uri = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal.Uri { get => this._uri; set { {_uri = value;} } } /// Internal Acessors for VirtualNetworkConfiguration - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal.VirtualNetworkConfiguration { get => (this._virtualNetworkConfiguration = this._virtualNetworkConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfiguration()); set { {_virtualNetworkConfiguration = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal.VirtualNetworkConfiguration { get => (this._virtualNetworkConfiguration = this._virtualNetworkConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfiguration()); set { {_virtualNetworkConfiguration = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale _optimizedAutoscale; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale _optimizedAutoscale; /// Optimized auto scale definition. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale OptimizedAutoscale { get => (this._optimizedAutoscale = this._optimizedAutoscale ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscale()); set => this._optimizedAutoscale = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale OptimizedAutoscale { get => (this._optimizedAutoscale = this._optimizedAutoscale ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscale()); set => this._optimizedAutoscale = value; } /// /// A boolean value that indicate if the optimized autoscale feature is enabled or not. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool OptimizedAutoscaleIsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)OptimizedAutoscale).IsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)OptimizedAutoscale).IsEnabled = value; } + public bool? OptimizedAutoscaleIsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)OptimizedAutoscale).IsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)OptimizedAutoscale).IsEnabled = value ?? default(bool); } /// Maximum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int OptimizedAutoscaleMaximum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)OptimizedAutoscale).Maximum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)OptimizedAutoscale).Maximum = value; } + public int? OptimizedAutoscaleMaximum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)OptimizedAutoscale).Maximum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)OptimizedAutoscale).Maximum = value ?? default(int); } /// Minimum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int OptimizedAutoscaleMinimum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)OptimizedAutoscale).Minimum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)OptimizedAutoscale).Minimum = value; } + public int? OptimizedAutoscaleMinimum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)OptimizedAutoscale).Minimum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)OptimizedAutoscale).Minimum = value ?? default(int); } /// The version of the template defined, for instance 1. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int OptimizedAutoscaleVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)OptimizedAutoscale).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)OptimizedAutoscale).Version = value; } + public int? OptimizedAutoscaleVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)OptimizedAutoscale).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)OptimizedAutoscale).Version = value ?? default(int); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? _provisioningState; @@ -158,11 +158,11 @@ public partial class ClusterProperties : public string StateReason { get => this._stateReason; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] _trustedExternalTenant; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] _trustedExternalTenant; /// The cluster's external tenants. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get => this._trustedExternalTenant; set => this._trustedExternalTenant = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get => this._trustedExternalTenant; set => this._trustedExternalTenant = value; } /// Backing field for property. private string _uri; @@ -172,23 +172,23 @@ public partial class ClusterProperties : public string Uri { get => this._uri; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration _virtualNetworkConfiguration; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration _virtualNetworkConfiguration; /// Virtual network definition. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration VirtualNetworkConfiguration { get => (this._virtualNetworkConfiguration = this._virtualNetworkConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfiguration()); set => this._virtualNetworkConfiguration = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration VirtualNetworkConfiguration { get => (this._virtualNetworkConfiguration = this._virtualNetworkConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfiguration()); set => this._virtualNetworkConfiguration = value; } /// Data management's service public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string VirtualNetworkConfigurationDataManagementPublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).DataManagementPublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).DataManagementPublicIPId = value; } + public string VirtualNetworkConfigurationDataManagementPublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).DataManagementPublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).DataManagementPublicIPId = value ?? null; } /// Engine service's public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string VirtualNetworkConfigurationEnginePublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).EnginePublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).EnginePublicIPId = value; } + public string VirtualNetworkConfigurationEnginePublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).EnginePublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).EnginePublicIPId = value ?? null; } /// The subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string VirtualNetworkConfigurationSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).SubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).SubnetId = value; } + public string VirtualNetworkConfigurationSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).SubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)VirtualNetworkConfiguration).SubnetId = value ?? null; } /// Creates an new instance. public ClusterProperties() @@ -250,7 +250,7 @@ public partial interface IClusterProperties : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType? EngineType { get; set; } /// The name of the key vault key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The name of the key vault key.", SerializedName = @"keyName", @@ -258,7 +258,7 @@ public partial interface IClusterProperties : string KeyVaultPropertyKeyName { get; set; } /// The Uri of the key vault. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The Uri of the key vault.", SerializedName = @"keyVaultUri", @@ -286,42 +286,42 @@ public partial interface IClusterProperties : ReadOnly = false, Description = @"The list of language extensions.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] LanguageExtensionValue { get; set; } /// /// A boolean value that indicate if the optimized autoscale feature is enabled or not. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"A boolean value that indicate if the optimized autoscale feature is enabled or not.", SerializedName = @"isEnabled", PossibleTypes = new [] { typeof(bool) })] - bool OptimizedAutoscaleIsEnabled { get; set; } + bool? OptimizedAutoscaleIsEnabled { get; set; } /// Maximum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Maximum allowed instances count.", SerializedName = @"maximum", PossibleTypes = new [] { typeof(int) })] - int OptimizedAutoscaleMaximum { get; set; } + int? OptimizedAutoscaleMaximum { get; set; } /// Minimum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Minimum allowed instances count.", SerializedName = @"minimum", PossibleTypes = new [] { typeof(int) })] - int OptimizedAutoscaleMinimum { get; set; } + int? OptimizedAutoscaleMinimum { get; set; } /// The version of the template defined, for instance 1. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The version of the template defined, for instance 1.", SerializedName = @"version", PossibleTypes = new [] { typeof(int) })] - int OptimizedAutoscaleVersion { get; set; } + int? OptimizedAutoscaleVersion { get; set; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -352,8 +352,8 @@ public partial interface IClusterProperties : ReadOnly = false, Description = @"The cluster's external tenants.", SerializedName = @"trustedExternalTenants", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } /// The cluster URI. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -364,7 +364,7 @@ public partial interface IClusterProperties : string Uri { get; } /// Data management's service public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Data management's service public IP address resource id.", SerializedName = @"dataManagementPublicIpId", @@ -372,7 +372,7 @@ public partial interface IClusterProperties : string VirtualNetworkConfigurationDataManagementPublicIPId { get; set; } /// Engine service's public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Engine service's public IP address resource id.", SerializedName = @"enginePublicIpId", @@ -380,7 +380,7 @@ public partial interface IClusterProperties : string VirtualNetworkConfigurationEnginePublicIPId { get; set; } /// The subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The subnet resource id.", SerializedName = @"subnetId", @@ -405,7 +405,7 @@ internal partial interface IClusterPropertiesInternal /// The engine type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType? EngineType { get; set; } /// KeyVault properties for the cluster encryption. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties KeyVaultProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties KeyVaultProperty { get; set; } /// The name of the key vault key. string KeyVaultPropertyKeyName { get; set; } /// The Uri of the key vault. @@ -415,21 +415,21 @@ internal partial interface IClusterPropertiesInternal /// The user assigned identity (ARM resource id) that has access to the key. string KeyVaultPropertyUserIdentity { get; set; } /// List of the cluster's language extensions. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList LanguageExtension { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList LanguageExtension { get; set; } /// The list of language extensions. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] LanguageExtensionValue { get; set; } /// Optimized auto scale definition. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale OptimizedAutoscale { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale OptimizedAutoscale { get; set; } /// /// A boolean value that indicate if the optimized autoscale feature is enabled or not. /// - bool OptimizedAutoscaleIsEnabled { get; set; } + bool? OptimizedAutoscaleIsEnabled { get; set; } /// Maximum allowed instances count. - int OptimizedAutoscaleMaximum { get; set; } + int? OptimizedAutoscaleMaximum { get; set; } /// Minimum allowed instances count. - int OptimizedAutoscaleMinimum { get; set; } + int? OptimizedAutoscaleMinimum { get; set; } /// The version of the template defined, for instance 1. - int OptimizedAutoscaleVersion { get; set; } + int? OptimizedAutoscaleVersion { get; set; } /// The provisioned state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } /// The state of the resource. @@ -437,11 +437,11 @@ internal partial interface IClusterPropertiesInternal /// The reason for the cluster's current state. string StateReason { get; set; } /// The cluster's external tenants. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } /// The cluster URI. string Uri { get; set; } /// Virtual network definition. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration VirtualNetworkConfiguration { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration VirtualNetworkConfiguration { get; set; } /// Data management's service public IP address resource id. string VirtualNetworkConfigurationDataManagementPublicIPId { get; set; } /// Engine service's public IP address resource id. diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/ClusterProperties.json.cs similarity index 92% rename from src/Kusto/generated/api/Models/Api20200918/ClusterProperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterProperties.json.cs index 30f80d8e32b4..22f32ea4a189 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterProperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterProperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,16 +58,16 @@ internal ClusterProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json { return; } - {_optimizedAutoscale = If( json?.PropertyT("optimizedAutoscale"), out var __jsonOptimizedAutoscale) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscale.FromJson(__jsonOptimizedAutoscale) : OptimizedAutoscale;} - {_virtualNetworkConfiguration = If( json?.PropertyT("virtualNetworkConfiguration"), out var __jsonVirtualNetworkConfiguration) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfiguration.FromJson(__jsonVirtualNetworkConfiguration) : VirtualNetworkConfiguration;} - {_keyVaultProperty = If( json?.PropertyT("keyVaultProperties"), out var __jsonKeyVaultProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultProperties.FromJson(__jsonKeyVaultProperties) : KeyVaultProperty;} - {_languageExtension = If( json?.PropertyT("languageExtensions"), out var __jsonLanguageExtensions) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsList.FromJson(__jsonLanguageExtensions) : LanguageExtension;} + {_optimizedAutoscale = If( json?.PropertyT("optimizedAutoscale"), out var __jsonOptimizedAutoscale) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscale.FromJson(__jsonOptimizedAutoscale) : OptimizedAutoscale;} + {_virtualNetworkConfiguration = If( json?.PropertyT("virtualNetworkConfiguration"), out var __jsonVirtualNetworkConfiguration) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfiguration.FromJson(__jsonVirtualNetworkConfiguration) : VirtualNetworkConfiguration;} + {_keyVaultProperty = If( json?.PropertyT("keyVaultProperties"), out var __jsonKeyVaultProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultProperties.FromJson(__jsonKeyVaultProperties) : KeyVaultProperty;} + {_languageExtension = If( json?.PropertyT("languageExtensions"), out var __jsonLanguageExtensions) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsList.FromJson(__jsonLanguageExtensions) : LanguageExtension;} {_state = If( json?.PropertyT("state"), out var __jsonState) ? (string)__jsonState : (string)State;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} {_uri = If( json?.PropertyT("uri"), out var __jsonUri) ? (string)__jsonUri : (string)Uri;} {_dataIngestionUri = If( json?.PropertyT("dataIngestionUri"), out var __jsonDataIngestionUri) ? (string)__jsonDataIngestionUri : (string)DataIngestionUri;} {_stateReason = If( json?.PropertyT("stateReason"), out var __jsonStateReason) ? (string)__jsonStateReason : (string)StateReason;} - {_trustedExternalTenant = If( json?.PropertyT("trustedExternalTenants"), out var __jsonTrustedExternalTenants) ? If( __jsonTrustedExternalTenants as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.TrustedExternalTenant.FromJson(__u) )) ))() : null : TrustedExternalTenant;} + {_trustedExternalTenant = If( json?.PropertyT("trustedExternalTenants"), out var __jsonTrustedExternalTenants) ? If( __jsonTrustedExternalTenants as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TrustedExternalTenant.FromJson(__u) )) ))() : null : TrustedExternalTenant;} {_enableDiskEncryption = If( json?.PropertyT("enableDiskEncryption"), out var __jsonEnableDiskEncryption) ? (bool?)__jsonEnableDiskEncryption : EnableDiskEncryption;} {_enableStreamingIngest = If( json?.PropertyT("enableStreamingIngest"), out var __jsonEnableStreamingIngest) ? (bool?)__jsonEnableStreamingIngest : EnableStreamingIngest;} {_enablePurge = If( json?.PropertyT("enablePurge"), out var __jsonEnablePurge) ? (bool?)__jsonEnablePurge : EnablePurge;} @@ -77,13 +77,13 @@ internal ClusterProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ClusterProperties(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api202101/ClusterUpdate.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ClusterUpdate.PowerShell.cs new file mode 100644 index 000000000000..6433849d283a --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ClusterUpdate.PowerShell.cs @@ -0,0 +1,213 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Class representing an update to a Kusto cluster. + [System.ComponentModel.TypeConverter(typeof(ClusterUpdateTypeConverter))] + public partial class ClusterUpdate + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterUpdate(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSkuTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdateTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscaleTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfigurationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsListTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).DataIngestionUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).StateReason, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TrustedExternalTenantTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionTypeConverter.ConvertFrom)); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterUpdate(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Sku = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku) content.GetValueForProperty("Sku",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Sku, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSkuTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdateTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscale = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale) content.GetValueForProperty("OptimizedAutoscale",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscale, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscaleTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EngineType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType?) content.GetValueForProperty("EngineType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EngineType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuName = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) content.GetValueForProperty("SkuName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuName, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuCapacity = (int?) content.GetValueForProperty("SkuCapacity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuCapacity, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuTier = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) content.GetValueForProperty("SkuTier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).SkuTier, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfiguration = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration) content.GetValueForProperty("VirtualNetworkConfiguration",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfigurationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties) content.GetValueForProperty("KeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).LanguageExtension = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList) content.GetValueForProperty("LanguageExtension",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).LanguageExtension, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsListTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).DataIngestionUri = (string) content.GetValueForProperty("DataIngestionUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).DataIngestionUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).StateReason = (string) content.GetValueForProperty("StateReason",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).StateReason, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).TrustedExternalTenant = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[]) content.GetValueForProperty("TrustedExternalTenant",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).TrustedExternalTenant, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TrustedExternalTenantTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableDiskEncryption = (bool?) content.GetValueForProperty("EnableDiskEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableDiskEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableStreamingIngest = (bool?) content.GetValueForProperty("EnableStreamingIngest",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableStreamingIngest, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnablePurge = (bool?) content.GetValueForProperty("EnablePurge",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnablePurge, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableDoubleEncryption = (bool?) content.GetValueForProperty("EnableDoubleEncryption",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).EnableDoubleEncryption, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleVersion = (int) content.GetValueForProperty("OptimizedAutoscaleVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleVersion, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleMinimum = (int) content.GetValueForProperty("OptimizedAutoscaleMinimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleMinimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleMaximum = (int) content.GetValueForProperty("OptimizedAutoscaleMaximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleMaximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationSubnetId = (string) content.GetValueForProperty("VirtualNetworkConfigurationSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationSubnetId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyName = (string) content.GetValueForProperty("KeyVaultPropertyKeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyVersion = (string) content.GetValueForProperty("KeyVaultPropertyKeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyUserIdentity = (string) content.GetValueForProperty("KeyVaultPropertyUserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyUserIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleIsEnabled = (bool) content.GetValueForProperty("OptimizedAutoscaleIsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).OptimizedAutoscaleIsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationEnginePublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationEnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationEnginePublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId = (string) content.GetValueForProperty("VirtualNetworkConfigurationDataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).VirtualNetworkConfigurationDataManagementPublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyVaultUri = (string) content.GetValueForProperty("KeyVaultPropertyKeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).KeyVaultPropertyKeyVaultUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).LanguageExtensionValue = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[]) content.GetValueForProperty("LanguageExtensionValue",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal)this).LanguageExtensionValue, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionTypeConverter.ConvertFrom)); + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterUpdate(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterUpdate(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Class representing an update to a Kusto cluster. + [System.ComponentModel.TypeConverter(typeof(ClusterUpdateTypeConverter))] + public partial interface IClusterUpdate + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ClusterUpdate.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterUpdate.TypeConverter.cs index fb91c660c034..a8f55e72abe5 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterUpdate.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.cs b/src/Kusto/generated/api/Models/Api202101/ClusterUpdate.cs similarity index 67% rename from src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterUpdate.cs index 7137074a2086..93b46fea5d7f 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterUpdate.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing an update to a Kusto cluster. public partial class ClusterUpdate : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// @@ -15,82 +15,82 @@ public partial class ClusterUpdate : /// The cluster data ingestion URI. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string DataIngestionUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).DataIngestionUri; } + public string DataIngestionUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).DataIngestionUri; } /// A boolean value that indicates if the cluster's disks are encrypted. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool? EnableDiskEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableDiskEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableDiskEncryption = value; } + public bool? EnableDiskEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableDiskEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableDiskEncryption = value ?? default(bool); } /// A boolean value that indicates if double encryption is enabled. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool? EnableDoubleEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableDoubleEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableDoubleEncryption = value; } + public bool? EnableDoubleEncryption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableDoubleEncryption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableDoubleEncryption = value ?? default(bool); } /// A boolean value that indicates if the purge operations are enabled. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool? EnablePurge { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnablePurge; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnablePurge = value; } + public bool? EnablePurge { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnablePurge; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnablePurge = value ?? default(bool); } /// A boolean value that indicates if the streaming ingest is enabled. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool? EnableStreamingIngest { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableStreamingIngest; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EnableStreamingIngest = value; } + public bool? EnableStreamingIngest { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableStreamingIngest; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EnableStreamingIngest = value ?? default(bool); } /// The engine type [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType? EngineType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EngineType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).EngineType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType? EngineType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EngineType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).EngineType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType)""); } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity _identity; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity _identity; /// The identity of the cluster, if configured. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Identity()); set => this._identity = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Identity()); set => this._identity = value; } /// The principal ID of resource identity. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).PrincipalId; } + public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).PrincipalId; } /// The tenant ID of resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).TenantId; } + public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).TenantId; } /// /// The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity /// and a set of user-assigned identities. The type 'None' will remove all identities. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).Type = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType? IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).Type = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType)""); } /// /// 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}'. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).UserAssignedIdentity = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; } /// The name of the key vault key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyKeyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyName = value; } + public string KeyVaultPropertyKeyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyName = value ?? null; } /// The Uri of the key vault. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyKeyVaultUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVaultUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVaultUri = value; } + public string KeyVaultPropertyKeyVaultUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVaultUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVaultUri = value ?? null; } /// The version of the key vault key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyKeyVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVersion = value; } + public string KeyVaultPropertyKeyVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyKeyVersion = value ?? null; } /// The user assigned identity (ARM resource id) that has access to the key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string KeyVaultPropertyUserIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyUserIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultPropertyUserIdentity = value; } + public string KeyVaultPropertyUserIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyUserIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultPropertyUserIdentity = value ?? null; } /// The list of language extensions. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).LanguageExtensionValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).LanguageExtensionValue = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] LanguageExtensionValue { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).LanguageExtensionValue; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).LanguageExtensionValue = value ?? null /* arrayOf */; } /// Backing field for property. private string _location; @@ -109,46 +109,46 @@ public partial class ClusterUpdate : string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type = value; } /// Internal Acessors for DataIngestionUri - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.DataIngestionUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).DataIngestionUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).DataIngestionUri = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.DataIngestionUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).DataIngestionUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).DataIngestionUri = value; } /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Identity()); set { {_identity = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Identity()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).PrincipalId = value; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)Identity).TenantId = value; } /// Internal Acessors for KeyVaultProperty - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.KeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).KeyVaultProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.KeyVaultProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).KeyVaultProperty = value; } /// Internal Acessors for LanguageExtension - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.LanguageExtension { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).LanguageExtension; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).LanguageExtension = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.LanguageExtension { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).LanguageExtension; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).LanguageExtension = value; } /// Internal Acessors for OptimizedAutoscale - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.OptimizedAutoscale { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscale; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscale = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.OptimizedAutoscale { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscale; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscale = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for Sku - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku()); set { {_sku = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku()); set { {_sku = value;} } } /// Internal Acessors for State - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).State = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).State = value; } /// Internal Acessors for StateReason - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.StateReason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).StateReason; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).StateReason = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.StateReason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).StateReason; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).StateReason = value; } /// Internal Acessors for Uri - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).Uri = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).Uri = value; } /// Internal Acessors for VirtualNetworkConfiguration - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateInternal.VirtualNetworkConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateInternal.VirtualNetworkConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfiguration = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] @@ -158,90 +158,90 @@ public partial class ClusterUpdate : /// A boolean value that indicate if the optimized autoscale feature is enabled or not. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool OptimizedAutoscaleIsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleIsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleIsEnabled = value; } + public bool? OptimizedAutoscaleIsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleIsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleIsEnabled = value ?? default(bool); } /// Maximum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int OptimizedAutoscaleMaximum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleMaximum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleMaximum = value; } + public int? OptimizedAutoscaleMaximum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleMaximum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleMaximum = value ?? default(int); } /// Minimum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int OptimizedAutoscaleMinimum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleMinimum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleMinimum = value; } + public int? OptimizedAutoscaleMinimum { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleMinimum; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleMinimum = value ?? default(int); } /// The version of the template defined, for instance 1. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int OptimizedAutoscaleVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).OptimizedAutoscaleVersion = value; } + public int? OptimizedAutoscaleVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).OptimizedAutoscaleVersion = value ?? default(int); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties _property; /// The cluster properties. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterProperties()); set => this._property = value; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).ProvisioningState; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku _sku; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku _sku; /// The SKU of the cluster. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku()); set => this._sku = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku Sku { get => (this._sku = this._sku ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku()); set => this._sku = value; } /// The number of instances of the cluster. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Capacity = value; } + public int? SkuCapacity { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Capacity; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Capacity = value ?? default(int); } /// SKU name. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Name = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName? SkuName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Name = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName)""); } /// SKU tier. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSkuInternal)Sku).Tier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier? SkuTier { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Tier; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSkuInternal)Sku).Tier = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier)""); } /// The state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).State; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).State; } /// The reason for the cluster's current state. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string StateReason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).StateReason; } + public string StateReason { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).StateReason; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags _tag; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags _tag; /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdateTags()); set => this._tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdateTags()); set => this._tag = value; } /// The cluster's external tenants. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).TrustedExternalTenant; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).TrustedExternalTenant = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).TrustedExternalTenant; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).TrustedExternalTenant = value ?? null /* arrayOf */; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; } /// The cluster URI. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).Uri; } + public string Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).Uri; } /// Data management's service public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string VirtualNetworkConfigurationDataManagementPublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationDataManagementPublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationDataManagementPublicIPId = value; } + public string VirtualNetworkConfigurationDataManagementPublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationDataManagementPublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationDataManagementPublicIPId = value ?? null; } /// Engine service's public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string VirtualNetworkConfigurationEnginePublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationEnginePublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationEnginePublicIPId = value; } + public string VirtualNetworkConfigurationEnginePublicIPId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationEnginePublicIPId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationEnginePublicIPId = value ?? null; } /// The subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string VirtualNetworkConfigurationSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationSubnetId = value; } + public string VirtualNetworkConfigurationSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPropertiesInternal)Property).VirtualNetworkConfigurationSubnetId = value ?? null; } /// Creates an new instance. public ClusterUpdate() @@ -335,12 +335,12 @@ public partial interface IClusterUpdate : /// and a set of user-assigned identities. The type 'None' will remove all identities. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove all identities.", SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType? IdentityType { get; set; } /// /// 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}'. @@ -350,11 +350,11 @@ public partial interface IClusterUpdate : ReadOnly = false, Description = @"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}'.", SerializedName = @"userAssignedIdentities", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get; set; } /// The name of the key vault key. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The name of the key vault key.", SerializedName = @"keyName", @@ -362,7 +362,7 @@ public partial interface IClusterUpdate : string KeyVaultPropertyKeyName { get; set; } /// The Uri of the key vault. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The Uri of the key vault.", SerializedName = @"keyVaultUri", @@ -390,8 +390,8 @@ public partial interface IClusterUpdate : ReadOnly = false, Description = @"The list of language extensions.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] LanguageExtensionValue { get; set; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -404,36 +404,36 @@ public partial interface IClusterUpdate : /// A boolean value that indicate if the optimized autoscale feature is enabled or not. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"A boolean value that indicate if the optimized autoscale feature is enabled or not.", SerializedName = @"isEnabled", PossibleTypes = new [] { typeof(bool) })] - bool OptimizedAutoscaleIsEnabled { get; set; } + bool? OptimizedAutoscaleIsEnabled { get; set; } /// Maximum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Maximum allowed instances count.", SerializedName = @"maximum", PossibleTypes = new [] { typeof(int) })] - int OptimizedAutoscaleMaximum { get; set; } + int? OptimizedAutoscaleMaximum { get; set; } /// Minimum allowed instances count. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Minimum allowed instances count.", SerializedName = @"minimum", PossibleTypes = new [] { typeof(int) })] - int OptimizedAutoscaleMinimum { get; set; } + int? OptimizedAutoscaleMinimum { get; set; } /// The version of the template defined, for instance 1. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The version of the template defined, for instance 1.", SerializedName = @"version", PossibleTypes = new [] { typeof(int) })] - int OptimizedAutoscaleVersion { get; set; } + int? OptimizedAutoscaleVersion { get; set; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -452,20 +452,20 @@ public partial interface IClusterUpdate : int? SkuCapacity { get; set; } /// SKU name. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"SKU name.", SerializedName = @"name", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName? SkuName { get; set; } /// SKU tier. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"SKU tier.", SerializedName = @"tier", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier? SkuTier { get; set; } /// The state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -488,16 +488,16 @@ public partial interface IClusterUpdate : ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags Tag { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags Tag { get; set; } /// The cluster's external tenants. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, ReadOnly = false, Description = @"The cluster's external tenants.", SerializedName = @"trustedExternalTenants", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } /// The cluster URI. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -508,7 +508,7 @@ public partial interface IClusterUpdate : string Uri { get; } /// Data management's service public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Data management's service public IP address resource id.", SerializedName = @"dataManagementPublicIpId", @@ -516,7 +516,7 @@ public partial interface IClusterUpdate : string VirtualNetworkConfigurationDataManagementPublicIPId { get; set; } /// Engine service's public IP address resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Engine service's public IP address resource id.", SerializedName = @"enginePublicIpId", @@ -524,7 +524,7 @@ public partial interface IClusterUpdate : string VirtualNetworkConfigurationEnginePublicIPId { get; set; } /// The subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The subnet resource id.", SerializedName = @"subnetId", @@ -549,7 +549,7 @@ internal partial interface IClusterUpdateInternal : /// The engine type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EngineType? EngineType { get; set; } /// The identity of the cluster, if configured. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity Identity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity Identity { get; set; } /// The principal ID of resource identity. string IdentityPrincipalId { get; set; } /// The tenant ID of resource. @@ -558,14 +558,14 @@ internal partial interface IClusterUpdateInternal : /// The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity /// and a set of user-assigned identities. The type 'None' will remove all identities. /// - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType? IdentityType { get; set; } /// /// 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}'. /// - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get; set; } /// KeyVault properties for the cluster encryption. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties KeyVaultProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties KeyVaultProperty { get; set; } /// The name of the key vault key. string KeyVaultPropertyKeyName { get; set; } /// The Uri of the key vault. @@ -575,47 +575,47 @@ internal partial interface IClusterUpdateInternal : /// The user assigned identity (ARM resource id) that has access to the key. string KeyVaultPropertyUserIdentity { get; set; } /// List of the cluster's language extensions. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList LanguageExtension { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList LanguageExtension { get; set; } /// The list of language extensions. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] LanguageExtensionValue { get; set; } /// Resource location. string Location { get; set; } /// Optimized auto scale definition. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale OptimizedAutoscale { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale OptimizedAutoscale { get; set; } /// /// A boolean value that indicate if the optimized autoscale feature is enabled or not. /// - bool OptimizedAutoscaleIsEnabled { get; set; } + bool? OptimizedAutoscaleIsEnabled { get; set; } /// Maximum allowed instances count. - int OptimizedAutoscaleMaximum { get; set; } + int? OptimizedAutoscaleMaximum { get; set; } /// Minimum allowed instances count. - int OptimizedAutoscaleMinimum { get; set; } + int? OptimizedAutoscaleMinimum { get; set; } /// The version of the template defined, for instance 1. - int OptimizedAutoscaleVersion { get; set; } + int? OptimizedAutoscaleVersion { get; set; } /// The cluster properties. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterProperties Property { get; set; } /// The provisioned state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } /// The SKU of the cluster. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureSku Sku { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureSku Sku { get; set; } /// The number of instances of the cluster. int? SkuCapacity { get; set; } /// SKU name. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName? SkuName { get; set; } /// SKU tier. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier? SkuTier { get; set; } /// The state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.State? State { get; set; } /// The reason for the cluster's current state. string StateReason { get; set; } /// Resource tags. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags Tag { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags Tag { get; set; } /// The cluster's external tenants. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get; set; } /// The cluster URI. string Uri { get; set; } /// Virtual network definition. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration VirtualNetworkConfiguration { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration VirtualNetworkConfiguration { get; set; } /// Data management's service public IP address resource id. string VirtualNetworkConfigurationDataManagementPublicIPId { get; set; } /// Engine service's public IP address resource id. diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.json.cs b/src/Kusto/generated/api/Models/Api202101/ClusterUpdate.json.cs similarity index 92% rename from src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.json.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterUpdate.json.cs index 76c793cbfa1f..9d7dca7ad357 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdate.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterUpdate.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -59,22 +59,22 @@ internal ClusterUpdate(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.Jso return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(json); - {_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku.FromJson(__jsonSku) : Sku;} - {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Identity.FromJson(__jsonIdentity) : Identity;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterProperties.FromJson(__jsonProperties) : Property;} - {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdateTags.FromJson(__jsonTags) : Tag;} + {_sku = If( json?.PropertyT("sku"), out var __jsonSku) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku.FromJson(__jsonSku) : Sku;} + {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Identity.FromJson(__jsonIdentity) : Identity;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterProperties.FromJson(__jsonProperties) : Property;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdateTags.FromJson(__jsonTags) : Tag;} {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)Location;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ClusterUpdate(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.PowerShell.cs similarity index 89% rename from src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.PowerShell.cs index e1763d04e003..f70f2d50860e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class ClusterUpdateTags partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -67,7 +67,7 @@ internal ClusterUpdateTags(global::System.Collections.IDictionary content) } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -86,27 +86,27 @@ internal ClusterUpdateTags(global::System.Management.Automation.PSObject content } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClusterUpdateTags(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClusterUpdateTags(content); } @@ -116,7 +116,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClust /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.TypeConverter.cs index 132051e57bbd..a0db3f26ef71 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.cs b/src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.cs similarity index 79% rename from src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.cs index c3391fe143ad..a6848e385d74 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Resource tags. public partial class ClusterUpdateTags : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTagsInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTagsInternal { /// Creates an new instance. diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.dictionary.cs b/src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.dictionary.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.dictionary.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.dictionary.cs index 95b4bbaf09c1..77fde269bd7b 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.dictionary.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.dictionary.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -65,6 +65,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdateTags source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdateTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.json.cs b/src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.json.cs rename to src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.json.cs index 28f322997117..8e13739f7d79 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ClusterUpdateTags.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ClusterUpdateTags.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -64,13 +64,13 @@ internal ClusterUpdateTags(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ClusterUpdateTags(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs similarity index 72% rename from src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs index b6019dd7b6e0..8d44b52a12a6 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -47,7 +47,7 @@ public partial class ComponentsSgqdofSchemasIdentityPropertiesUserassignedidenti partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -60,13 +60,13 @@ internal ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAddition return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).ClientId = (string) content.GetValueForProperty("ClientId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).ClientId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).ClientId = (string) content.GetValueForProperty("ClientId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).ClientId, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,35 +79,35 @@ internal ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAddition return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).ClientId = (string) content.GetValueForProperty("ClientId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).ClientId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).ClientId = (string) content.GetValueForProperty("ClientId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal)this).ClientId, global::System.Convert.ToString); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties(content); } @@ -118,7 +118,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICompo /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs index 240c5588a55d..d6e79b4f1928 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// an instance of , or /// null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.cs b/src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.cs similarity index 81% rename from src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.cs rename to src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.cs index 356a837835bf..0c0cc86d60a2 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.cs +++ b/src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.cs @@ -1,10 +1,10 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; public partial class ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal { /// Backing field for property. @@ -15,10 +15,10 @@ public partial class ComponentsSgqdofSchemasIdentityPropertiesUserassignedidenti public string ClientId { get => this._clientId; } /// Internal Acessors for ClientId - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal.ClientId { get => this._clientId; set { {_clientId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal.ClientId { get => this._clientId; set { {_clientId = value;} } } /// Internal Acessors for PrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalpropertiesInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } /// Backing field for property. private string _principalId; diff --git a/src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs b/src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs index 30ce6d9f1fb0..36971940d8af 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -64,13 +64,13 @@ internal ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAddition } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnection.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DataConnection.PowerShell.cs similarity index 81% rename from src/Kusto/generated/api/Models/Api20200918/DataConnection.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnection.PowerShell.cs index b9307b0ba642..d4d35de9da0e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnection.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnection.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DataConnection partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,8 +61,8 @@ internal DataConnection(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind.CreateFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); @@ -70,7 +70,7 @@ internal DataConnection(global::System.Collections.IDictionary content) } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -83,8 +83,8 @@ internal DataConnection(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind.CreateFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); @@ -92,27 +92,27 @@ internal DataConnection(global::System.Management.Automation.PSObject content) } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DataConnection(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DataConnection(content); } @@ -122,7 +122,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataC /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnection.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DataConnection.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/DataConnection.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnection.TypeConverter.cs index 68e46e5b0b18..e1018003fce9 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnection.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnection.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnection.cs b/src/Kusto/generated/api/Models/Api202101/DataConnection.cs similarity index 89% rename from src/Kusto/generated/api/Models/Api20200918/DataConnection.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnection.cs index 7740a6cb45e9..a0d656a98ec8 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnection.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnection.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing an data connection. public partial class DataConnection : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// @@ -14,17 +14,17 @@ public partial class DataConnection : private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(); /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind _kind; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind _kind; /// Kind of the endpoint for the data connection [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => this._kind; set => this._kind = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get => this._kind; set => this._kind = value; } /// Backing field for property. private string _location; @@ -47,7 +47,7 @@ public partial class DataConnection : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; } @@ -81,8 +81,8 @@ public partial interface IDataConnection : ReadOnly = false, Description = @"Kind of the endpoint for the data connection", SerializedName = @"kind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get; set; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -98,7 +98,7 @@ internal partial interface IDataConnectionInternal : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal { /// Kind of the endpoint for the data connection - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get; set; } /// Resource location. string Location { get; set; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnection.json.cs b/src/Kusto/generated/api/Models/Api202101/DataConnection.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/DataConnection.json.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnection.json.cs index 54f724fe9457..c068c542a505 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnection.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnection.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -65,15 +65,15 @@ internal DataConnection(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.Js } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection interface is polymorphic, and the + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection interface is polymorphic, and the /// precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json)) { diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.PowerShell.cs similarity index 76% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.PowerShell.cs index aec6fa92b138..68afdd6ae627 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DataConnectionCheckNameRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,13 +61,13 @@ internal DataConnectionCheckNameRequest(global::System.Collections.IDictionary c return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequestInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequestInternal)this).Type, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -80,35 +80,33 @@ internal DataConnectionCheckNameRequest(global::System.Management.Automation.PSO return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequestInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequestInternal)this).Type, global::System.Convert.ToString); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DataConnectionCheckNameRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DataConnectionCheckNameRequest(content); } @@ -118,7 +116,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataC /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.TypeConverter.cs index b3a37e56929b..d25d4c342680 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.cs similarity index 76% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.cs index d2e314a7df0c..a95cfa69a523 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.cs @@ -1,13 +1,16 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A data connection check name availability request. public partial class DataConnectionCheckNameRequest : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequestInternal { + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequestInternal.Type { get => this._type; set { {_type = value;} } } + /// Backing field for property. private string _name; @@ -16,11 +19,11 @@ public partial class DataConnectionCheckNameRequest : public string Name { get => this._name; set => this._name = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type _type; + private string _type= @"Microsoft.Kusto/Clusters/Databases/dataConnections"; /// The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => this._type; set => this._type = value; } + public string Type { get => this._type; } /// Creates an new instance. public DataConnectionCheckNameRequest() @@ -43,11 +46,11 @@ public partial interface IDataConnectionCheckNameRequest : /// The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = true, - ReadOnly = false, + ReadOnly = true, Description = @"The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections.", SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get; set; } + PossibleTypes = new [] { typeof(string) })] + string Type { get; } } /// A data connection check name availability request. @@ -57,7 +60,7 @@ internal partial interface IDataConnectionCheckNameRequestInternal /// Data Connection name. string Name { get; set; } /// The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get; set; } + string Type { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.json.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.json.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.json.cs index 88617f282dda..d322f8bdad44 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionCheckNameRequest.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionCheckNameRequest.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -64,13 +64,13 @@ internal DataConnectionCheckNameRequest(Microsoft.Azure.PowerShell.Cmdlets.Kusto } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DataConnectionCheckNameRequest(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.PowerShell.cs similarity index 78% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.PowerShell.cs index 2baa0db0dc8d..8ca0777f8b12 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DataConnectionListResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal DataConnectionListResult(global::System.Collections.IDictionary content return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,32 +79,32 @@ internal DataConnectionListResult(global::System.Management.Automation.PSObject return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DataConnectionListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DataConnectionListResult(content); } @@ -114,7 +114,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataC /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.TypeConverter.cs index bddb0a455bf3..07e5f6526587 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.cs similarity index 72% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.cs index e40c39cb5997..8754c40b3ae2 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list Kusto data connections operation response. public partial class DataConnectionListResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection[] _value; /// The list of Kusto data connections. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public DataConnectionListResult() @@ -31,8 +31,8 @@ public partial interface IDataConnectionListResult : ReadOnly = false, Description = @"The list of Kusto data connections.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection[] Value { get; set; } } /// The list Kusto data connections operation response. @@ -40,7 +40,7 @@ internal partial interface IDataConnectionListResultInternal { /// The list of Kusto data connections. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.json.cs similarity index 91% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.json.cs index 210533e6729a..13343d778ba7 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionListResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionListResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal DataConnectionListResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runti { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DataConnectionListResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.PowerShell.cs similarity index 60% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.PowerShell.cs index db928cc612e7..2b51257b8439 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DataConnectionValidation partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,18 +61,18 @@ internal DataConnectionValidation(global::System.Collections.IDictionary content return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).DataConnectionName = (string) content.GetValueForProperty("DataConnectionName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).DataConnectionName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Id, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).DataConnectionName = (string) content.GetValueForProperty("DataConnectionName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).DataConnectionName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind.CreateFrom); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,38 +85,38 @@ internal DataConnectionValidation(global::System.Management.Automation.PSObject return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).DataConnectionName = (string) content.GetValueForProperty("DataConnectionName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).DataConnectionName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Id, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).DataConnectionName = (string) content.GetValueForProperty("DataConnectionName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).DataConnectionName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind.CreateFrom); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DataConnectionValidation(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DataConnectionValidation(content); } @@ -126,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataC /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.TypeConverter.cs index ab751e9ff8f6..3a2fcc47f029 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.cs similarity index 68% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.cs index 8e69329a3416..d9683e26772a 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing an data connection validation. public partial class DataConnectionValidation : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal { /// Backing field for property. @@ -16,44 +16,44 @@ public partial class DataConnectionValidation : public string DataConnectionName { get => this._dataConnectionName; set => this._dataConnectionName = value; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Id; } /// Kind of the endpoint for the data connection [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)Property).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)Property).Kind = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind? Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)Property).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)Property).Kind = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind)""); } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)Property).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)Property).Location = value; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)Property).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)Property).Location = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Name = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection()); set { {_property = value;} } } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Type = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection _property; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection _property; /// The data connection properties to validate. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection()); set => this._property = value; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)Property).Type; } @@ -77,23 +77,23 @@ public partial interface IDataConnectionValidation : PossibleTypes = new [] { typeof(string) })] string DataConnectionName { get; set; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, ReadOnly = true, - Description = @"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + Description = @"Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] string Id { get; } /// Kind of the endpoint for the data connection [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Kind of the endpoint for the data connection", SerializedName = @"kind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind? Kind { get; set; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -111,12 +111,12 @@ public partial interface IDataConnectionValidation : PossibleTypes = new [] { typeof(string) })] string Name { get; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, ReadOnly = true, - Description = @"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.", + Description = @"The type of the resource. E.g. ""Microsoft.Compute/virtualMachines"" or ""Microsoft.Storage/storageAccounts""", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string Type { get; } @@ -129,19 +129,19 @@ internal partial interface IDataConnectionValidationInternal /// The name of the data connection. string DataConnectionName { get; set; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// string Id { get; set; } /// Kind of the endpoint for the data connection - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind? Kind { get; set; } /// Resource location. string Location { get; set; } /// The name of the resource string Name { get; set; } /// The data connection properties to validate. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection Property { get; set; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// string Type { get; set; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.json.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.json.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.json.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.json.cs index 24d6126e7403..7a93b0f9484b 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidation.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidation.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,19 +58,19 @@ internal DataConnectionValidation(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runti { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection.FromJson(__jsonProperties) : Property;} {_dataConnectionName = If( json?.PropertyT("dataConnectionName"), out var __jsonDataConnectionName) ? (string)__jsonDataConnectionName : (string)DataConnectionName;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DataConnectionValidation(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.PowerShell.cs similarity index 76% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.PowerShell.cs index 1b43b2613d47..7a903c81bbe2 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DataConnectionValidationListResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal DataConnectionValidationListResult(global::System.Collections.IDictiona return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidationResultTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidationResultTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,34 +79,34 @@ internal DataConnectionValidationListResult(global::System.Management.Automation return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidationResultTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidationResultTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DataConnectionValidationListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DataConnectionValidationListResult(content); } @@ -116,7 +116,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataC /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.TypeConverter.cs index 58b97eabcc91..9d3ba6dc98f4 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -102,14 +102,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.cs similarity index 71% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.cs index fe5459a1bd4c..6efd620ba5ab 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list Kusto data connection validation result. public partial class DataConnectionValidationListResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult[] _value; /// The list of Kusto data connection validation errors. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public DataConnectionValidationListResult() @@ -31,8 +31,8 @@ public partial interface IDataConnectionValidationListResult : ReadOnly = false, Description = @"The list of Kusto data connection validation errors.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult[] Value { get; set; } } /// The list Kusto data connection validation result. @@ -40,7 +40,7 @@ internal partial interface IDataConnectionValidationListResultInternal { /// The list of Kusto data connection validation errors. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.json.cs similarity index 90% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.json.cs index ef067fac9069..754760ff131e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationListResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationListResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal DataConnectionValidationListResult(Microsoft.Azure.PowerShell.Cmdlets.K { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidationResult.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidationResult.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DataConnectionValidationListResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.PowerShell.cs similarity index 81% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.PowerShell.cs index f6ecb4d05669..6c25692cdfce 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DataConnectionValidationResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal DataConnectionValidationResult(global::System.Collections.IDictionary c return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResultInternal)this).ErrorMessage = (string) content.GetValueForProperty("ErrorMessage",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResultInternal)this).ErrorMessage, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResultInternal)this).ErrorMessage = (string) content.GetValueForProperty("ErrorMessage",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResultInternal)this).ErrorMessage, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,34 +79,32 @@ internal DataConnectionValidationResult(global::System.Management.Automation.PSO return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResultInternal)this).ErrorMessage = (string) content.GetValueForProperty("ErrorMessage",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResultInternal)this).ErrorMessage, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResultInternal)this).ErrorMessage = (string) content.GetValueForProperty("ErrorMessage",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResultInternal)this).ErrorMessage, global::System.Convert.ToString); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DataConnectionValidationResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DataConnectionValidationResult(content); } @@ -116,7 +114,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataC /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.TypeConverter.cs index 6163c8c8187b..d1245c308f37 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.cs similarity index 89% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.cs index e3d852400fdf..20bc33036744 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The result returned from a data connection validation request. public partial class DataConnectionValidationResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResultInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.json.cs b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.json.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.json.cs index 85214d78e56c..089a49ab844d 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DataConnectionValidationResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DataConnectionValidationResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -63,13 +63,13 @@ internal DataConnectionValidationResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DataConnectionValidationResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/Database.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/Database.PowerShell.cs similarity index 82% rename from src/Kusto/generated/api/Models/Api20200918/Database.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/Database.PowerShell.cs index 606df8712d7c..8206ee1dc693 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Database.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/Database.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class Database partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,8 +61,8 @@ internal Database(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); @@ -70,7 +70,7 @@ internal Database(global::System.Collections.IDictionary content) } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -83,8 +83,8 @@ internal Database(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); @@ -92,27 +92,27 @@ internal Database(global::System.Management.Automation.PSObject content) } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Database(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Database(content); } @@ -122,7 +122,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatab /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/Database.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/Database.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/Database.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/Database.TypeConverter.cs index b5a81f573d00..46aff8397b29 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Database.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/Database.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/Database.cs b/src/Kusto/generated/api/Models/Api202101/Database.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/Database.cs rename to src/Kusto/generated/api/Models/Api202101/Database.cs index 815c0b50f402..091994f181d4 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Database.cs +++ b/src/Kusto/generated/api/Models/Api202101/Database.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing a Kusto database. public partial class Database : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// @@ -14,7 +14,7 @@ public partial class Database : private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(); /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; } @@ -47,7 +47,7 @@ public partial class Database : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; } diff --git a/src/Kusto/generated/api/Models/Api20200918/Database.json.cs b/src/Kusto/generated/api/Models/Api202101/Database.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/Database.json.cs rename to src/Kusto/generated/api/Models/Api202101/Database.json.cs index 8ba26cb83385..c14b2bb8a45e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Database.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/Database.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -65,15 +65,15 @@ internal Database(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObje } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase interface is polymorphic, and the precise + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase interface is polymorphic, and the precise /// model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json)) { diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DatabaseListResult.PowerShell.cs similarity index 78% rename from src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DatabaseListResult.PowerShell.cs index 389df86a93af..3cfa2362bff9 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabaseListResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DatabaseListResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal DatabaseListResult(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,32 +79,32 @@ internal DatabaseListResult(global::System.Management.Automation.PSObject conten return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DatabaseListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatabaseListResult(content); } @@ -114,7 +114,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatab /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DatabaseListResult.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DatabaseListResult.TypeConverter.cs index 8413226776f7..51a6d1723621 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabaseListResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.cs b/src/Kusto/generated/api/Models/Api202101/DatabaseListResult.cs similarity index 73% rename from src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.cs rename to src/Kusto/generated/api/Models/Api202101/DatabaseListResult.cs index 2ab7c15f1134..26a880f16c5f 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabaseListResult.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list Kusto databases operation response. public partial class DatabaseListResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase[] _value; /// The list of Kusto databases. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public DatabaseListResult() @@ -31,8 +31,8 @@ public partial interface IDatabaseListResult : ReadOnly = false, Description = @"The list of Kusto databases.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase[] Value { get; set; } } /// The list Kusto databases operation response. @@ -40,7 +40,7 @@ internal partial interface IDatabaseListResultInternal { /// The list of Kusto databases. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/DatabaseListResult.json.cs similarity index 91% rename from src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/DatabaseListResult.json.cs index bbf82954aeb8..569393f53609 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabaseListResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabaseListResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal DatabaseListResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Jso { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DatabaseListResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.PowerShell.cs similarity index 62% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.PowerShell.cs index a53a121ce96a..5e7dc40def9e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DatabasePrincipal partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,18 +61,18 @@ internal DatabasePrincipal(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalType) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Fqn = (string) content.GetValueForProperty("Fqn",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Fqn, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Email = (string) content.GetValueForProperty("Email",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Email, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).AppId = (string) content.GetValueForProperty("AppId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).AppId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).TenantName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalType) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Fqn = (string) content.GetValueForProperty("Fqn",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Fqn, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Email = (string) content.GetValueForProperty("Email",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Email, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).AppId = (string) content.GetValueForProperty("AppId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).AppId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).TenantName, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,38 +85,38 @@ internal DatabasePrincipal(global::System.Management.Automation.PSObject content return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalType) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Fqn = (string) content.GetValueForProperty("Fqn",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Fqn, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Email = (string) content.GetValueForProperty("Email",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).Email, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).AppId = (string) content.GetValueForProperty("AppId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).AppId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal)this).TenantName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalType) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Fqn = (string) content.GetValueForProperty("Fqn",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Fqn, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Email = (string) content.GetValueForProperty("Email",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).Email, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).AppId = (string) content.GetValueForProperty("AppId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).AppId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal)this).TenantName, global::System.Convert.ToString); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DatabasePrincipal(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatabasePrincipal(content); } @@ -126,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatab /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.TypeConverter.cs index a9211ed148b9..5cfd658689d7 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.cs index 4f871c19f293..e9a3c8c3c203 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A class representing database principal entity. public partial class DatabasePrincipal : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal { /// Backing field for property. @@ -30,7 +30,7 @@ public partial class DatabasePrincipal : public string Fqn { get => this._fqn; set => this._fqn = value; } /// Internal Acessors for TenantName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalInternal.TenantName { get => this._tenantName; set { {_tenantName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalInternal.TenantName { get => this._tenantName; set { {_tenantName = value;} } } /// Backing field for property. private string _name; diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.json.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.json.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.json.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.json.cs index bec8ff273deb..6d797ea3a542 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipal.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipal.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -69,13 +69,13 @@ internal DatabasePrincipal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DatabasePrincipal(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.PowerShell.cs similarity index 59% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.PowerShell.cs index 0a9bdb9bd20f..08c79087cfbf 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DatabasePrincipalAssignment partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,22 +61,22 @@ internal DatabasePrincipalAssignment(global::System.Collections.IDictionary cont return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalPropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).TenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).TenantName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).TenantName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalName, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -89,42 +89,42 @@ internal DatabasePrincipalAssignment(global::System.Management.Automation.PSObje return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalPropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).TenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).TenantName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal)this).PrincipalName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).TenantName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal)this).PrincipalName, global::System.Convert.ToString); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DatabasePrincipalAssignment(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatabasePrincipalAssignment(content); } @@ -134,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatab /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.TypeConverter.cs index 3ce25d272ba0..bf3470241b2e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.cs similarity index 73% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.cs index cd3f1600e6bf..3bdb3c220521 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing a database principal assignment. public partial class DatabasePrincipalAssignment : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// @@ -14,7 +14,7 @@ public partial class DatabasePrincipalAssignment : private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(); /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; } @@ -29,16 +29,16 @@ public partial class DatabasePrincipalAssignment : string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type = value; } /// Internal Acessors for PrincipalName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal.PrincipalName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).PrincipalName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).PrincipalName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal.PrincipalName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).PrincipalName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).PrincipalName = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for TenantName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentInternal.TenantName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).TenantName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).TenantName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentInternal.TenantName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).TenantName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).TenantName = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] @@ -48,41 +48,41 @@ public partial class DatabasePrincipalAssignment : /// The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).PrincipalId = value; } + public string PrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).PrincipalId = value ?? null; } /// The principal name [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string PrincipalName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).PrincipalName; } + public string PrincipalName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).PrincipalName; } /// Principal type. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType PrincipalType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).PrincipalType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).PrincipalType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType? PrincipalType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).PrincipalType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).PrincipalType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties _property; /// The database principal. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalProperties()); set => this._property = value; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).ProvisioningState; } /// Database principal role. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole Role { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).Role; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).Role = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole? Role { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).Role; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).Role = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole)""); } /// The tenant id of the principal [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).TenantId = value; } + public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).TenantId = value ?? null; } /// The tenant name of the principal [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string TenantName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)Property).TenantName; } + public string TenantName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)Property).TenantName; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; } @@ -114,7 +114,7 @@ public partial interface IDatabasePrincipalAssignment : /// The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The principal ID assigned to the database principal. It can be a user email, application ID, or security group name.", SerializedName = @"principalId", @@ -130,12 +130,12 @@ public partial interface IDatabasePrincipalAssignment : string PrincipalName { get; } /// Principal type. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Principal type.", SerializedName = @"principalType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType PrincipalType { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType? PrincipalType { get; set; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -146,12 +146,12 @@ public partial interface IDatabasePrincipalAssignment : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; } /// Database principal role. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"Database principal role.", SerializedName = @"role", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole Role { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole? Role { get; set; } /// The tenant id of the principal [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -181,13 +181,13 @@ internal partial interface IDatabasePrincipalAssignmentInternal : /// The principal name string PrincipalName { get; set; } /// Principal type. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType PrincipalType { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType? PrincipalType { get; set; } /// The database principal. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties Property { get; set; } /// The provisioned state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } /// Database principal role. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole Role { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole? Role { get; set; } /// The tenant id of the principal string TenantId { get; set; } /// The tenant name of the principal diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.json.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.json.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.json.cs index 7b442c2a0547..79bfb87a70f1 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignment.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignment.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -59,18 +59,18 @@ internal DatabasePrincipalAssignment(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Ru return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DatabasePrincipalAssignment(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.PowerShell.cs similarity index 75% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.PowerShell.cs index 883f807d39e3..46726ee40ddd 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DatabasePrincipalAssignmentCheckNameRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,13 +61,13 @@ internal DatabasePrincipalAssignmentCheckNameRequest(global::System.Collections. return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Type, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -80,35 +80,35 @@ internal DatabasePrincipalAssignmentCheckNameRequest(global::System.Management.A return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequestInternal)this).Type, global::System.Convert.ToString); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DatabasePrincipalAssignmentCheckNameRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatabasePrincipalAssignmentCheckNameRequest(content); } @@ -119,7 +119,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatab /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.TypeConverter.cs index ed338158afa2..ddf3f5ff3551 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -104,14 +104,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.cs similarity index 77% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.cs index 776ad0758a99..ca9124485c82 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.cs @@ -1,13 +1,16 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A principal assignment check name availability request. public partial class DatabasePrincipalAssignmentCheckNameRequest : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequestInternal { + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequestInternal.Type { get => this._type; set { {_type = value;} } } + /// Backing field for property. private string _name; @@ -16,11 +19,11 @@ public partial class DatabasePrincipalAssignmentCheckNameRequest : public string Name { get => this._name; set => this._name = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type _type; + private string _type= @"Microsoft.Kusto/Clusters/Databases/principalAssignments"; /// The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => this._type; set => this._type = value; } + public string Type { get => this._type; } /// /// Creates an new instance. @@ -45,11 +48,11 @@ public partial interface IDatabasePrincipalAssignmentCheckNameRequest : /// The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = true, - ReadOnly = false, + ReadOnly = true, Description = @"The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments.", SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get; set; } + PossibleTypes = new [] { typeof(string) })] + string Type { get; } } /// A principal assignment check name availability request. @@ -59,7 +62,7 @@ internal partial interface IDatabasePrincipalAssignmentCheckNameRequestInternal /// Principal Assignment resource name. string Name { get; set; } /// The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get; set; } + string Type { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.json.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.json.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.json.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.json.cs index 13afce7ded63..06776e3e1833 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentCheckNameRequest.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentCheckNameRequest.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -64,13 +64,13 @@ internal DatabasePrincipalAssignmentCheckNameRequest(Microsoft.Azure.PowerShell. } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DatabasePrincipalAssignmentCheckNameRequest(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.PowerShell.cs similarity index 76% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.PowerShell.cs index 827f9b3de739..49383e187db9 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DatabasePrincipalAssignmentListResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal DatabasePrincipalAssignmentListResult(global::System.Collections.IDicti return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignmentTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignmentTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,34 +79,34 @@ internal DatabasePrincipalAssignmentListResult(global::System.Management.Automat return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignmentTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignmentTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DatabasePrincipalAssignmentListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatabasePrincipalAssignmentListResult(content); } @@ -117,7 +117,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatab /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.TypeConverter.cs index 3d80b107dbd1..02caccfa9e90 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -103,14 +103,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.cs similarity index 71% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.cs index ebd7ce509316..2cb2e815eaf3 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list Kusto database principal assignments operation response. public partial class DatabasePrincipalAssignmentListResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment[] _value; /// The list of Kusto database principal assignments. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public DatabasePrincipalAssignmentListResult() @@ -31,8 +31,8 @@ public partial interface IDatabasePrincipalAssignmentListResult : ReadOnly = false, Description = @"The list of Kusto database principal assignments.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment[] Value { get; set; } } /// The list Kusto database principal assignments operation response. @@ -40,7 +40,7 @@ internal partial interface IDatabasePrincipalAssignmentListResultInternal { /// The list of Kusto database principal assignments. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.json.cs similarity index 90% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.json.cs index a6111995d998..6fc1c2354516 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalAssignmentListResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal DatabasePrincipalAssignmentListResult(Microsoft.Azure.PowerShell.Cmdlet { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignment.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignment.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DatabasePrincipalAssignmentListResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.PowerShell.cs similarity index 77% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.PowerShell.cs index 5b8cd20e4386..989270c405e8 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DatabasePrincipalListRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal DatabasePrincipalListRequest(global::System.Collections.IDictionary con return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequestInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequestInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequestInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequestInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,32 +79,32 @@ internal DatabasePrincipalListRequest(global::System.Management.Automation.PSObj return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequestInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequestInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequestInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequestInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DatabasePrincipalListRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatabasePrincipalListRequest(content); } @@ -114,7 +114,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatab /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.TypeConverter.cs index 998a9de0653e..ba2f12e0b002 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.cs similarity index 72% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.cs index 2f7906991485..bcb4b05973b6 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list Kusto database principals operation request. public partial class DatabasePrincipalListRequest : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequestInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] _value; /// The list of Kusto database principals. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public DatabasePrincipalListRequest() @@ -31,8 +31,8 @@ public partial interface IDatabasePrincipalListRequest : ReadOnly = false, Description = @"The list of Kusto database principals.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Value { get; set; } } /// The list Kusto database principals operation request. @@ -40,7 +40,7 @@ internal partial interface IDatabasePrincipalListRequestInternal { /// The list of Kusto database principals. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.json.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.json.cs similarity index 90% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.json.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.json.cs index c88d23509631..a908f37ef70b 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListRequest.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListRequest.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal DatabasePrincipalListRequest(Microsoft.Azure.PowerShell.Cmdlets.Kusto.R { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipal.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipal.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DatabasePrincipalListRequest(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.PowerShell.cs similarity index 77% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.PowerShell.cs index c2d53fa3a4db..59c269d7a2bf 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DatabasePrincipalListResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal DatabasePrincipalListResult(global::System.Collections.IDictionary cont return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,32 +79,32 @@ internal DatabasePrincipalListResult(global::System.Management.Automation.PSObje return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DatabasePrincipalListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatabasePrincipalListResult(content); } @@ -114,7 +114,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatab /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.TypeConverter.cs index bda5cf93fc23..63aad9975a95 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.cs similarity index 72% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.cs index 3ad8928c0502..5c7ff4492809 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list Kusto database principals operation response. public partial class DatabasePrincipalListResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] _value; /// The list of Kusto database principals. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public DatabasePrincipalListResult() @@ -31,8 +31,8 @@ public partial interface IDatabasePrincipalListResult : ReadOnly = false, Description = @"The list of Kusto database principals.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Value { get; set; } } /// The list Kusto database principals operation response. @@ -40,7 +40,7 @@ internal partial interface IDatabasePrincipalListResultInternal { /// The list of Kusto database principals. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.json.cs similarity index 90% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.json.cs index 5faa2e12bdd4..be2a860d1aa8 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalListResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalListResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal DatabasePrincipalListResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Ru { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipal.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipal.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DatabasePrincipalListResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.PowerShell.cs similarity index 58% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.PowerShell.cs index a3fcc3865494..07a6408e6253 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DatabasePrincipalProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,18 +61,18 @@ internal DatabasePrincipalProperties(global::System.Collections.IDictionary cont return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).TenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).TenantName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).TenantName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,38 +85,38 @@ internal DatabasePrincipalProperties(global::System.Management.Automation.PSObje return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).TenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).TenantName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).PrincipalName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).Role = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).Role, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) content.GetValueForProperty("PrincipalType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).TenantName = (string) content.GetValueForProperty("TenantName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).TenantName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalName = (string) content.GetValueForProperty("PrincipalName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).PrincipalName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DatabasePrincipalProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatabasePrincipalProperties(content); } @@ -126,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatab /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.TypeConverter.cs index 5109810e11ed..9c7ea1d57ea0 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.cs similarity index 93% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.cs index 133ce3fab5c3..e3ed8605b9bd 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.cs @@ -1,21 +1,21 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A class representing database principal property. public partial class DatabasePrincipalProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal { /// Internal Acessors for PrincipalName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal.PrincipalName { get => this._principalName; set { {_principalName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal.PrincipalName { get => this._principalName; set { {_principalName = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for TenantName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalPropertiesInternal.TenantName { get => this._tenantName; set { {_tenantName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalPropertiesInternal.TenantName { get => this._tenantName; set { {_tenantName = value;} } } /// Backing field for property. private string _principalId; diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.json.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.json.cs index 3398af71bb49..33c49b3e9fc6 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabasePrincipalProperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabasePrincipalProperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -69,13 +69,13 @@ internal DatabasePrincipalProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Ru } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DatabasePrincipalProperties(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.PowerShell.cs similarity index 83% rename from src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.PowerShell.cs index e01405325eb9..61dc609a6fba 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,7 +48,7 @@ public partial class DatabaseStatistics partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -61,12 +61,12 @@ internal DatabaseStatistics(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatisticsInternal)this).Size = (float?) content.GetValueForProperty("Size",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatisticsInternal)this).Size, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatisticsInternal)this).Size = (float?) content.GetValueForProperty("Size",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatisticsInternal)this).Size, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -79,32 +79,32 @@ internal DatabaseStatistics(global::System.Management.Automation.PSObject conten return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatisticsInternal)this).Size = (float?) content.GetValueForProperty("Size",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatisticsInternal)this).Size, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatisticsInternal)this).Size = (float?) content.GetValueForProperty("Size",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatisticsInternal)this).Size, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DatabaseStatistics(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatabaseStatistics(content); } @@ -114,7 +114,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatab /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.TypeConverter.cs index 013c6bdd63cc..e18206db8f01 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.cs b/src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.cs similarity index 90% rename from src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.cs rename to src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.cs index c42309bb105f..4eecb208cb82 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A class that contains database statistics information. public partial class DatabaseStatistics : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatisticsInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatisticsInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.json.cs b/src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.json.cs rename to src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.json.cs index faa021c98c9c..a7f04218edbb 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DatabaseStatistics.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DatabaseStatistics.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -63,13 +63,13 @@ internal DatabaseStatistics(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Jso } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DatabaseStatistics(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.PowerShell.cs similarity index 81% rename from src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.PowerShell.cs index 28a4a17a9ad9..0ee66b265375 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -47,33 +47,33 @@ public partial class DiagnoseVirtualNetworkResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DiagnoseVirtualNetworkResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DiagnoseVirtualNetworkResult(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -86,12 +86,12 @@ internal DiagnoseVirtualNetworkResult(global::System.Collections.IDictionary con return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResultInternal)this).Finding = (string[]) content.GetValueForProperty("Finding",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResultInternal)this).Finding, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResultInternal)this).Finding = (string[]) content.GetValueForProperty("Finding",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResultInternal)this).Finding, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -104,7 +104,7 @@ internal DiagnoseVirtualNetworkResult(global::System.Management.Automation.PSObj return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResultInternal)this).Finding = (string[]) content.GetValueForProperty("Finding",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResultInternal)this).Finding, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResultInternal)this).Finding = (string[]) content.GetValueForProperty("Finding",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResultInternal)this).Finding, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); AfterDeserializePSObject(content); } @@ -113,7 +113,7 @@ internal DiagnoseVirtualNetworkResult(global::System.Management.Automation.PSObj /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.TypeConverter.cs index 0f6423b14098..0a46108fa769 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.cs b/src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.cs similarity index 88% rename from src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.cs rename to src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.cs index 5f8f2843f8a7..4e220a03b653 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.cs @@ -1,10 +1,10 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; public partial class DiagnoseVirtualNetworkResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResultInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.json.cs b/src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.json.cs index 3ae4b705f4aa..6b1b6285eaf0 100644 --- a/src/Kusto/generated/api/Models/Api20200918/DiagnoseVirtualNetworkResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/DiagnoseVirtualNetworkResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -62,13 +62,13 @@ internal DiagnoseVirtualNetworkResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.R } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDiagnoseVirtualNetworkResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDiagnoseVirtualNetworkResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new DiagnoseVirtualNetworkResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.PowerShell.cs similarity index 53% rename from src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.PowerShell.cs index 28b0751c6fa9..1eeea061bc5f 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,35 +48,33 @@ public partial class EventGridConnectionProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new EventGridConnectionProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new EventGridConnectionProperties(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -89,20 +87,20 @@ internal EventGridConnectionProperties(global::System.Collections.IDictionary co return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).EventHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).IgnoreFirstRecord = (bool?) content.GetValueForProperty("IgnoreFirstRecord",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).IgnoreFirstRecord, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).BlobStorageEventType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType?) content.GetValueForProperty("BlobStorageEventType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).BlobStorageEventType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).EventHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).IgnoreFirstRecord = (bool?) content.GetValueForProperty("IgnoreFirstRecord",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).IgnoreFirstRecord, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).BlobStorageEventType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType?) content.GetValueForProperty("BlobStorageEventType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).BlobStorageEventType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,15 +113,15 @@ internal EventGridConnectionProperties(global::System.Management.Automation.PSOb return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).EventHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).IgnoreFirstRecord = (bool?) content.GetValueForProperty("IgnoreFirstRecord",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).IgnoreFirstRecord, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).BlobStorageEventType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType?) content.GetValueForProperty("BlobStorageEventType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).BlobStorageEventType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).EventHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).IgnoreFirstRecord = (bool?) content.GetValueForProperty("IgnoreFirstRecord",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).IgnoreFirstRecord, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).BlobStorageEventType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType?) content.GetValueForProperty("BlobStorageEventType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).BlobStorageEventType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); AfterDeserializePSObject(content); } @@ -132,7 +130,7 @@ internal EventGridConnectionProperties(global::System.Management.Automation.PSOb /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.TypeConverter.cs index 8ccaf280c8e6..6de85696e199 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.cs b/src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.cs rename to src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.cs index 9222618a0ba7..9c9df005dcf0 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing the Kusto event grid connection properties. public partial class EventGridConnectionProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal { /// Backing field for property. @@ -57,7 +57,7 @@ public partial class EventGridConnectionProperties : public string MappingRuleName { get => this._mappingRuleName; set => this._mappingRuleName = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? _provisioningState; diff --git a/src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.json.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.json.cs index bf9d14bcb514..7d4b74b29a31 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventGridConnectionProperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventGridConnectionProperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -71,13 +71,13 @@ internal EventGridConnectionProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto. } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new EventGridConnectionProperties(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.PowerShell.cs similarity index 53% rename from src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.PowerShell.cs index 8eb3b317bd35..1b6bf14f88f2 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,33 +48,33 @@ public partial class EventGridDataConnection partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnection DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnection DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new EventGridDataConnection(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new EventGridDataConnection(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -87,26 +87,26 @@ internal EventGridDataConnection(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridConnectionPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridConnectionPropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).StorageAccountResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).EventHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).IgnoreFirstRecord = (bool?) content.GetValueForProperty("IgnoreFirstRecord",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).IgnoreFirstRecord, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).BlobStorageEventType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType?) content.GetValueForProperty("BlobStorageEventType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).BlobStorageEventType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).EventHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).IgnoreFirstRecord = (bool?) content.GetValueForProperty("IgnoreFirstRecord",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).IgnoreFirstRecord, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).BlobStorageEventType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType?) content.GetValueForProperty("BlobStorageEventType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).BlobStorageEventType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType.CreateFrom); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -119,21 +119,21 @@ internal EventGridDataConnection(global::System.Management.Automation.PSObject c return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridConnectionPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridConnectionPropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).StorageAccountResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).EventHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).IgnoreFirstRecord = (bool?) content.GetValueForProperty("IgnoreFirstRecord",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).IgnoreFirstRecord, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).BlobStorageEventType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType?) content.GetValueForProperty("BlobStorageEventType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal)this).BlobStorageEventType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).EventHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).IgnoreFirstRecord = (bool?) content.GetValueForProperty("IgnoreFirstRecord",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).IgnoreFirstRecord, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).BlobStorageEventType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType?) content.GetValueForProperty("BlobStorageEventType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal)this).BlobStorageEventType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType.CreateFrom); AfterDeserializePSObject(content); } @@ -142,7 +142,7 @@ internal EventGridDataConnection(global::System.Management.Automation.PSObject c /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.TypeConverter.cs index b800876f0bb4..bf2a43a536aa 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnection ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnection ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnection).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnection).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.cs b/src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.cs similarity index 75% rename from src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.cs rename to src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.cs index f88eba72f56e..b4edb580fa31 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.cs @@ -1,39 +1,39 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing an Event Grid data connection. public partial class EventGridDataConnection : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnection, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnection, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection(); /// The name of blob storage event type to process. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType? BlobStorageEventType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).BlobStorageEventType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).BlobStorageEventType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType? BlobStorageEventType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).BlobStorageEventType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).BlobStorageEventType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType)""); } /// The event hub consumer group. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string ConsumerGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).ConsumerGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).ConsumerGroup = value; } + public string ConsumerGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).ConsumerGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).ConsumerGroup = value ?? null; } /// /// The data format of the message. Optionally the data format can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat? DataFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).DataFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).DataFormat = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat? DataFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).DataFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).DataFormat = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat)""); } /// The resource ID where the event grid is configured to send events. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string EventHubResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).EventHubResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).EventHubResourceId = value; } + public string EventHubResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).EventHubResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).EventHubResourceId = value ?? null; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Id; } @@ -42,21 +42,21 @@ public partial class EventGridDataConnection : /// A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool? IgnoreFirstRecord { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).IgnoreFirstRecord; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).IgnoreFirstRecord = value; } + public bool? IgnoreFirstRecord { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).IgnoreFirstRecord; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).IgnoreFirstRecord = value ?? default(bool); } /// Kind of the endpoint for the data connection [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Kind = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Kind = value ; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Location = value; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Location = value ?? null; } /// /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string MappingRuleName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).MappingRuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).MappingRuleName = value; } + public string MappingRuleName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).MappingRuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).MappingRuleName = value ?? null; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Id = value; } @@ -68,38 +68,38 @@ public partial class EventGridDataConnection : string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Type = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridConnectionProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridConnectionProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).ProvisioningState = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties _property; /// The properties of the Event Grid data connection. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridConnectionProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridConnectionProperties()); set => this._property = value; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).ProvisioningState; } /// The resource ID of the storage account where the data resides. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string StorageAccountResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).StorageAccountResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).StorageAccountResourceId = value; } + public string StorageAccountResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).StorageAccountResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).StorageAccountResourceId = value ?? null; } /// /// The table where the data should be ingested. Optionally the table information can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string TableName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).TableName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionPropertiesInternal)Property).TableName = value; } + public string TableName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).TableName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionPropertiesInternal)Property).TableName = value ?? null; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Type; } @@ -125,7 +125,7 @@ public EventGridDataConnection() /// Class representing an Event Grid data connection. public partial interface IEventGridDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection { /// The name of blob storage event type to process. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( @@ -137,7 +137,7 @@ public partial interface IEventGridDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType? BlobStorageEventType { get; set; } /// The event hub consumer group. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The event hub consumer group.", SerializedName = @"consumerGroup", @@ -155,7 +155,7 @@ public partial interface IEventGridDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventGridDataFormat? DataFormat { get; set; } /// The resource ID where the event grid is configured to send events. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The resource ID where the event grid is configured to send events.", SerializedName = @"eventHubResourceId", @@ -191,7 +191,7 @@ public partial interface IEventGridDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; } /// The resource ID of the storage account where the data resides. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The resource ID of the storage account where the data resides.", SerializedName = @"storageAccountResourceId", @@ -211,7 +211,7 @@ public partial interface IEventGridDataConnection : } /// Class representing an Event Grid data connection. internal partial interface IEventGridDataConnectionInternal : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal { /// The name of blob storage event type to process. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.BlobStorageEventType? BlobStorageEventType { get; set; } @@ -232,7 +232,7 @@ internal partial interface IEventGridDataConnectionInternal : /// string MappingRuleName { get; set; } /// The properties of the Event Grid data connection. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridConnectionProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridConnectionProperties Property { get; set; } /// The provisioned state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } /// The resource ID of the storage account where the data resides. diff --git a/src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.json.cs b/src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.json.cs rename to src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.json.cs index 3d15cf440590..2f5c9d306328 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventGridDataConnection.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventGridDataConnection.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,19 +58,19 @@ internal EventGridDataConnection(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtim { return; } - __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridConnectionProperties.FromJson(__jsonProperties) : Property;} + __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridConnectionProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnection. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnection. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnection. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnection. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventGridDataConnection FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventGridDataConnection FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new EventGridDataConnection(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.PowerShell.cs similarity index 60% rename from src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.PowerShell.cs index ad232a31fecb..0fd31f77bef1 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.PowerShell.cs @@ -1,10 +1,10 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; - /// Class representing the Kusto Iot hub connection properties. - [System.ComponentModel.TypeConverter(typeof(IotHubConnectionPropertiesTypeConverter))] - public partial class IotHubConnectionProperties + /// Class representing the Kusto event hub connection properties. + [System.ComponentModel.TypeConverter(typeof(EventHubConnectionPropertiesTypeConverter))] + public partial class EventHubConnectionProperties { /// @@ -48,44 +48,37 @@ public partial class IotHubConnectionProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new IotHubConnectionProperties(content); + return new EventHubConnectionProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new IotHubConnectionProperties(content); + return new EventHubConnectionProperties(content); } /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - internal IotHubConnectionProperties(global::System.Collections.IDictionary content) + internal EventHubConnectionProperties(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -94,23 +87,24 @@ internal IotHubConnectionProperties(global::System.Collections.IDictionary conte return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).IotHubResourceId = (string) content.GetValueForProperty("IotHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).IotHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).SharedAccessPolicyName = (string) content.GetValueForProperty("SharedAccessPolicyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).SharedAccessPolicyName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).EventHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).Compression = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression?) content.GetValueForProperty("Compression",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).Compression, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ManagedIdentityResourceId = (string) content.GetValueForProperty("ManagedIdentityResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ManagedIdentityResourceId, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal IotHubConnectionProperties(global::System.Management.Automation.PSObject content) + internal EventHubConnectionProperties(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -119,25 +113,33 @@ internal IotHubConnectionProperties(global::System.Management.Automation.PSObjec return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).IotHubResourceId = (string) content.GetValueForProperty("IotHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).IotHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).SharedAccessPolicyName = (string) content.GetValueForProperty("SharedAccessPolicyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).SharedAccessPolicyName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).EventHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).Compression = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression?) content.GetValueForProperty("Compression",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).Compression, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ManagedIdentityResourceId = (string) content.GetValueForProperty("ManagedIdentityResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)this).ManagedIdentityResourceId, global::System.Convert.ToString); AfterDeserializePSObject(content); } + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + /// Serializes this instance to a json string. /// a containing this model serialized to JSON text. public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); } - /// Class representing the Kusto Iot hub connection properties. - [System.ComponentModel.TypeConverter(typeof(IotHubConnectionPropertiesTypeConverter))] - public partial interface IIotHubConnectionProperties + /// Class representing the Kusto event hub connection properties. + [System.ComponentModel.TypeConverter(typeof(EventHubConnectionPropertiesTypeConverter))] + public partial interface IEventHubConnectionProperties { diff --git a/src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.TypeConverter.cs index a2cd6ae55947..66c74b582dd0 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.cs b/src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.cs similarity index 85% rename from src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.cs rename to src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.cs index 6b6d8a34628c..6515432f84fd 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing the Kusto event hub connection properties. public partial class EventHubConnectionProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal { /// Backing field for property. @@ -45,6 +45,15 @@ public partial class EventHubConnectionProperties : [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] public string[] EventSystemProperty { get => this._eventSystemProperty; set => this._eventSystemProperty = value; } + /// Backing field for property. + private string _managedIdentityResourceId; + + /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string ManagedIdentityResourceId { get => this._managedIdentityResourceId; set => this._managedIdentityResourceId = value; } + /// Backing field for property. private string _mappingRuleName; @@ -55,7 +64,7 @@ public partial class EventHubConnectionProperties : public string MappingRuleName { get => this._mappingRuleName; set => this._mappingRuleName = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? _provisioningState; @@ -126,6 +135,16 @@ public partial interface IEventHubConnectionProperties : PossibleTypes = new [] { typeof(string) })] string[] EventSystemProperty { get; set; } /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.", + SerializedName = @"managedIdentityResourceId", + PossibleTypes = new [] { typeof(string) })] + string ManagedIdentityResourceId { get; set; } + /// /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( @@ -172,6 +191,10 @@ internal partial interface IEventHubConnectionPropertiesInternal /// System properties of the event hub string[] EventSystemProperty { get; set; } /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + /// + string ManagedIdentityResourceId { get; set; } + /// /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. /// string MappingRuleName { get; set; } diff --git a/src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.json.cs similarity index 92% rename from src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.json.cs index b865cc98878f..5627c70a27ba 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventHubConnectionProperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventHubConnectionProperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -66,17 +66,18 @@ internal EventHubConnectionProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto.R {_eventSystemProperty = If( json?.PropertyT("eventSystemProperties"), out var __jsonEventSystemProperties) ? If( __jsonEventSystemProperties as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : EventSystemProperty;} {_compression = If( json?.PropertyT("compression"), out var __jsonCompression) ? (string)__jsonCompression : (string)Compression;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} + {_managedIdentityResourceId = If( json?.PropertyT("managedIdentityResourceId"), out var __jsonManagedIdentityResourceId) ? (string)__jsonManagedIdentityResourceId : (string)ManagedIdentityResourceId;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new EventHubConnectionProperties(json) : null; } @@ -119,6 +120,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Mic { AddIf( null != (((object)this._provisioningState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._provisioningState.ToString()) : null, "provisioningState" ,container.Add ); } + AddIf( null != (((object)this._managedIdentityResourceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._managedIdentityResourceId.ToString()) : null, "managedIdentityResourceId" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.PowerShell.cs similarity index 60% rename from src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.PowerShell.cs index 1a6056158b4e..6d36286753e3 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.PowerShell.cs @@ -1,10 +1,10 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; - /// Class representing an iot hub data connection. - [System.ComponentModel.TypeConverter(typeof(IotHubDataConnectionTypeConverter))] - public partial class IotHubDataConnection + /// Class representing an event hub data connection. + [System.ComponentModel.TypeConverter(typeof(EventHubDataConnectionTypeConverter))] + public partial class EventHubDataConnection { /// @@ -48,44 +48,37 @@ public partial class IotHubDataConnection partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnection DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnection DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new IotHubDataConnection(content); + return new EventHubDataConnection(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new IotHubDataConnection(content); + return new EventHubDataConnection(content); } /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); - - /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - internal IotHubDataConnection(global::System.Collections.IDictionary content) + internal EventHubDataConnection(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -94,29 +87,30 @@ internal IotHubDataConnection(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubConnectionPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubConnectionPropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).IotHubResourceId = (string) content.GetValueForProperty("IotHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).IotHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).SharedAccessPolicyName = (string) content.GetValueForProperty("SharedAccessPolicyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).SharedAccessPolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).Compression = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression?) content.GetValueForProperty("Compression",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).Compression, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).EventHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ManagedIdentityResourceId = (string) content.GetValueForProperty("ManagedIdentityResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ManagedIdentityResourceId, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal IotHubDataConnection(global::System.Management.Automation.PSObject content) + internal EventHubDataConnection(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -125,31 +119,39 @@ internal IotHubDataConnection(global::System.Management.Automation.PSObject cont return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubConnectionPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubConnectionPropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).IotHubResourceId = (string) content.GetValueForProperty("IotHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).IotHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).SharedAccessPolicyName = (string) content.GetValueForProperty("SharedAccessPolicyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal)this).SharedAccessPolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).Compression = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression?) content.GetValueForProperty("Compression",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).Compression, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).EventHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ManagedIdentityResourceId = (string) content.GetValueForProperty("ManagedIdentityResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal)this).ManagedIdentityResourceId, global::System.Convert.ToString); AfterDeserializePSObject(content); } + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + /// Serializes this instance to a json string. /// a containing this model serialized to JSON text. public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); } - /// Class representing an iot hub data connection. - [System.ComponentModel.TypeConverter(typeof(IotHubDataConnectionTypeConverter))] - public partial interface IIotHubDataConnection + /// Class representing an event hub data connection. + [System.ComponentModel.TypeConverter(typeof(EventHubDataConnectionTypeConverter))] + public partial interface IEventHubDataConnection { diff --git a/src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.TypeConverter.cs index d1c4d305a10e..5390bfa91cb0 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnection ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnection ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnection).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnection).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.cs b/src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.cs similarity index 69% rename from src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.cs rename to src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.cs index 0acb9e8b29ad..713bab8784b3 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.cs @@ -1,60 +1,66 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing an event hub data connection. public partial class EventHubDataConnection : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnection, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnection, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection(); /// The event hub messages compression type [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression? Compression { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).Compression; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).Compression = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression? Compression { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).Compression; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).Compression = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression)""); } /// The event hub consumer group. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string ConsumerGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).ConsumerGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).ConsumerGroup = value; } + public string ConsumerGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).ConsumerGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).ConsumerGroup = value ?? null; } /// /// The data format of the message. Optionally the data format can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat? DataFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).DataFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).DataFormat = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat? DataFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).DataFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).DataFormat = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat)""); } /// The resource ID of the event hub to be used to create a data connection. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string EventHubResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).EventHubResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).EventHubResourceId = value; } + public string EventHubResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).EventHubResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).EventHubResourceId = value ?? null; } /// System properties of the event hub [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string[] EventSystemProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).EventSystemProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).EventSystemProperty = value; } + public string[] EventSystemProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).EventSystemProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).EventSystemProperty = value ?? null /* arrayOf */; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Id; } /// Kind of the endpoint for the data connection [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Kind = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Kind = value ; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Location = value; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Location = value ?? null; } + + /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string ManagedIdentityResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).ManagedIdentityResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).ManagedIdentityResourceId = value ?? null; } /// /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string MappingRuleName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).MappingRuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).MappingRuleName = value; } + public string MappingRuleName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).MappingRuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).MappingRuleName = value ?? null; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Id = value; } @@ -66,34 +72,34 @@ public partial class EventHubDataConnection : string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Type = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubConnectionProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubConnectionProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).ProvisioningState = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties _property; /// The Event Hub data connection properties to validate. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubConnectionProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubConnectionProperties()); set => this._property = value; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).ProvisioningState; } /// /// The table where the data should be ingested. Optionally the table information can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string TableName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).TableName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionPropertiesInternal)Property).TableName = value; } + public string TableName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).TableName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionPropertiesInternal)Property).TableName = value ?? null; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Type; } @@ -119,7 +125,7 @@ public EventHubDataConnection() /// Class representing an event hub data connection. public partial interface IEventHubDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection { /// The event hub messages compression type [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( @@ -131,7 +137,7 @@ public partial interface IEventHubDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression? Compression { get; set; } /// The event hub consumer group. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The event hub consumer group.", SerializedName = @"consumerGroup", @@ -149,7 +155,7 @@ public partial interface IEventHubDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat? DataFormat { get; set; } /// The resource ID of the event hub to be used to create a data connection. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The resource ID of the event hub to be used to create a data connection.", SerializedName = @"eventHubResourceId", @@ -164,6 +170,16 @@ public partial interface IEventHubDataConnection : PossibleTypes = new [] { typeof(string) })] string[] EventSystemProperty { get; set; } /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.", + SerializedName = @"managedIdentityResourceId", + PossibleTypes = new [] { typeof(string) })] + string ManagedIdentityResourceId { get; set; } + /// /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( @@ -195,7 +211,7 @@ public partial interface IEventHubDataConnection : } /// Class representing an event hub data connection. internal partial interface IEventHubDataConnectionInternal : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal { /// The event hub messages compression type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression? Compression { get; set; } @@ -210,11 +226,15 @@ internal partial interface IEventHubDataConnectionInternal : /// System properties of the event hub string[] EventSystemProperty { get; set; } /// + /// The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. + /// + string ManagedIdentityResourceId { get; set; } + /// /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. /// string MappingRuleName { get; set; } /// The Event Hub data connection properties to validate. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubConnectionProperties Property { get; set; } /// The provisioned state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } /// diff --git a/src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.json.cs b/src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.json.cs rename to src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.json.cs index 4db4de1ce8fa..80d33539313c 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/EventHubDataConnection.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,19 +58,19 @@ internal EventHubDataConnection(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime { return; } - __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubConnectionProperties.FromJson(__jsonProperties) : Property;} + __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubConnectionProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnection. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnection. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnection. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnection. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnection FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IEventHubDataConnection FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new EventHubDataConnection(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.PowerShell.cs similarity index 72% rename from src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.PowerShell.cs index 2ef273651c32..d16925e94a5a 100644 --- a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,33 +48,33 @@ public partial class FollowerDatabaseDefinition partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new FollowerDatabaseDefinition(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new FollowerDatabaseDefinition(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -87,14 +87,14 @@ internal FollowerDatabaseDefinition(global::System.Collections.IDictionary conte return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).ClusterResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).DatabaseName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).ClusterResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).DatabaseName, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -107,9 +107,9 @@ internal FollowerDatabaseDefinition(global::System.Management.Automation.PSObjec return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).ClusterResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal)this).DatabaseName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).ClusterResourceId = (string) content.GetValueForProperty("ClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).ClusterResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal)this).DatabaseName, global::System.Convert.ToString); AfterDeserializePSObject(content); } @@ -118,7 +118,7 @@ internal FollowerDatabaseDefinition(global::System.Management.Automation.PSObjec /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.TypeConverter.cs index 3e50cc012d6b..c62ca01881d8 100644 --- a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.cs b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.cs similarity index 93% rename from src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.cs rename to src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.cs index 8c9485774171..588c861aeae1 100644 --- a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.cs +++ b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A class representing follower database request. public partial class FollowerDatabaseDefinition : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal { /// Backing field for property. @@ -32,7 +32,7 @@ public partial class FollowerDatabaseDefinition : public string DatabaseName { get => this._databaseName; } /// Internal Acessors for DatabaseName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinitionInternal.DatabaseName { get => this._databaseName; set { {_databaseName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinitionInternal.DatabaseName { get => this._databaseName; set { {_databaseName = value;} } } /// Creates an new instance. public FollowerDatabaseDefinition() diff --git a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.json.cs b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.json.cs rename to src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.json.cs index 3565c1ab0bcf..2d8128837b47 100644 --- a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseDefinition.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseDefinition.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -65,13 +65,13 @@ internal FollowerDatabaseDefinition(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Run } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new FollowerDatabaseDefinition(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.PowerShell.cs similarity index 77% rename from src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.PowerShell.cs index 1b9c330ad220..b1c6fec846d2 100644 --- a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,33 +48,33 @@ public partial class FollowerDatabaseListResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new FollowerDatabaseListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new FollowerDatabaseListResult(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -87,12 +87,12 @@ internal FollowerDatabaseListResult(global::System.Collections.IDictionary conte return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.FollowerDatabaseDefinitionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.FollowerDatabaseDefinitionTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -105,7 +105,7 @@ internal FollowerDatabaseListResult(global::System.Management.Automation.PSObjec return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.FollowerDatabaseDefinitionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.FollowerDatabaseDefinitionTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } @@ -114,7 +114,7 @@ internal FollowerDatabaseListResult(global::System.Management.Automation.PSObjec /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.TypeConverter.cs index 82d6973876ab..a3905d8ddfac 100644 --- a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.cs b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.cs similarity index 71% rename from src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.cs rename to src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.cs index 62a45ba7614a..736766253cb1 100644 --- a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list Kusto database principals operation response. public partial class FollowerDatabaseListResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition[] _value; /// The list of follower database result. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public FollowerDatabaseListResult() @@ -31,8 +31,8 @@ public partial interface IFollowerDatabaseListResult : ReadOnly = false, Description = @"The list of follower database result.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition[] Value { get; set; } } /// The list Kusto database principals operation response. @@ -40,7 +40,7 @@ internal partial interface IFollowerDatabaseListResultInternal { /// The list of follower database result. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.json.cs similarity index 90% rename from src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.json.cs index 9051897ba0a3..487daab25ac6 100644 --- a/src/Kusto/generated/api/Models/Api20200918/FollowerDatabaseListResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/FollowerDatabaseListResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -58,18 +58,18 @@ internal FollowerDatabaseListResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Run { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.FollowerDatabaseDefinition.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.FollowerDatabaseDefinition.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new FollowerDatabaseListResult(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/Identity.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/Identity.PowerShell.cs similarity index 68% rename from src/Kusto/generated/api/Models/Api20200918/Identity.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/Identity.PowerShell.cs index e97e04d73e7f..5fb29598020a 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Identity.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/Identity.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class Identity partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Identity(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Identity(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdent /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,15 +94,15 @@ internal Identity(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).TenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,10 +115,10 @@ internal Identity(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).PrincipalId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).TenantId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityUserAssignedIdentitiesTypeConverter.ConvertFrom); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/Identity.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/Identity.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/Identity.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/Identity.TypeConverter.cs index fedf786d58ac..022fc042b13c 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Identity.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/Identity.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/Identity.cs b/src/Kusto/generated/api/Models/Api202101/Identity.cs similarity index 85% rename from src/Kusto/generated/api/Models/Api20200918/Identity.cs rename to src/Kusto/generated/api/Models/Api202101/Identity.cs index da0b3bb99fe3..dad44308d7fe 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Identity.cs +++ b/src/Kusto/generated/api/Models/Api202101/Identity.cs @@ -1,18 +1,18 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Identity for the resource. public partial class Identity : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal { /// Internal Acessors for PrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } /// Internal Acessors for TenantId - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } } /// Backing field for property. private string _principalId; @@ -39,14 +39,14 @@ public partial class Identity : public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType Type { get => this._type; set => this._type = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities _userAssignedIdentity; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities _userAssignedIdentity; /// /// 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}'. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities UserAssignedIdentity { get => (this._userAssignedIdentity = this._userAssignedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityUserAssignedIdentities()); set => this._userAssignedIdentity = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities UserAssignedIdentity { get => (this._userAssignedIdentity = this._userAssignedIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityUserAssignedIdentities()); set => this._userAssignedIdentity = value; } /// Creates an new instance. public Identity() @@ -94,8 +94,8 @@ public partial interface IIdentity : ReadOnly = false, Description = @"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}'.", SerializedName = @"userAssignedIdentities", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } } /// Identity for the resource. @@ -115,7 +115,7 @@ internal partial interface IIdentityInternal /// 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}'. /// - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities UserAssignedIdentity { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/Identity.json.cs b/src/Kusto/generated/api/Models/Api202101/Identity.json.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/Identity.json.cs rename to src/Kusto/generated/api/Models/Api202101/Identity.json.cs index 463d26e3c7d7..5125f94790f6 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Identity.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/Identity.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class Identity partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new Identity(json) : null; } @@ -73,7 +73,7 @@ internal Identity(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObje {_principalId = If( json?.PropertyT("principalId"), out var __jsonPrincipalId) ? (string)__jsonPrincipalId : (string)PrincipalId;} {_tenantId = If( json?.PropertyT("tenantId"), out var __jsonTenantId) ? (string)__jsonTenantId : (string)TenantId;} {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} - {_userAssignedIdentity = If( json?.PropertyT("userAssignedIdentities"), out var __jsonUserAssignedIdentities) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityUserAssignedIdentities.FromJson(__jsonUserAssignedIdentities) : UserAssignedIdentity;} + {_userAssignedIdentity = If( json?.PropertyT("userAssignedIdentities"), out var __jsonUserAssignedIdentities) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityUserAssignedIdentities.FromJson(__jsonUserAssignedIdentities) : UserAssignedIdentity;} AfterFromJson(json); } diff --git a/src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.PowerShell.cs similarity index 88% rename from src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.PowerShell.cs index cadbd94d7a0e..71a7ade25085 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -51,29 +51,27 @@ public partial class IdentityUserAssignedIdentities partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new IdentityUserAssignedIdentities(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new IdentityUserAssignedIdentities(content); } @@ -83,10 +81,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdent /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,7 +103,7 @@ internal IdentityUserAssignedIdentities(global::System.Collections.IDictionary c } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.TypeConverter.cs index f32057798725..89696375bec5 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.cs b/src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.cs similarity index 84% rename from src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.cs rename to src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.cs index f5a5428dd986..3f43d50a6770 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.cs +++ b/src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -7,8 +7,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. /// public partial class IdentityUserAssignedIdentities : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentitiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentitiesInternal { /// Creates an new instance. @@ -21,7 +21,7 @@ public IdentityUserAssignedIdentities() /// resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. public partial interface IIdentityUserAssignedIdentities : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray { } diff --git a/src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.dictionary.cs b/src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.dictionary.cs similarity index 56% rename from src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.dictionary.cs rename to src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.dictionary.cs index 30af8cdd1a9f..5e2ba228fec0 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.dictionary.cs +++ b/src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.dictionary.cs @@ -1,25 +1,25 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; public partial class IdentityUserAssignedIdentities : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray { - protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary(); + protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary(); - global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; } + global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; } - int Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; } + int Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; } - global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; } + global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; } - global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; } + global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; } - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; } /// /// - public void Add(global::System.String key, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties value) => __additionalProperties.Add( key, value); + public void Add(global::System.String key, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties value) => __additionalProperties.Add( key, value); public void Clear() => __additionalProperties.Clear(); @@ -35,7 +35,7 @@ public void CopyFrom(global::System.Collections.IDictionary source) { if ((null != property.Key && null != property.Value)) { - this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); + this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); } } } @@ -50,7 +50,7 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) { if ((null != property.Key && null != property.Value)) { - this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); + this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); } } } @@ -61,10 +61,10 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// /// - public bool TryGetValue(global::System.String key, out Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties value) => __additionalProperties.TryGetValue( key, out value); + public bool TryGetValue(global::System.String key, out Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties value) => __additionalProperties.TryGetValue( key, out value); /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IdentityUserAssignedIdentities source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IdentityUserAssignedIdentities source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.json.cs b/src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.json.cs similarity index 89% rename from src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.json.cs rename to src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.json.cs index 795b04653db1..3fc155f61f77 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IdentityUserAssignedIdentities.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/IdentityUserAssignedIdentities.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -50,13 +50,13 @@ public partial class IdentityUserAssignedIdentities partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new IdentityUserAssignedIdentities(json) : null; } @@ -74,7 +74,7 @@ internal IdentityUserAssignedIdentities(Microsoft.Azure.PowerShell.Cmdlets.Kusto { return; } - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray)this).AdditionalProperties, (j) => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.FromJson(j) ,exclusions ); + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray)this).AdditionalProperties, (j) => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.FromJson(j) ,exclusions ); AfterFromJson(json); } @@ -97,7 +97,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Mic { return container; } - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray)this).AdditionalProperties, container); + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IAssociativeArray)this).AdditionalProperties, container); AfterToJson(ref container); return container; } diff --git a/src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.PowerShell.cs new file mode 100644 index 000000000000..e9e0efb6abda --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.PowerShell.cs @@ -0,0 +1,145 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Class representing the Kusto Iot hub connection properties. + [System.ComponentModel.TypeConverter(typeof(IotHubConnectionPropertiesTypeConverter))] + public partial class IotHubConnectionProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new IotHubConnectionProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new IotHubConnectionProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal IotHubConnectionProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).IotHubResourceId = (string) content.GetValueForProperty("IotHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).IotHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).SharedAccessPolicyName = (string) content.GetValueForProperty("SharedAccessPolicyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).SharedAccessPolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal IotHubConnectionProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).IotHubResourceId = (string) content.GetValueForProperty("IotHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).IotHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).SharedAccessPolicyName = (string) content.GetValueForProperty("SharedAccessPolicyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).SharedAccessPolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Class representing the Kusto Iot hub connection properties. + [System.ComponentModel.TypeConverter(typeof(IotHubConnectionPropertiesTypeConverter))] + public partial interface IIotHubConnectionProperties + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.TypeConverter.cs index 58bdee426b70..d9916f9c43d7 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.cs b/src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.cs rename to src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.cs index d8959f621679..32465c42c98d 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.cs +++ b/src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing the Kusto Iot hub connection properties. public partial class IotHubConnectionProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal { /// Backing field for property. @@ -48,7 +48,7 @@ public partial class IotHubConnectionProperties : public string MappingRuleName { get => this._mappingRuleName; set => this._mappingRuleName = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? _provisioningState; diff --git a/src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.json.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.json.cs index 3c431f55d8e9..9d4e4c1e26fa 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IotHubConnectionProperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/IotHubConnectionProperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class IotHubConnectionProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new IotHubConnectionProperties(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.PowerShell.cs similarity index 50% rename from src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.PowerShell.cs index 7bb09334256c..2f18c8809003 100644 --- a/src/Kusto/generated/api/Models/Api20200918/EventHubDataConnection.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.PowerShell.cs @@ -1,10 +1,10 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; - /// Class representing an event hub data connection. - [System.ComponentModel.TypeConverter(typeof(EventHubDataConnectionTypeConverter))] - public partial class EventHubDataConnection + /// Class representing an iot hub data connection. + [System.ComponentModel.TypeConverter(typeof(IotHubDataConnectionTypeConverter))] + public partial class IotHubDataConnection { /// @@ -48,37 +48,44 @@ public partial class EventHubDataConnection partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnection DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnection DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new EventHubDataConnection(content); + return new IotHubDataConnection(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new EventHubDataConnection(content); + return new IotHubDataConnection(content); } /// - /// Deserializes a into a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - internal EventHubDataConnection(global::System.Collections.IDictionary content) + internal IotHubDataConnection(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -87,29 +94,29 @@ internal EventHubDataConnection(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubConnectionPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubConnectionPropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).Compression = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression?) content.GetValueForProperty("Compression",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).Compression, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).EventHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).IotHubResourceId = (string) content.GetValueForProperty("IotHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).IotHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).SharedAccessPolicyName = (string) content.GetValueForProperty("SharedAccessPolicyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).SharedAccessPolicyName, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal EventHubDataConnection(global::System.Management.Automation.PSObject content) + internal IotHubDataConnection(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -118,38 +125,31 @@ internal EventHubDataConnection(global::System.Management.Automation.PSObject co return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubConnectionPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubConnectionPropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).Compression = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression?) content.GetValueForProperty("Compression",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).Compression, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Compression.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).EventHubResourceId = (string) content.GetValueForProperty("EventHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).EventHubResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).TableName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.EventHubDataFormat.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnectionInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).IotHubResourceId = (string) content.GetValueForProperty("IotHubResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).IotHubResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).ConsumerGroup = (string) content.GetValueForProperty("ConsumerGroup",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).ConsumerGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).TableName = (string) content.GetValueForProperty("TableName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).TableName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).MappingRuleName = (string) content.GetValueForProperty("MappingRuleName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).MappingRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).DataFormat = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat?) content.GetValueForProperty("DataFormat",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).DataFormat, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).EventSystemProperty = (string[]) content.GetValueForProperty("EventSystemProperty",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).EventSystemProperty, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).SharedAccessPolicyName = (string) content.GetValueForProperty("SharedAccessPolicyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal)this).SharedAccessPolicyName, global::System.Convert.ToString); AfterDeserializePSObject(content); } - /// - /// Creates a new instance of , deserializing the content from a json string. - /// - /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IEventHubDataConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); - /// Serializes this instance to a json string. /// a containing this model serialized to JSON text. public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); } - /// Class representing an event hub data connection. - [System.ComponentModel.TypeConverter(typeof(EventHubDataConnectionTypeConverter))] - public partial interface IEventHubDataConnection + /// Class representing an iot hub data connection. + [System.ComponentModel.TypeConverter(typeof(IotHubDataConnectionTypeConverter))] + public partial interface IIotHubDataConnection { diff --git a/src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.TypeConverter.cs index 0ba1bb03fc0d..449fb68c43a8 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnection ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnection ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnection).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnection).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.cs b/src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.cs similarity index 74% rename from src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.cs rename to src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.cs index 881366adc489..93c4379a89b3 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.cs +++ b/src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.cs @@ -1,56 +1,56 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing an iot hub data connection. public partial class IotHubDataConnection : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnection, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnection, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection(); /// The iot hub consumer group. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string ConsumerGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).ConsumerGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).ConsumerGroup = value; } + public string ConsumerGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).ConsumerGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).ConsumerGroup = value ?? null; } /// /// The data format of the message. Optionally the data format can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat? DataFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).DataFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).DataFormat = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat? DataFormat { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).DataFormat; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).DataFormat = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IotHubDataFormat)""); } /// System properties of the iot hub [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string[] EventSystemProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).EventSystemProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).EventSystemProperty = value; } + public string[] EventSystemProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).EventSystemProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).EventSystemProperty = value ?? null /* arrayOf */; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Id; } /// The resource ID of the Iot hub to be used to create a data connection. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string IotHubResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).IotHubResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).IotHubResourceId = value; } + public string IotHubResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).IotHubResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).IotHubResourceId = value ?? null; } /// Kind of the endpoint for the data connection [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Kind = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Kind = value ; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal)__dataConnection).Location = value; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal)__dataConnection).Location = value ?? null; } /// /// The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string MappingRuleName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).MappingRuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).MappingRuleName = value; } + public string MappingRuleName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).MappingRuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).MappingRuleName = value ?? null; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Id = value; } @@ -62,38 +62,38 @@ public partial class IotHubDataConnection : string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Type = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubConnectionProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubConnectionProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnectionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).ProvisioningState = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties _property; /// The Iot Hub data connection properties. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubConnectionProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubConnectionProperties()); set => this._property = value; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).ProvisioningState; } /// The name of the share access policy [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string SharedAccessPolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).SharedAccessPolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).SharedAccessPolicyName = value; } + public string SharedAccessPolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).SharedAccessPolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).SharedAccessPolicyName = value ?? null; } /// /// The table where the data should be ingested. Optionally the table information can be added to each message. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string TableName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).TableName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionPropertiesInternal)Property).TableName = value; } + public string TableName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).TableName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionPropertiesInternal)Property).TableName = value ?? null; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__dataConnection).Type; } @@ -119,11 +119,11 @@ public IotHubDataConnection() /// Class representing an iot hub data connection. public partial interface IIotHubDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection { /// The iot hub consumer group. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The iot hub consumer group.", SerializedName = @"consumerGroup", @@ -149,7 +149,7 @@ public partial interface IIotHubDataConnection : string[] EventSystemProperty { get; set; } /// The resource ID of the Iot hub to be used to create a data connection. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The resource ID of the Iot hub to be used to create a data connection.", SerializedName = @"iotHubResourceId", @@ -175,7 +175,7 @@ public partial interface IIotHubDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; } /// The name of the share access policy [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Description = @"The name of the share access policy", SerializedName = @"sharedAccessPolicyName", @@ -195,7 +195,7 @@ public partial interface IIotHubDataConnection : } /// Class representing an iot hub data connection. internal partial interface IIotHubDataConnectionInternal : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionInternal { /// The iot hub consumer group. string ConsumerGroup { get; set; } @@ -212,7 +212,7 @@ internal partial interface IIotHubDataConnectionInternal : /// string MappingRuleName { get; set; } /// The Iot Hub data connection properties. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubConnectionProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubConnectionProperties Property { get; set; } /// The provisioned state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } /// The name of the share access policy diff --git a/src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.json.cs b/src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.json.cs rename to src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.json.cs index 721c716f85d3..969e0c056431 100644 --- a/src/Kusto/generated/api/Models/Api20200918/IotHubDataConnection.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/IotHubDataConnection.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class IotHubDataConnection partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnection. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnection. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnection. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnection. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIotHubDataConnection FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIotHubDataConnection FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new IotHubDataConnection(json) : null; } @@ -70,8 +70,8 @@ internal IotHubDataConnection(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.J { return; } - __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubConnectionProperties.FromJson(__jsonProperties) : Property;} + __dataConnection = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubConnectionProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.PowerShell.cs similarity index 71% rename from src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.PowerShell.cs index a28a0c52d235..07a683045e21 100644 --- a/src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class KeyVaultProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new KeyVaultProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KeyVaultProperties(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVa /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,15 +94,15 @@ internal KeyVaultProperties(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyVersion = (string) content.GetValueForProperty("KeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyVersion, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyVaultUri = (string) content.GetValueForProperty("KeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyVaultUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).UserIdentity = (string) content.GetValueForProperty("UserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).UserIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyVersion = (string) content.GetValueForProperty("KeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyVaultUri = (string) content.GetValueForProperty("KeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyVaultUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).UserIdentity = (string) content.GetValueForProperty("UserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).UserIdentity, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,10 +115,10 @@ internal KeyVaultProperties(global::System.Management.Automation.PSObject conten return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyVersion = (string) content.GetValueForProperty("KeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyVersion, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyVaultUri = (string) content.GetValueForProperty("KeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).KeyVaultUri, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).UserIdentity = (string) content.GetValueForProperty("UserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal)this).UserIdentity, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyName = (string) content.GetValueForProperty("KeyName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyVersion = (string) content.GetValueForProperty("KeyVersion",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyVaultUri = (string) content.GetValueForProperty("KeyVaultUri",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).KeyVaultUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).UserIdentity = (string) content.GetValueForProperty("UserIdentity",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal)this).UserIdentity, global::System.Convert.ToString); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.TypeConverter.cs index a230ae84e9a2..1a1515143274 100644 --- a/src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.cs b/src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.cs rename to src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.cs index 4c6112a20d33..38a38ab19553 100644 --- a/src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.cs +++ b/src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Properties of the key vault. public partial class KeyVaultProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultPropertiesInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.json.cs index 3faa7cd468a8..a84549a0e95f 100644 --- a/src/Kusto/generated/api/Models/Api20200918/KeyVaultProperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/KeyVaultProperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class KeyVaultProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IKeyVaultProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IKeyVaultProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new KeyVaultProperties(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/LanguageExtension.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/LanguageExtension.PowerShell.cs similarity index 81% rename from src/Kusto/generated/api/Models/Api20200918/LanguageExtension.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/LanguageExtension.PowerShell.cs index fb002af4c754..265c60cd28af 100644 --- a/src/Kusto/generated/api/Models/Api20200918/LanguageExtension.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/LanguageExtension.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class LanguageExtension partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new LanguageExtension(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new LanguageExtension(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILangu /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,12 +94,12 @@ internal LanguageExtension(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.LanguageExtensionName?) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.LanguageExtensionName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.LanguageExtensionName?) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.LanguageExtensionName.CreateFrom); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -112,7 +112,7 @@ internal LanguageExtension(global::System.Management.Automation.PSObject content return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.LanguageExtensionName?) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.LanguageExtensionName.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionInternal)this).Name = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.LanguageExtensionName?) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionInternal)this).Name, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.LanguageExtensionName.CreateFrom); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/LanguageExtension.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/LanguageExtension.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/LanguageExtension.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/LanguageExtension.TypeConverter.cs index 22e3e6ba0898..50f1e2db8b59 100644 --- a/src/Kusto/generated/api/Models/Api20200918/LanguageExtension.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/LanguageExtension.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/LanguageExtension.cs b/src/Kusto/generated/api/Models/Api202101/LanguageExtension.cs similarity index 90% rename from src/Kusto/generated/api/Models/Api20200918/LanguageExtension.cs rename to src/Kusto/generated/api/Models/Api202101/LanguageExtension.cs index af4edc91d079..d24f7885e66a 100644 --- a/src/Kusto/generated/api/Models/Api20200918/LanguageExtension.cs +++ b/src/Kusto/generated/api/Models/Api202101/LanguageExtension.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The language extension object. public partial class LanguageExtension : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/LanguageExtension.json.cs b/src/Kusto/generated/api/Models/Api202101/LanguageExtension.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/LanguageExtension.json.cs rename to src/Kusto/generated/api/Models/Api202101/LanguageExtension.json.cs index babca02a1327..e4023a67a6fd 100644 --- a/src/Kusto/generated/api/Models/Api20200918/LanguageExtension.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/LanguageExtension.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class LanguageExtension partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new LanguageExtension(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.PowerShell.cs similarity index 78% rename from src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.PowerShell.cs index 9d7b275a8ae4..9e3142cf9b28 100644 --- a/src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class LanguageExtensionsList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new LanguageExtensionsList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new LanguageExtensionsList(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILangu /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,12 +94,12 @@ internal LanguageExtensionsList(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -112,7 +112,7 @@ internal LanguageExtensionsList(global::System.Management.Automation.PSObject co return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.TypeConverter.cs index 6da1c3cfde29..be6396c031b8 100644 --- a/src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.cs b/src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.cs similarity index 71% rename from src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.cs rename to src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.cs index 50af5a9259e7..3d0b3e79bfad 100644 --- a/src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.cs +++ b/src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list of language extension objects. public partial class LanguageExtensionsList : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsListInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsListInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] _value; /// The list of language extensions. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public LanguageExtensionsList() @@ -31,8 +31,8 @@ public partial interface ILanguageExtensionsList : ReadOnly = false, Description = @"The list of language extensions.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] Value { get; set; } } /// The list of language extension objects. @@ -40,7 +40,7 @@ internal partial interface ILanguageExtensionsListInternal { /// The list of language extensions. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.json.cs b/src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.json.cs similarity index 91% rename from src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.json.cs rename to src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.json.cs index 71ac5cce80b6..39a0ee441601 100644 --- a/src/Kusto/generated/api/Models/Api20200918/LanguageExtensionsList.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/LanguageExtensionsList.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class LanguageExtensionsList partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new LanguageExtensionsList(json) : null; } @@ -70,7 +70,7 @@ internal LanguageExtensionsList(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtension.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtension.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } diff --git a/src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.PowerShell.cs similarity index 78% rename from src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.PowerShell.cs index 9f3d4c929aaf..29347a6c9796 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class ListResourceSkusResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ListResourceSkusResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ListResourceSkusResult(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListR /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,12 +94,12 @@ internal ListResourceSkusResult(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureResourceSkuTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureResourceSkuTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -112,7 +112,7 @@ internal ListResourceSkusResult(global::System.Management.Automation.PSObject co return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureResourceSkuTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureResourceSkuTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.TypeConverter.cs index 5b7c613ed959..df998580b992 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.cs b/src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.cs similarity index 73% rename from src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.cs rename to src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.cs index cad17a48cce1..284effaf2645 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.cs @@ -1,19 +1,19 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// List of available SKUs for a Kusto Cluster. public partial class ListResourceSkusResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResultInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku[] _value; /// The collection of available SKUs for an existing resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public ListResourceSkusResult() @@ -31,8 +31,8 @@ public partial interface IListResourceSkusResult : ReadOnly = false, Description = @"The collection of available SKUs for an existing resource.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku[] Value { get; set; } } /// List of available SKUs for a Kusto Cluster. @@ -40,7 +40,7 @@ internal partial interface IListResourceSkusResultInternal { /// The collection of available SKUs for an existing resource. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.json.cs b/src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.json.cs similarity index 91% rename from src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.json.cs index efa470f6f172..849badc76f64 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ListResourceSkusResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ListResourceSkusResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class ListResourceSkusResult partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IListResourceSkusResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IListResourceSkusResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ListResourceSkusResult(json) : null; } @@ -70,7 +70,7 @@ internal ListResourceSkusResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureResourceSku.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureResourceSku.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } diff --git a/src/Kusto/generated/api/Models/Api20200918/Operation.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/Operation.PowerShell.cs similarity index 59% rename from src/Kusto/generated/api/Models/Api20200918/Operation.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/Operation.PowerShell.cs index a22c600c7fa4..60ee419a01f1 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Operation.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/Operation.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class Operation partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Operation(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Operation(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOpera /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,19 +94,19 @@ internal Operation(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationDisplayTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Origin, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.AnyTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayProvider, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayOperation, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayResource, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayDescription, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationDisplayTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Origin, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayProvider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayResource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayDescription, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -119,14 +119,14 @@ internal Operation(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationDisplayTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Origin, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.AnyTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayProvider, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayOperation, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayResource, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal)this).DisplayDescription, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationDisplayTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Origin, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayProvider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayResource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal)this).DisplayDescription, global::System.Convert.ToString); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/Operation.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/Operation.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/Operation.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/Operation.TypeConverter.cs index 874c1d5d3108..49b608a006f9 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Operation.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/Operation.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/Operation.cs b/src/Kusto/generated/api/Models/Api202101/Operation.cs similarity index 80% rename from src/Kusto/generated/api/Models/Api20200918/Operation.cs rename to src/Kusto/generated/api/Models/Api202101/Operation.cs index f682818b250d..dc6b226f95f8 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Operation.cs +++ b/src/Kusto/generated/api/Models/Api202101/Operation.cs @@ -1,38 +1,38 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A REST API operation public partial class Operation : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay _display; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay _display; /// The object that describes the operation. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationDisplay()); set => this._display = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationDisplay()); set => this._display = value; } /// The friendly name of the operation. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)Display).Description = value; } + public string DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)Display).Description = value ?? null; } /// For example: read, write, delete. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)Display).Operation = value; } + public string DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)Display).Operation = value ?? null; } /// Friendly name of the resource provider. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)Display).Provider = value; } + public string DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)Display).Provider = value ?? null; } /// The resource type on which the operation is performed. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)Display).Resource = value; } + public string DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)Display).Resource = value ?? null; } /// Internal Acessors for Display - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationDisplay()); set { {_display = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationDisplay()); set { {_display = value;} } } /// Backing field for property. private string _name; @@ -128,7 +128,7 @@ internal partial interface IOperationInternal { /// The object that describes the operation. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay Display { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay Display { get; set; } /// The friendly name of the operation. string DisplayDescription { get; set; } /// For example: read, write, delete. diff --git a/src/Kusto/generated/api/Models/Api20200918/Operation.json.cs b/src/Kusto/generated/api/Models/Api202101/Operation.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/Operation.json.cs rename to src/Kusto/generated/api/Models/Api202101/Operation.json.cs index 9d57ed856282..1dda6f5c24cc 100644 --- a/src/Kusto/generated/api/Models/Api20200918/Operation.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/Operation.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class Operation partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new Operation(json) : null; } @@ -70,7 +70,7 @@ internal Operation(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObj { return; } - {_display = If( json?.PropertyT("display"), out var __jsonDisplay) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationDisplay.FromJson(__jsonDisplay) : Display;} + {_display = If( json?.PropertyT("display"), out var __jsonDisplay) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationDisplay.FromJson(__jsonDisplay) : Display;} {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} {_origin = If( json?.PropertyT("origin"), out var __jsonOrigin) ? (string)__jsonOrigin : (string)Origin;} {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Any.FromJson(__jsonProperties) : Property;} diff --git a/src/Kusto/generated/api/Models/Api20200918/OperationDisplay.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/OperationDisplay.PowerShell.cs similarity index 71% rename from src/Kusto/generated/api/Models/Api20200918/OperationDisplay.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/OperationDisplay.PowerShell.cs index 007de19e1448..b073c092ce30 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OperationDisplay.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/OperationDisplay.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class OperationDisplay partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new OperationDisplay(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OperationDisplay(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOpera /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,15 +94,15 @@ internal OperationDisplay(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Provider, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Operation, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Resource, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Provider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Resource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Description, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,10 +115,10 @@ internal OperationDisplay(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Provider, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Operation, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Resource, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Provider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Resource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal)this).Description, global::System.Convert.ToString); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/OperationDisplay.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/OperationDisplay.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/OperationDisplay.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/OperationDisplay.TypeConverter.cs index 4e1a591d2cbd..102eeee19b26 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OperationDisplay.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/OperationDisplay.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/OperationDisplay.cs b/src/Kusto/generated/api/Models/Api202101/OperationDisplay.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/OperationDisplay.cs rename to src/Kusto/generated/api/Models/Api202101/OperationDisplay.cs index 992b75b8bb63..1b1da4ba9f95 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OperationDisplay.cs +++ b/src/Kusto/generated/api/Models/Api202101/OperationDisplay.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The object that describes the operation. public partial class OperationDisplay : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplayInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplayInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/OperationDisplay.json.cs b/src/Kusto/generated/api/Models/Api202101/OperationDisplay.json.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/OperationDisplay.json.cs rename to src/Kusto/generated/api/Models/Api202101/OperationDisplay.json.cs index eddd89cc0da0..2c70c810fa20 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OperationDisplay.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/OperationDisplay.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class OperationDisplay partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationDisplay FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationDisplay FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new OperationDisplay(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/OperationListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/OperationListResult.PowerShell.cs similarity index 75% rename from src/Kusto/generated/api/Models/Api20200918/OperationListResult.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/OperationListResult.PowerShell.cs index 90b3936c3e1c..47ae32d62247 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OperationListResult.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/OperationListResult.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -51,27 +51,27 @@ public partial class OperationListResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new OperationListResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OperationListResult(content); } @@ -81,10 +81,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOpera /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -97,13 +97,13 @@ internal OperationListResult(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationTypeConverter.ConvertFrom)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResultInternal)this).NextLink, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -116,8 +116,8 @@ internal OperationListResult(global::System.Management.Automation.PSObject conte return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationTypeConverter.ConvertFrom)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResultInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResultInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResultInternal)this).NextLink, global::System.Convert.ToString); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/OperationListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/OperationListResult.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/OperationListResult.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/OperationListResult.TypeConverter.cs index 82bf224a6a17..01e206bc606e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OperationListResult.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/OperationListResult.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/OperationListResult.cs b/src/Kusto/generated/api/Models/Api202101/OperationListResult.cs similarity index 84% rename from src/Kusto/generated/api/Models/Api20200918/OperationListResult.cs rename to src/Kusto/generated/api/Models/Api202101/OperationListResult.cs index 48707eeeb861..4e3127d78be7 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OperationListResult.cs +++ b/src/Kusto/generated/api/Models/Api202101/OperationListResult.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -7,8 +7,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 /// set of results. /// public partial class OperationListResult : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResult, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResultInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResultInternal { /// Backing field for property. @@ -19,11 +19,11 @@ public partial class OperationListResult : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation[] _value; /// The list of operations supported by the resource provider. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public OperationListResult() @@ -50,8 +50,8 @@ public partial interface IOperationListResult : ReadOnly = false, Description = @"The list of operations supported by the resource provider.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation[] Value { get; set; } } /// Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next @@ -62,7 +62,7 @@ internal partial interface IOperationListResultInternal /// The URL to get the next set of operation list results if there are any. string NextLink { get; set; } /// The list of operations supported by the resource provider. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/OperationListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/OperationListResult.json.cs similarity index 92% rename from src/Kusto/generated/api/Models/Api20200918/OperationListResult.json.cs rename to src/Kusto/generated/api/Models/Api202101/OperationListResult.json.cs index 5a2fdfe751a2..3367f010845e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OperationListResult.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/OperationListResult.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -50,13 +50,13 @@ public partial class OperationListResult partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperationListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new OperationListResult(json) : null; } @@ -73,7 +73,7 @@ internal OperationListResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Js { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Operation.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Operation.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/OperationResult.PowerShell.cs new file mode 100644 index 000000000000..9e3fb671fa9e --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResult.PowerShell.cs @@ -0,0 +1,153 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Operation Result Entity. + [System.ComponentModel.TypeConverter(typeof(OperationResultTypeConverter))] + public partial class OperationResult + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new OperationResult(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new OperationResult(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal OperationResult(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultErrorPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).PercentComplete = (double?) content.GetValueForProperty("PercentComplete",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).PercentComplete, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).OperationKind = (string) content.GetValueForProperty("OperationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).OperationKind, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).OperationState = (string) content.GetValueForProperty("OperationState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).OperationState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Message, global::System.Convert.ToString); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal OperationResult(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultErrorPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).PercentComplete = (double?) content.GetValueForProperty("PercentComplete",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).PercentComplete, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).OperationKind = (string) content.GetValueForProperty("OperationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).OperationKind, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).OperationState = (string) content.GetValueForProperty("OperationState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).OperationState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal)this).Message, global::System.Convert.ToString); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Operation Result Entity. + [System.ComponentModel.TypeConverter(typeof(OperationResultTypeConverter))] + public partial interface IOperationResult + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/OperationResult.TypeConverter.cs new file mode 100644 index 000000000000..bb5762615273 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResult.TypeConverter.cs @@ -0,0 +1,142 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class OperationResultTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter to the parameter using and + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return OperationResult.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return OperationResult.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return OperationResult.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResult.cs b/src/Kusto/generated/api/Models/Api202101/OperationResult.cs new file mode 100644 index 000000000000..4f73890c6bf8 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResult.cs @@ -0,0 +1,220 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Operation Result Entity. + public partial class OperationResult : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal + { + + /// The code of the error. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)Error).Code = value ?? null; } + + /// Backing field for property. + private global::System.DateTime? _endTime; + + /// The operation end time + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public global::System.DateTime? EndTime { get => this._endTime; set => this._endTime = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties _error; + + /// Object that contains the error code and message if the operation failed. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultErrorProperties()); set => this._error = value; } + + /// Backing field for property. + private string _id; + + /// ID of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string Id { get => this._id; } + + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)Error).Message = value ?? null; } + + /// Internal Acessors for Error + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultErrorProperties()); set { {_error = value;} } } + + /// Internal Acessors for Id + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal.Id { get => this._id; set { {_id = value;} } } + + /// Internal Acessors for Name + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal.Name { get => this._name; set { {_name = value;} } } + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultProperties()); set { {_property = value;} } } + + /// Internal Acessors for Status + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultInternal.Status { get => this._status; set { {_status = value;} } } + + /// Backing field for property. + private string _name; + + /// Name of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string Name { get => this._name; } + + /// The kind of the operation. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string OperationKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)Property).OperationKind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)Property).OperationKind = value ?? null; } + + /// The state of the operation. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string OperationState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)Property).OperationState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)Property).OperationState = value ?? null; } + + /// Backing field for property. + private double? _percentComplete; + + /// Percentage completed. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public double? PercentComplete { get => this._percentComplete; set => this._percentComplete = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties _property; + + /// Properties of the operation results + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultProperties()); set => this._property = value; } + + /// Backing field for property. + private global::System.DateTime? _startTime; + + /// The operation start time + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public global::System.DateTime? StartTime { get => this._startTime; set => this._startTime = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status? _status; + + /// status of the Operation result. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status? Status { get => this._status; } + + /// Creates an new instance. + public OperationResult() + { + + } + } + /// Operation Result Entity. + public partial interface IOperationResult : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable + { + /// The code of the error. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The code of the error.", + SerializedName = @"code", + PossibleTypes = new [] { typeof(string) })] + string Code { get; set; } + /// The operation end time + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The operation end time", + SerializedName = @"endTime", + PossibleTypes = new [] { typeof(global::System.DateTime) })] + global::System.DateTime? EndTime { get; set; } + /// ID of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"ID of the resource.", + SerializedName = @"id", + PossibleTypes = new [] { typeof(string) })] + string Id { get; } + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The error message.", + SerializedName = @"message", + PossibleTypes = new [] { typeof(string) })] + string Message { get; set; } + /// Name of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Name of the resource.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string Name { get; } + /// The kind of the operation. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The kind of the operation.", + SerializedName = @"operationKind", + PossibleTypes = new [] { typeof(string) })] + string OperationKind { get; set; } + /// The state of the operation. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The state of the operation.", + SerializedName = @"operationState", + PossibleTypes = new [] { typeof(string) })] + string OperationState { get; set; } + /// Percentage completed. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Percentage completed.", + SerializedName = @"percentComplete", + PossibleTypes = new [] { typeof(double) })] + double? PercentComplete { get; set; } + /// The operation start time + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The operation start time", + SerializedName = @"startTime", + PossibleTypes = new [] { typeof(global::System.DateTime) })] + global::System.DateTime? StartTime { get; set; } + /// status of the Operation result. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"status of the Operation result.", + SerializedName = @"status", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status? Status { get; } + + } + /// Operation Result Entity. + internal partial interface IOperationResultInternal + + { + /// The code of the error. + string Code { get; set; } + /// The operation end time + global::System.DateTime? EndTime { get; set; } + /// Object that contains the error code and message if the operation failed. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties Error { get; set; } + /// ID of the resource. + string Id { get; set; } + /// The error message. + string Message { get; set; } + /// Name of the resource. + string Name { get; set; } + /// The kind of the operation. + string OperationKind { get; set; } + /// The state of the operation. + string OperationState { get; set; } + /// Percentage completed. + double? PercentComplete { get; set; } + /// Properties of the operation results + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties Property { get; set; } + /// The operation start time + global::System.DateTime? StartTime { get; set; } + /// status of the Operation result. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status? Status { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResult.json.cs b/src/Kusto/generated/api/Models/Api202101/OperationResult.json.cs new file mode 100644 index 000000000000..e73138e516df --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResult.json.cs @@ -0,0 +1,124 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Operation Result Entity. + public partial class OperationResult + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new OperationResult(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from. + internal OperationResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultProperties.FromJson(__jsonProperties) : Property;} + {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultErrorProperties.FromJson(__jsonError) : Error;} + {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)Id;} + {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} + {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)Status;} + {_startTime = If( json?.PropertyT("startTime"), out var __jsonStartTime) ? global::System.DateTime.TryParse((string)__jsonStartTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonStartTimeValue) ? __jsonStartTimeValue : StartTime : StartTime;} + {_endTime = If( json?.PropertyT("endTime"), out var __jsonEndTime) ? global::System.DateTime.TryParse((string)__jsonEndTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonEndTimeValue) ? __jsonEndTimeValue : EndTime : EndTime;} + {_percentComplete = If( json?.PropertyT("percentComplete"), out var __jsonPercentComplete) ? (double?)__jsonPercentComplete : PercentComplete;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + AddIf( null != this._error ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) this._error.ToJson(null,serializationMode) : null, "error" ,container.Add ); + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._id)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._id.ToString()) : null, "id" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._name)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._name.ToString()) : null, "name" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._status)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._status.ToString()) : null, "status" ,container.Add ); + } + AddIf( null != this._startTime ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._startTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "startTime" ,container.Add ); + AddIf( null != this._endTime ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._endTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "endTime" ,container.Add ); + AddIf( null != this._percentComplete ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNumber((double)this._percentComplete) : null, "percentComplete" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.PowerShell.cs new file mode 100644 index 000000000000..cdc37551d40c --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.PowerShell.cs @@ -0,0 +1,133 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Operation result error properties + [System.ComponentModel.TypeConverter(typeof(OperationResultErrorPropertiesTypeConverter))] + public partial class OperationResultErrorProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new OperationResultErrorProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new OperationResultErrorProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal OperationResultErrorProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)this).Message, global::System.Convert.ToString); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal OperationResultErrorProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal)this).Message, global::System.Convert.ToString); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Operation result error properties + [System.ComponentModel.TypeConverter(typeof(OperationResultErrorPropertiesTypeConverter))] + public partial interface IOperationResultErrorProperties + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.TypeConverter.cs new file mode 100644 index 000000000000..60a324a37905 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.TypeConverter.cs @@ -0,0 +1,142 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class OperationResultErrorPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter to the parameter using and + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return OperationResultErrorProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return OperationResultErrorProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return OperationResultErrorProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.cs b/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.cs new file mode 100644 index 000000000000..8ef0ae70619e --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.cs @@ -0,0 +1,63 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Operation result error properties + public partial class OperationResultErrorProperties : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorPropertiesInternal + { + + /// Backing field for property. + private string _code; + + /// The code of the error. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string Code { get => this._code; set => this._code = value; } + + /// Backing field for property. + private string _message; + + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string Message { get => this._message; set => this._message = value; } + + /// Creates an new instance. + public OperationResultErrorProperties() + { + + } + } + /// Operation result error properties + public partial interface IOperationResultErrorProperties : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable + { + /// The code of the error. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The code of the error.", + SerializedName = @"code", + PossibleTypes = new [] { typeof(string) })] + string Code { get; set; } + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The error message.", + SerializedName = @"message", + PossibleTypes = new [] { typeof(string) })] + string Message { get; set; } + + } + /// Operation result error properties + internal partial interface IOperationResultErrorPropertiesInternal + + { + /// The code of the error. + string Code { get; set; } + /// The error message. + string Message { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.json.cs new file mode 100644 index 000000000000..bdf5b128c137 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResultErrorProperties.json.cs @@ -0,0 +1,103 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Operation result error properties + public partial class OperationResultErrorProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultErrorProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new OperationResultErrorProperties(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from. + internal OperationResultErrorProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_code = If( json?.PropertyT("code"), out var __jsonCode) ? (string)__jsonCode : (string)Code;} + {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._code)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._code.ToString()) : null, "code" ,container.Add ); + AddIf( null != (((object)this._message)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._message.ToString()) : null, "message" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.PowerShell.cs new file mode 100644 index 000000000000..a4cd8ef69a39 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.PowerShell.cs @@ -0,0 +1,133 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Operation result properties + [System.ComponentModel.TypeConverter(typeof(OperationResultPropertiesTypeConverter))] + public partial class OperationResultProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new OperationResultProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new OperationResultProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal OperationResultProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)this).OperationKind = (string) content.GetValueForProperty("OperationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)this).OperationKind, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)this).OperationState = (string) content.GetValueForProperty("OperationState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)this).OperationState, global::System.Convert.ToString); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal OperationResultProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)this).OperationKind = (string) content.GetValueForProperty("OperationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)this).OperationKind, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)this).OperationState = (string) content.GetValueForProperty("OperationState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal)this).OperationState, global::System.Convert.ToString); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Operation result properties + [System.ComponentModel.TypeConverter(typeof(OperationResultPropertiesTypeConverter))] + public partial interface IOperationResultProperties + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.TypeConverter.cs new file mode 100644 index 000000000000..a917920c46eb --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.TypeConverter.cs @@ -0,0 +1,142 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class OperationResultPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter to the parameter using and + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return OperationResultProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return OperationResultProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return OperationResultProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.cs b/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.cs new file mode 100644 index 000000000000..5a50cd9cd28f --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.cs @@ -0,0 +1,63 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Operation result properties + public partial class OperationResultProperties : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultPropertiesInternal + { + + /// Backing field for property. + private string _operationKind; + + /// The kind of the operation. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string OperationKind { get => this._operationKind; set => this._operationKind = value; } + + /// Backing field for property. + private string _operationState; + + /// The state of the operation. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string OperationState { get => this._operationState; set => this._operationState = value; } + + /// Creates an new instance. + public OperationResultProperties() + { + + } + } + /// Operation result properties + public partial interface IOperationResultProperties : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable + { + /// The kind of the operation. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The kind of the operation.", + SerializedName = @"operationKind", + PossibleTypes = new [] { typeof(string) })] + string OperationKind { get; set; } + /// The state of the operation. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The state of the operation.", + SerializedName = @"operationState", + PossibleTypes = new [] { typeof(string) })] + string OperationState { get; set; } + + } + /// Operation result properties + internal partial interface IOperationResultPropertiesInternal + + { + /// The kind of the operation. + string OperationKind { get; set; } + /// The state of the operation. + string OperationState { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.json.cs new file mode 100644 index 000000000000..80caaf7ebb51 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/OperationResultProperties.json.cs @@ -0,0 +1,103 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Operation result properties + public partial class OperationResultProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResultProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new OperationResultProperties(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from. + internal OperationResultProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_operationKind = If( json?.PropertyT("operationKind"), out var __jsonOperationKind) ? (string)__jsonOperationKind : (string)OperationKind;} + {_operationState = If( json?.PropertyT("operationState"), out var __jsonOperationState) ? (string)__jsonOperationState : (string)OperationState;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._operationKind)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._operationKind.ToString()) : null, "operationKind" ,container.Add ); + AddIf( null != (((object)this._operationState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._operationState.ToString()) : null, "operationState" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.PowerShell.cs similarity index 70% rename from src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.PowerShell.cs index 625d1eea5f2e..1ae51ecb2b37 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class OptimizedAutoscale partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new OptimizedAutoscale(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OptimizedAutoscale(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptim /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,15 +94,15 @@ internal OptimizedAutoscale(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Version = (int) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Version, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).IsEnabled = (bool) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Minimum = (int) content.GetValueForProperty("Minimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Minimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Maximum = (int) content.GetValueForProperty("Maximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Maximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Version = (int) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Version, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).IsEnabled = (bool) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Minimum = (int) content.GetValueForProperty("Minimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Minimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Maximum = (int) content.GetValueForProperty("Maximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Maximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,10 +115,10 @@ internal OptimizedAutoscale(global::System.Management.Automation.PSObject conten return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Version = (int) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Version, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).IsEnabled = (bool) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Minimum = (int) content.GetValueForProperty("Minimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Minimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Maximum = (int) content.GetValueForProperty("Maximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal)this).Maximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Version = (int) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Version, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).IsEnabled = (bool) content.GetValueForProperty("IsEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).IsEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Minimum = (int) content.GetValueForProperty("Minimum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Minimum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Maximum = (int) content.GetValueForProperty("Maximum",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal)this).Maximum, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.TypeConverter.cs index c1bf8fb35f36..09724eadd179 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.cs b/src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.cs similarity index 95% rename from src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.cs rename to src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.cs index 18420a3002e7..542d2f62e2a5 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.cs +++ b/src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A class that contains the optimized auto scale definition. public partial class OptimizedAutoscale : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscaleInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscaleInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.json.cs b/src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.json.cs rename to src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.json.cs index d5d068ac1a1e..3f12ec1411a1 100644 --- a/src/Kusto/generated/api/Models/Api20200918/OptimizedAutoscale.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/OptimizedAutoscale.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class OptimizedAutoscale partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOptimizedAutoscale FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOptimizedAutoscale FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new OptimizedAutoscale(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.PowerShell.cs similarity index 52% rename from src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.PowerShell.cs index f84e7b3a645b..b5f847a14e02 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class ReadOnlyFollowingDatabase partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabase DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ReadOnlyFollowingDatabase(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ReadOnlyFollowingDatabase(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadO /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,25 +94,25 @@ internal ReadOnlyFollowingDatabase(global::System.Collections.IDictionary conten return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadOnlyFollowingDatabasePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadOnlyFollowingDatabasePropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatisticsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).LeaderClusterResourceId = (string) content.GetValueForProperty("LeaderClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).LeaderClusterResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).PrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind?) content.GetValueForProperty("PrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).PrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatisticsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).LeaderClusterResourceId = (string) content.GetValueForProperty("LeaderClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).LeaderClusterResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).PrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind?) content.GetValueForProperty("PrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).PrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -125,20 +125,20 @@ internal ReadOnlyFollowingDatabase(global::System.Management.Automation.PSObject return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadOnlyFollowingDatabasePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadOnlyFollowingDatabasePropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatisticsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).LeaderClusterResourceId = (string) content.GetValueForProperty("LeaderClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).LeaderClusterResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).PrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind?) content.GetValueForProperty("PrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).PrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatisticsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).LeaderClusterResourceId = (string) content.GetValueForProperty("LeaderClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).LeaderClusterResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).PrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind?) content.GetValueForProperty("PrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).PrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.TypeConverter.cs index 83abe038d82f..dbf521afa876 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.cs b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.cs similarity index 69% rename from src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.cs rename to src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.cs index b9ec5e5955b0..9488c3c76aa0 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.cs @@ -1,43 +1,43 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing a read only following database. public partial class ReadOnlyFollowingDatabase : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabase, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabase, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// - /// Backing field for Inherited model + /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase __database = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase __database = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database(); /// The name of the attached database configuration cluster [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string AttachedDatabaseConfigurationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).AttachedDatabaseConfigurationName; } + public string AttachedDatabaseConfigurationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).AttachedDatabaseConfigurationName; } /// The time the data should be kept in cache for fast queries in TimeSpan. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public global::System.TimeSpan? HotCachePeriod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).HotCachePeriod; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).HotCachePeriod = value; } + public global::System.TimeSpan? HotCachePeriod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).HotCachePeriod; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).HotCachePeriod = value ?? default(global::System.TimeSpan); } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Id; } /// Kind of the database [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)__database).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)__database).Kind = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)__database).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)__database).Kind = value ; } /// The name of the leader cluster [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public string LeaderClusterResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).LeaderClusterResourceId; } + public string LeaderClusterResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).LeaderClusterResourceId; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)__database).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)__database).Location = value; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)__database).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)__database).Location = value ?? null; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Id = value; } @@ -49,25 +49,25 @@ public partial class ReadOnlyFollowingDatabase : string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Type = value; } /// Internal Acessors for AttachedDatabaseConfigurationName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal.AttachedDatabaseConfigurationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).AttachedDatabaseConfigurationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).AttachedDatabaseConfigurationName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal.AttachedDatabaseConfigurationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).AttachedDatabaseConfigurationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).AttachedDatabaseConfigurationName = value; } /// Internal Acessors for LeaderClusterResourceId - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal.LeaderClusterResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).LeaderClusterResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).LeaderClusterResourceId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal.LeaderClusterResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).LeaderClusterResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).LeaderClusterResourceId = value; } /// Internal Acessors for PrincipalsModificationKind - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal.PrincipalsModificationKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).PrincipalsModificationKind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).PrincipalsModificationKind = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal.PrincipalsModificationKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).PrincipalsModificationKind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).PrincipalsModificationKind = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadOnlyFollowingDatabaseProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadOnlyFollowingDatabaseProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for SoftDeletePeriod - global::System.TimeSpan? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal.SoftDeletePeriod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).SoftDeletePeriod; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).SoftDeletePeriod = value; } + global::System.TimeSpan? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal.SoftDeletePeriod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).SoftDeletePeriod; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).SoftDeletePeriod = value; } /// Internal Acessors for Statistics - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseInternal.Statistics { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).Statistics; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).Statistics = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseInternal.Statistics { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).Statistics; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).Statistics = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] @@ -75,31 +75,31 @@ public partial class ReadOnlyFollowingDatabase : /// The principals modification kind of the database [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind? PrincipalsModificationKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).PrincipalsModificationKind; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind? PrincipalsModificationKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).PrincipalsModificationKind; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties _property; /// The database properties. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadOnlyFollowingDatabaseProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadOnlyFollowingDatabaseProperties()); set => this._property = value; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).ProvisioningState; } /// /// The time the data should be kept before it stops being accessible to queries in TimeSpan. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public global::System.TimeSpan? SoftDeletePeriod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).SoftDeletePeriod; } + public global::System.TimeSpan? SoftDeletePeriod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).SoftDeletePeriod; } /// The database size - the total size of compressed data and index in bytes. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public float? StatisticsSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).StatisticsSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)Property).StatisticsSize = value; } + public float? StatisticsSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).StatisticsSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)Property).StatisticsSize = value ?? default(float); } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Type; } @@ -125,7 +125,7 @@ public ReadOnlyFollowingDatabase() /// Class representing a read only following database. public partial interface IReadOnlyFollowingDatabase : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase { /// The name of the attached database configuration cluster [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( @@ -189,7 +189,7 @@ public partial interface IReadOnlyFollowingDatabase : } /// Class representing a read only following database. internal partial interface IReadOnlyFollowingDatabaseInternal : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal { /// The name of the attached database configuration cluster string AttachedDatabaseConfigurationName { get; set; } @@ -200,7 +200,7 @@ internal partial interface IReadOnlyFollowingDatabaseInternal : /// The principals modification kind of the database Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind? PrincipalsModificationKind { get; set; } /// The database properties. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties Property { get; set; } /// The provisioned state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } /// @@ -208,7 +208,7 @@ internal partial interface IReadOnlyFollowingDatabaseInternal : /// global::System.TimeSpan? SoftDeletePeriod { get; set; } /// The statistics of the database. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics Statistics { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics Statistics { get; set; } /// The database size - the total size of compressed data and index in bytes. float? StatisticsSize { get; set; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.json.cs b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.json.cs rename to src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.json.cs index 5a7d4f04aa9c..bbdc8d22110a 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabase.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabase.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class ReadOnlyFollowingDatabase partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabase. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabase. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabase FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabase FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ReadOnlyFollowingDatabase(json) : null; } @@ -70,8 +70,8 @@ internal ReadOnlyFollowingDatabase(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runt { return; } - __database = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadOnlyFollowingDatabaseProperties.FromJson(__jsonProperties) : Property;} + __database = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadOnlyFollowingDatabaseProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.PowerShell.cs similarity index 52% rename from src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.PowerShell.cs index 1139b66be2ba..ee98ee9cdf9d 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,29 +48,29 @@ public partial class ReadOnlyFollowingDatabaseProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ReadOnlyFollowingDatabaseProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ReadOnlyFollowingDatabaseProperties(content); } @@ -80,10 +80,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadO /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -96,19 +96,19 @@ internal ReadOnlyFollowingDatabaseProperties(global::System.Collections.IDiction return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatisticsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).LeaderClusterResourceId = (string) content.GetValueForProperty("LeaderClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).LeaderClusterResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).PrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind?) content.GetValueForProperty("PrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).PrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatisticsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).LeaderClusterResourceId = (string) content.GetValueForProperty("LeaderClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).LeaderClusterResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).PrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind?) content.GetValueForProperty("PrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).PrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -121,14 +121,14 @@ internal ReadOnlyFollowingDatabaseProperties(global::System.Management.Automatio return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatisticsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).LeaderClusterResourceId = (string) content.GetValueForProperty("LeaderClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).LeaderClusterResourceId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).PrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind?) content.GetValueForProperty("PrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).PrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatisticsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).LeaderClusterResourceId = (string) content.GetValueForProperty("LeaderClusterResourceId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).LeaderClusterResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).PrincipalsModificationKind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind?) content.GetValueForProperty("PrincipalsModificationKind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).PrincipalsModificationKind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.TypeConverter.cs index 75b35d5353c2..631055b0bb8c 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -102,14 +102,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.cs b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.cs similarity index 83% rename from src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.cs rename to src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.cs index f480ad9b9143..f6dd0a2f8534 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing the Kusto database properties. public partial class ReadOnlyFollowingDatabaseProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal { /// Backing field for property. @@ -30,22 +30,22 @@ public partial class ReadOnlyFollowingDatabaseProperties : public string LeaderClusterResourceId { get => this._leaderClusterResourceId; } /// Internal Acessors for AttachedDatabaseConfigurationName - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal.AttachedDatabaseConfigurationName { get => this._attachedDatabaseConfigurationName; set { {_attachedDatabaseConfigurationName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal.AttachedDatabaseConfigurationName { get => this._attachedDatabaseConfigurationName; set { {_attachedDatabaseConfigurationName = value;} } } /// Internal Acessors for LeaderClusterResourceId - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal.LeaderClusterResourceId { get => this._leaderClusterResourceId; set { {_leaderClusterResourceId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal.LeaderClusterResourceId { get => this._leaderClusterResourceId; set { {_leaderClusterResourceId = value;} } } /// Internal Acessors for PrincipalsModificationKind - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal.PrincipalsModificationKind { get => this._principalsModificationKind; set { {_principalsModificationKind = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal.PrincipalsModificationKind { get => this._principalsModificationKind; set { {_principalsModificationKind = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for SoftDeletePeriod - global::System.TimeSpan? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal.SoftDeletePeriod { get => this._softDeletePeriod; set { {_softDeletePeriod = value;} } } + global::System.TimeSpan? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal.SoftDeletePeriod { get => this._softDeletePeriod; set { {_softDeletePeriod = value;} } } /// Internal Acessors for Statistics - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabasePropertiesInternal.Statistics { get => (this._statistics = this._statistics ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatistics()); set { {_statistics = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabasePropertiesInternal.Statistics { get => (this._statistics = this._statistics ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatistics()); set { {_statistics = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalsModificationKind? _principalsModificationKind; @@ -71,15 +71,15 @@ public partial class ReadOnlyFollowingDatabaseProperties : public global::System.TimeSpan? SoftDeletePeriod { get => this._softDeletePeriod; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics _statistics; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics _statistics; /// The statistics of the database. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics Statistics { get => (this._statistics = this._statistics ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatistics()); } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics Statistics { get => (this._statistics = this._statistics ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatistics()); } /// The database size - the total size of compressed data and index in bytes. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public float? StatisticsSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatisticsInternal)Statistics).Size; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatisticsInternal)Statistics).Size = value; } + public float? StatisticsSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatisticsInternal)Statistics).Size; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatisticsInternal)Statistics).Size = value ?? default(float); } /// Creates an new instance. public ReadOnlyFollowingDatabaseProperties() @@ -170,7 +170,7 @@ internal partial interface IReadOnlyFollowingDatabasePropertiesInternal /// global::System.TimeSpan? SoftDeletePeriod { get; set; } /// The statistics of the database. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics Statistics { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics Statistics { get; set; } /// The database size - the total size of compressed data and index in bytes. float? StatisticsSize { get; set; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.json.cs index 092a67ed49e7..e9884343e6f0 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadOnlyFollowingDatabaseProperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadOnlyFollowingDatabaseProperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class ReadOnlyFollowingDatabaseProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadOnlyFollowingDatabaseProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadOnlyFollowingDatabaseProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ReadOnlyFollowingDatabaseProperties(json) : null; } @@ -70,7 +70,7 @@ internal ReadOnlyFollowingDatabaseProperties(Microsoft.Azure.PowerShell.Cmdlets. { return; } - {_statistics = If( json?.PropertyT("statistics"), out var __jsonStatistics) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatistics.FromJson(__jsonStatistics) : Statistics;} + {_statistics = If( json?.PropertyT("statistics"), out var __jsonStatistics) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatistics.FromJson(__jsonStatistics) : Statistics;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} {_softDeletePeriod = If( json?.PropertyT("softDeletePeriod"), out var __jsonSoftDeletePeriod) ? global::System.Xml.XmlConvert.ToTimeSpan( __jsonSoftDeletePeriod ) : SoftDeletePeriod;} {_hotCachePeriod = If( json?.PropertyT("hotCachePeriod"), out var __jsonHotCachePeriod) ? global::System.Xml.XmlConvert.ToTimeSpan( __jsonHotCachePeriod ) : HotCachePeriod;} diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.PowerShell.cs similarity index 57% rename from src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.PowerShell.cs index 728c13af1680..3d93cb325c96 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class ReadWriteDatabase partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabase DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ReadWriteDatabase(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ReadWriteDatabase(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadW /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,23 +94,23 @@ internal ReadWriteDatabase(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabasePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabasePropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatisticsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).IsFollowed = (bool?) content.GetValueForProperty("IsFollowed",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).IsFollowed, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatisticsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).IsFollowed = (bool?) content.GetValueForProperty("IsFollowed",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).IsFollowed, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -123,18 +123,18 @@ internal ReadWriteDatabase(global::System.Management.Automation.PSObject content return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabasePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabasePropertiesTypeConverter.ConvertFrom); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatisticsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).IsFollowed = (bool?) content.GetValueForProperty("IsFollowed",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).IsFollowed, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)this).Kind, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatisticsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).IsFollowed = (bool?) content.GetValueForProperty("IsFollowed",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).IsFollowed, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.TypeConverter.cs index bec7839dc38c..1419cd3e99c7 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.cs b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.cs similarity index 71% rename from src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.cs rename to src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.cs index 72b7eafb797f..a564de217560 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.cs @@ -1,39 +1,39 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing a read write database. public partial class ReadWriteDatabase : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabase, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabase, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates { /// - /// Backing field for Inherited model + /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase __database = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase __database = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database(); /// The time the data should be kept in cache for fast queries in TimeSpan. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public global::System.TimeSpan? HotCachePeriod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).HotCachePeriod; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).HotCachePeriod = value; } + public global::System.TimeSpan? HotCachePeriod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).HotCachePeriod; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).HotCachePeriod = value ?? default(global::System.TimeSpan); } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Id; } /// Indicates whether the database is followed. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public bool? IsFollowed { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).IsFollowed; } + public bool? IsFollowed { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).IsFollowed; } /// Kind of the database [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)__database).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)__database).Kind = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)__database).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)__database).Kind = value ; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)__database).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal)__database).Location = value; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)__database).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal)__database).Location = value ?? null; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Id = value; } @@ -45,44 +45,44 @@ public partial class ReadWriteDatabase : string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Type = value; } /// Internal Acessors for IsFollowed - bool? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal.IsFollowed { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).IsFollowed; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).IsFollowed = value; } + bool? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal.IsFollowed { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).IsFollowed; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).IsFollowed = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabaseProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabaseProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for Statistics - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseInternal.Statistics { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).Statistics; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).Statistics = value; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseInternal.Statistics { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).Statistics; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).Statistics = value; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties _property; /// The database properties. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabaseProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabaseProperties()); set => this._property = value; } /// The provisioned state of the resource. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).ProvisioningState; } /// /// The time the data should be kept before it stops being accessible to queries in TimeSpan. /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public global::System.TimeSpan? SoftDeletePeriod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).SoftDeletePeriod; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).SoftDeletePeriod = value; } + public global::System.TimeSpan? SoftDeletePeriod { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).SoftDeletePeriod; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).SoftDeletePeriod = value ?? default(global::System.TimeSpan); } /// The database size - the total size of compressed data and index in bytes. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public float? StatisticsSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).StatisticsSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)Property).StatisticsSize = value; } + public float? StatisticsSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).StatisticsSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)Property).StatisticsSize = value ?? default(float); } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__database).Type; } @@ -108,7 +108,7 @@ public ReadWriteDatabase() /// Class representing a read write database. public partial interface IReadWriteDatabase : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase { /// The time the data should be kept in cache for fast queries in TimeSpan. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( @@ -156,14 +156,14 @@ public partial interface IReadWriteDatabase : } /// Class representing a read write database. internal partial interface IReadWriteDatabaseInternal : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseInternal { /// The time the data should be kept in cache for fast queries in TimeSpan. global::System.TimeSpan? HotCachePeriod { get; set; } /// Indicates whether the database is followed. bool? IsFollowed { get; set; } /// The database properties. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties Property { get; set; } /// The provisioned state of the resource. Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } /// @@ -171,7 +171,7 @@ internal partial interface IReadWriteDatabaseInternal : /// global::System.TimeSpan? SoftDeletePeriod { get; set; } /// The statistics of the database. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics Statistics { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics Statistics { get; set; } /// The database size - the total size of compressed data and index in bytes. float? StatisticsSize { get; set; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.json.cs b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.json.cs rename to src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.json.cs index ef1d936148e0..2f1fde99eeaa 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabase.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabase.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class ReadWriteDatabase partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabase. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabase. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabase FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabase FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ReadWriteDatabase(json) : null; } @@ -70,8 +70,8 @@ internal ReadWriteDatabase(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json { return; } - __database = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabaseProperties.FromJson(__jsonProperties) : Property;} + __database = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabaseProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.PowerShell.cs similarity index 58% rename from src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.PowerShell.cs index 9db51701e5cc..c65fe97757b7 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class ReadWriteDatabaseProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ReadWriteDatabaseProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ReadWriteDatabaseProperties(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadW /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,17 +94,17 @@ internal ReadWriteDatabaseProperties(global::System.Collections.IDictionary cont return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatisticsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).IsFollowed = (bool?) content.GetValueForProperty("IsFollowed",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).IsFollowed, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatisticsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).IsFollowed = (bool?) content.GetValueForProperty("IsFollowed",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).IsFollowed, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -117,12 +117,12 @@ internal ReadWriteDatabaseProperties(global::System.Management.Automation.PSObje return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatisticsTypeConverter.ConvertFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).IsFollowed = (bool?) content.GetValueForProperty("IsFollowed",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).IsFollowed, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).Statistics = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics) content.GetValueForProperty("Statistics",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).Statistics, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatisticsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).SoftDeletePeriod = (global::System.TimeSpan?) content.GetValueForProperty("SoftDeletePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).SoftDeletePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).HotCachePeriod = (global::System.TimeSpan?) content.GetValueForProperty("HotCachePeriod",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).HotCachePeriod, (v) => v is global::System.TimeSpan _v ? _v : global::System.Xml.XmlConvert.ToTimeSpan( v.ToString() )); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).IsFollowed = (bool?) content.GetValueForProperty("IsFollowed",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).IsFollowed, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).StatisticsSize = (float?) content.GetValueForProperty("StatisticsSize",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal)this).StatisticsSize, (__y)=> (float) global::System.Convert.ChangeType(__y, typeof(float))); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.TypeConverter.cs index 33ad8c268f64..3a426ed96e99 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.cs b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.cs similarity index 83% rename from src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.cs rename to src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.cs index f0b99fb602f0..317f08300448 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Class representing the Kusto database properties. public partial class ReadWriteDatabaseProperties : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal { /// Backing field for property. @@ -23,13 +23,13 @@ public partial class ReadWriteDatabaseProperties : public bool? IsFollowed { get => this._isFollowed; } /// Internal Acessors for IsFollowed - bool? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal.IsFollowed { get => this._isFollowed; set { {_isFollowed = value;} } } + bool? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal.IsFollowed { get => this._isFollowed; set { {_isFollowed = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for Statistics - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabasePropertiesInternal.Statistics { get => (this._statistics = this._statistics ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatistics()); set { {_statistics = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabasePropertiesInternal.Statistics { get => (this._statistics = this._statistics ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatistics()); set { {_statistics = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? _provisioningState; @@ -48,15 +48,15 @@ public partial class ReadWriteDatabaseProperties : public global::System.TimeSpan? SoftDeletePeriod { get => this._softDeletePeriod; set => this._softDeletePeriod = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics _statistics; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics _statistics; /// The statistics of the database. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics Statistics { get => (this._statistics = this._statistics ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatistics()); } + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics Statistics { get => (this._statistics = this._statistics ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatistics()); } /// The database size - the total size of compressed data and index in bytes. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] - public float? StatisticsSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatisticsInternal)Statistics).Size; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatisticsInternal)Statistics).Size = value; } + public float? StatisticsSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatisticsInternal)Statistics).Size; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatisticsInternal)Statistics).Size = value ?? default(float); } /// Creates an new instance. public ReadWriteDatabaseProperties() @@ -127,7 +127,7 @@ internal partial interface IReadWriteDatabasePropertiesInternal /// global::System.TimeSpan? SoftDeletePeriod { get; set; } /// The statistics of the database. - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabaseStatistics Statistics { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabaseStatistics Statistics { get; set; } /// The database size - the total size of compressed data and index in bytes. float? StatisticsSize { get; set; } diff --git a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.json.cs rename to src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.json.cs index f95ca2362de3..c06e8209de70 100644 --- a/src/Kusto/generated/api/Models/Api20200918/ReadWriteDatabaseProperties.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/ReadWriteDatabaseProperties.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class ReadWriteDatabaseProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IReadWriteDatabaseProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IReadWriteDatabaseProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ReadWriteDatabaseProperties(json) : null; } @@ -70,7 +70,7 @@ internal ReadWriteDatabaseProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Ru { return; } - {_statistics = If( json?.PropertyT("statistics"), out var __jsonStatistics) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatistics.FromJson(__jsonStatistics) : Statistics;} + {_statistics = If( json?.PropertyT("statistics"), out var __jsonStatistics) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatistics.FromJson(__jsonStatistics) : Statistics;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} {_softDeletePeriod = If( json?.PropertyT("softDeletePeriod"), out var __jsonSoftDeletePeriod) ? global::System.Xml.XmlConvert.ToTimeSpan( __jsonSoftDeletePeriod ) : SoftDeletePeriod;} {_hotCachePeriod = If( json?.PropertyT("hotCachePeriod"), out var __jsonHotCachePeriod) ? global::System.Xml.XmlConvert.ToTimeSpan( __jsonHotCachePeriod ) : HotCachePeriod;} diff --git a/src/Kusto/generated/api/Models/Api202101/Script.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/Script.PowerShell.cs new file mode 100644 index 000000000000..efabc0d013d3 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/Script.PowerShell.cs @@ -0,0 +1,161 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Class representing a database script. + [System.ComponentModel.TypeConverter(typeof(ScriptTypeConverter))] + public partial class Script + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new Script(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new Script(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal Script(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).Url, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).UrlSasToken = (string) content.GetValueForProperty("UrlSasToken",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).UrlSasToken, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ForceUpdateTag = (string) content.GetValueForProperty("ForceUpdateTag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ForceUpdateTag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ContinueOnError = (bool?) content.GetValueForProperty("ContinueOnError",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ContinueOnError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal Script(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).Url, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).UrlSasToken = (string) content.GetValueForProperty("UrlSasToken",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).UrlSasToken, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ForceUpdateTag = (string) content.GetValueForProperty("ForceUpdateTag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ForceUpdateTag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ContinueOnError = (bool?) content.GetValueForProperty("ContinueOnError",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).ContinueOnError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedByType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType?) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataCreatedByType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedByType = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType?) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedByType, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Class representing a database script. + [System.ComponentModel.TypeConverter(typeof(ScriptTypeConverter))] + public partial interface IScript + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/Script.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/Script.TypeConverter.cs new file mode 100644 index 000000000000..c08d73426c83 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/Script.TypeConverter.cs @@ -0,0 +1,142 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ScriptTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter to the parameter using and + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return Script.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return Script.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return Script.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/Script.cs b/src/Kusto/generated/api/Models/Api202101/Script.cs new file mode 100644 index 000000000000..3934b20f7692 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/Script.cs @@ -0,0 +1,253 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Class representing a database script. + public partial class Script : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(); + + /// Flag that indicates whether to continue if one of the command fails. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public bool? ContinueOnError { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ContinueOnError; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ContinueOnError = value ?? default(bool); } + + /// A unique string. If changed the script will be applied again. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string ForceUpdateTag { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ForceUpdateTag; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ForceUpdateTag = value ?? null; } + + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; } + + /// Internal Acessors for Id + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Id = value; } + + /// Internal Acessors for Name + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name = value; } + + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type = value; } + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptProperties()); set { {_property = value;} } } + + /// Internal Acessors for ProvisioningState + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ProvisioningState = value; } + + /// Internal Acessors for SystemData + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.SystemData()); set { {_systemData = value;} } } + + /// The name of the resource + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Name; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties _property; + + /// The database script. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptProperties()); set => this._property = value; } + + /// The provisioned state of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ProvisioningState; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData _systemData; + + /// Metadata pertaining to creation and last modification of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.SystemData()); } + + /// The timestamp of resource creation (UTC). + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); } + + /// The identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).CreatedBy = value ?? null; } + + /// The type of identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).CreatedByType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType)""); } + + /// The timestamp of resource last modification (UTC) + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); } + + /// The identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; } + + /// The type of identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemDataInternal)SystemData).LastModifiedByType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType)""); } + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inherited)] + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal)__resource).Type; } + + /// The url to the KQL script blob file. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string Url { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ScriptUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ScriptUrl = value ?? null; } + + /// The SaS token. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Inlined)] + public string UrlSasToken { get => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ScriptUrlSasToken; set => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)Property).ScriptUrlSasToken = value ?? null; } + + /// Creates an new instance. + public Script() + { + + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A < see cref = "global::System.Threading.Tasks.Task" /> that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__resource), __resource); + await eventListener.AssertObjectIsValid(nameof(__resource), __resource); + } + } + /// Class representing a database script. + public partial interface IScript : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResource + { + /// Flag that indicates whether to continue if one of the command fails. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag that indicates whether to continue if one of the command fails.", + SerializedName = @"continueOnErrors", + PossibleTypes = new [] { typeof(bool) })] + bool? ContinueOnError { get; set; } + /// A unique string. If changed the script will be applied again. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A unique string. If changed the script will be applied again.", + SerializedName = @"forceUpdateTag", + PossibleTypes = new [] { typeof(string) })] + string ForceUpdateTag { get; set; } + /// The provisioned state of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The provisioned state of the resource.", + SerializedName = @"provisioningState", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; } + /// The timestamp of resource creation (UTC). + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The timestamp of resource creation (UTC).", + SerializedName = @"createdAt", + PossibleTypes = new [] { typeof(global::System.DateTime) })] + global::System.DateTime? SystemDataCreatedAt { get; set; } + /// The identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The identity that created the resource.", + SerializedName = @"createdBy", + PossibleTypes = new [] { typeof(string) })] + string SystemDataCreatedBy { get; set; } + /// The type of identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The type of identity that created the resource.", + SerializedName = @"createdByType", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? SystemDataCreatedByType { get; set; } + /// The timestamp of resource last modification (UTC) + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The timestamp of resource last modification (UTC)", + SerializedName = @"lastModifiedAt", + PossibleTypes = new [] { typeof(global::System.DateTime) })] + global::System.DateTime? SystemDataLastModifiedAt { get; set; } + /// The identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The identity that last modified the resource.", + SerializedName = @"lastModifiedBy", + PossibleTypes = new [] { typeof(string) })] + string SystemDataLastModifiedBy { get; set; } + /// The type of identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The type of identity that last modified the resource.", + SerializedName = @"lastModifiedByType", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? SystemDataLastModifiedByType { get; set; } + /// The url to the KQL script blob file. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The url to the KQL script blob file.", + SerializedName = @"scriptUrl", + PossibleTypes = new [] { typeof(string) })] + string Url { get; set; } + /// The SaS token. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The SaS token.", + SerializedName = @"scriptUrlSasToken", + PossibleTypes = new [] { typeof(string) })] + string UrlSasToken { get; set; } + + } + /// Class representing a database script. + internal partial interface IScriptInternal : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.IResourceInternal + { + /// Flag that indicates whether to continue if one of the command fails. + bool? ContinueOnError { get; set; } + /// A unique string. If changed the script will be applied again. + string ForceUpdateTag { get; set; } + /// The database script. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties Property { get; set; } + /// The provisioned state of the resource. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } + /// Metadata pertaining to creation and last modification of the resource. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.ISystemData SystemData { get; set; } + /// The timestamp of resource creation (UTC). + global::System.DateTime? SystemDataCreatedAt { get; set; } + /// The identity that created the resource. + string SystemDataCreatedBy { get; set; } + /// The type of identity that created the resource. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? SystemDataCreatedByType { get; set; } + /// The timestamp of resource last modification (UTC) + global::System.DateTime? SystemDataLastModifiedAt { get; set; } + /// The identity that last modified the resource. + string SystemDataLastModifiedBy { get; set; } + /// The type of identity that last modified the resource. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType? SystemDataLastModifiedByType { get; set; } + /// The url to the KQL script blob file. + string Url { get; set; } + /// The SaS token. + string UrlSasToken { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/Script.json.cs b/src/Kusto/generated/api/Models/Api202101/Script.json.cs new file mode 100644 index 000000000000..980432cf54e6 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/Script.json.cs @@ -0,0 +1,108 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Class representing a database script. + public partial class Script + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new Script(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from. + internal Script(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __resource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.Resource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptProperties.FromJson(__jsonProperties) : Property;} + {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.SystemData.FromJson(__jsonSystemData) : SystemData;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __resource?.ToJson(container, serializationMode); + AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != this._systemData ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) this._systemData.ToJson(null,serializationMode) : null, "systemData" ,container.Add ); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.PowerShell.cs new file mode 100644 index 000000000000..bbaa98f0dbda --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.PowerShell.cs @@ -0,0 +1,133 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// A script name availability request. + [System.ComponentModel.TypeConverter(typeof(ScriptCheckNameRequestTypeConverter))] + public partial class ScriptCheckNameRequest + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ScriptCheckNameRequest(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ScriptCheckNameRequest(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ScriptCheckNameRequest(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequestInternal)this).Type, global::System.Convert.ToString); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ScriptCheckNameRequest(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequestInternal)this).Type, global::System.Convert.ToString); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// A script name availability request. + [System.ComponentModel.TypeConverter(typeof(ScriptCheckNameRequestTypeConverter))] + public partial interface IScriptCheckNameRequest + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.TypeConverter.cs new file mode 100644 index 000000000000..88f540b75a45 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.TypeConverter.cs @@ -0,0 +1,142 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ScriptCheckNameRequestTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter to the parameter using and + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ScriptCheckNameRequest.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ScriptCheckNameRequest.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ScriptCheckNameRequest.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.cs b/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.cs new file mode 100644 index 000000000000..5f096831b363 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.cs @@ -0,0 +1,66 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// A script name availability request. + public partial class ScriptCheckNameRequest : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequestInternal + { + + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequestInternal.Type { get => this._type; set { {_type = value;} } } + + /// Backing field for property. + private string _name; + + /// Script name. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string Name { get => this._name; set => this._name = value; } + + /// Backing field for property. + private string _type= @"Microsoft.Kusto/Clusters/Databases/scripts"; + + /// The type of resource, Microsoft.Kusto/Clusters/Databases/scripts. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string Type { get => this._type; } + + /// Creates an new instance. + public ScriptCheckNameRequest() + { + + } + } + /// A script name availability request. + public partial interface IScriptCheckNameRequest : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable + { + /// Script name. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Script name.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string Name { get; set; } + /// The type of resource, Microsoft.Kusto/Clusters/Databases/scripts. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = true, + Description = @"The type of resource, Microsoft.Kusto/Clusters/Databases/scripts.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(string) })] + string Type { get; } + + } + /// A script name availability request. + internal partial interface IScriptCheckNameRequestInternal + + { + /// Script name. + string Name { get; set; } + /// The type of resource, Microsoft.Kusto/Clusters/Databases/scripts. + string Type { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.json.cs b/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.json.cs new file mode 100644 index 000000000000..70ae6a0a908a --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptCheckNameRequest.json.cs @@ -0,0 +1,103 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// A script name availability request. + public partial class ScriptCheckNameRequest + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ScriptCheckNameRequest(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from. + internal ScriptCheckNameRequest(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} + {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._name)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._name.ToString()) : null, "name" ,container.Add ); + AddIf( null != (((object)this._type)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._type.ToString()) : null, "type" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptListResult.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ScriptListResult.PowerShell.cs new file mode 100644 index 000000000000..22cee73f9291 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptListResult.PowerShell.cs @@ -0,0 +1,131 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// The list Kusto database script operation response. + [System.ComponentModel.TypeConverter(typeof(ScriptListResultTypeConverter))] + public partial class ScriptListResult + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ScriptListResult(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ScriptListResult(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ScriptListResult(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptTypeConverter.ConvertFrom)); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ScriptListResult(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResultInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResultInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptTypeConverter.ConvertFrom)); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// The list Kusto database script operation response. + [System.ComponentModel.TypeConverter(typeof(ScriptListResultTypeConverter))] + public partial interface IScriptListResult + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptListResult.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ScriptListResult.TypeConverter.cs new file mode 100644 index 000000000000..495f281b73f0 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptListResult.TypeConverter.cs @@ -0,0 +1,142 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ScriptListResultTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter to the parameter using and + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResult ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResult).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ScriptListResult.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ScriptListResult.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ScriptListResult.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptListResult.cs b/src/Kusto/generated/api/Models/Api202101/ScriptListResult.cs new file mode 100644 index 000000000000..16f1e2b5dc37 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptListResult.cs @@ -0,0 +1,46 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// The list Kusto database script operation response. + public partial class ScriptListResult : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResult, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResultInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript[] _value; + + /// The list of Kusto scripts. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript[] Value { get => this._value; set => this._value = value; } + + /// Creates an new instance. + public ScriptListResult() + { + + } + } + /// The list Kusto database script operation response. + public partial interface IScriptListResult : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable + { + /// The list of Kusto scripts. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The list of Kusto scripts.", + SerializedName = @"value", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript[] Value { get; set; } + + } + /// The list Kusto database script operation response. + internal partial interface IScriptListResultInternal + + { + /// The list of Kusto scripts. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript[] Value { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptListResult.json.cs b/src/Kusto/generated/api/Models/Api202101/ScriptListResult.json.cs new file mode 100644 index 000000000000..f066b7987451 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptListResult.json.cs @@ -0,0 +1,109 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// The list Kusto database script operation response. + public partial class ScriptListResult + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResult. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResult. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptListResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ScriptListResult(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from. + internal ScriptListResult(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Script.FromJson(__u) )) ))() : null : Value;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + if (null != this._value) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.XNodeArray(); + foreach( var __x in this._value ) + { + AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); + } + container.Add("value",__w); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/ScriptProperties.PowerShell.cs new file mode 100644 index 000000000000..224235842cbe --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptProperties.PowerShell.cs @@ -0,0 +1,139 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// A class representing database script property. + [System.ComponentModel.TypeConverter(typeof(ScriptPropertiesTypeConverter))] + public partial class ScriptProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ScriptProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ScriptProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ScriptProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ScriptUrl = (string) content.GetValueForProperty("ScriptUrl",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ScriptUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ScriptUrlSasToken = (string) content.GetValueForProperty("ScriptUrlSasToken",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ScriptUrlSasToken, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ForceUpdateTag = (string) content.GetValueForProperty("ForceUpdateTag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ForceUpdateTag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ContinueOnError = (bool?) content.GetValueForProperty("ContinueOnError",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ContinueOnError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ScriptProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ScriptUrl = (string) content.GetValueForProperty("ScriptUrl",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ScriptUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ScriptUrlSasToken = (string) content.GetValueForProperty("ScriptUrlSasToken",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ScriptUrlSasToken, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ForceUpdateTag = (string) content.GetValueForProperty("ForceUpdateTag",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ForceUpdateTag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ContinueOnError = (bool?) content.GetValueForProperty("ContinueOnError",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ContinueOnError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState.CreateFrom); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// A class representing database script property. + [System.ComponentModel.TypeConverter(typeof(ScriptPropertiesTypeConverter))] + public partial interface IScriptProperties + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/ScriptProperties.TypeConverter.cs new file mode 100644 index 000000000000..8e4e4a019215 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptProperties.TypeConverter.cs @@ -0,0 +1,142 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ScriptPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter to the parameter using and + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ScriptProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ScriptProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ScriptProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptProperties.cs b/src/Kusto/generated/api/Models/Api202101/ScriptProperties.cs new file mode 100644 index 000000000000..0c85094afcad --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptProperties.cs @@ -0,0 +1,117 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// A class representing database script property. + public partial class ScriptProperties : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal + { + + /// Backing field for property. + private bool? _continueOnError; + + /// Flag that indicates whether to continue if one of the command fails. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public bool? ContinueOnError { get => this._continueOnError; set => this._continueOnError = value; } + + /// Backing field for property. + private string _forceUpdateTag; + + /// A unique string. If changed the script will be applied again. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string ForceUpdateTag { get => this._forceUpdateTag; set => this._forceUpdateTag = value; } + + /// Internal Acessors for ProvisioningState + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? _provisioningState; + + /// The provisioned state of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get => this._provisioningState; } + + /// Backing field for property. + private string _scriptUrl; + + /// The url to the KQL script blob file. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string ScriptUrl { get => this._scriptUrl; set => this._scriptUrl = value; } + + /// Backing field for property. + private string _scriptUrlSasToken; + + /// The SaS token. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string ScriptUrlSasToken { get => this._scriptUrlSasToken; set => this._scriptUrlSasToken = value; } + + /// Creates an new instance. + public ScriptProperties() + { + + } + } + /// A class representing database script property. + public partial interface IScriptProperties : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable + { + /// Flag that indicates whether to continue if one of the command fails. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag that indicates whether to continue if one of the command fails.", + SerializedName = @"continueOnErrors", + PossibleTypes = new [] { typeof(bool) })] + bool? ContinueOnError { get; set; } + /// A unique string. If changed the script will be applied again. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A unique string. If changed the script will be applied again.", + SerializedName = @"forceUpdateTag", + PossibleTypes = new [] { typeof(string) })] + string ForceUpdateTag { get; set; } + /// The provisioned state of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The provisioned state of the resource.", + SerializedName = @"provisioningState", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; } + /// The url to the KQL script blob file. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The url to the KQL script blob file.", + SerializedName = @"scriptUrl", + PossibleTypes = new [] { typeof(string) })] + string ScriptUrl { get; set; } + /// The SaS token. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The SaS token.", + SerializedName = @"scriptUrlSasToken", + PossibleTypes = new [] { typeof(string) })] + string ScriptUrlSasToken { get; set; } + + } + /// A class representing database script property. + internal partial interface IScriptPropertiesInternal + + { + /// Flag that indicates whether to continue if one of the command fails. + bool? ContinueOnError { get; set; } + /// A unique string. If changed the script will be applied again. + string ForceUpdateTag { get; set; } + /// The provisioned state of the resource. + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ProvisioningState? ProvisioningState { get; set; } + /// The url to the KQL script blob file. + string ScriptUrl { get; set; } + /// The SaS token. + string ScriptUrlSasToken { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/ScriptProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/ScriptProperties.json.cs new file mode 100644 index 000000000000..a567953db3ab --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/ScriptProperties.json.cs @@ -0,0 +1,112 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// A class representing database script property. + public partial class ScriptProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new ScriptProperties(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from. + internal ScriptProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_scriptUrl = If( json?.PropertyT("scriptUrl"), out var __jsonScriptUrl) ? (string)__jsonScriptUrl : (string)ScriptUrl;} + {_scriptUrlSasToken = If( json?.PropertyT("scriptUrlSasToken"), out var __jsonScriptUrlSasToken) ? (string)__jsonScriptUrlSasToken : (string)ScriptUrlSasToken;} + {_forceUpdateTag = If( json?.PropertyT("forceUpdateTag"), out var __jsonForceUpdateTag) ? (string)__jsonForceUpdateTag : (string)ForceUpdateTag;} + {_continueOnError = If( json?.PropertyT("continueOnErrors"), out var __jsonContinueOnErrors) ? (bool?)__jsonContinueOnErrors : ContinueOnError;} + {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._scriptUrl)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._scriptUrl.ToString()) : null, "scriptUrl" ,container.Add ); + AddIf( null != (((object)this._scriptUrlSasToken)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._scriptUrlSasToken.ToString()) : null, "scriptUrlSasToken" ,container.Add ); + AddIf( null != (((object)this._forceUpdateTag)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._forceUpdateTag.ToString()) : null, "forceUpdateTag" ,container.Add ); + AddIf( null != this._continueOnError ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonBoolean((bool)this._continueOnError) : null, "continueOnErrors" ,container.Add ); + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._provisioningState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._provisioningState.ToString()) : null, "provisioningState" ,container.Add ); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuDescription.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/SkuDescription.PowerShell.cs similarity index 61% rename from src/Kusto/generated/api/Models/Api20200918/SkuDescription.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/SkuDescription.PowerShell.cs index 6456e33f1bc9..7ec22131f6ad 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuDescription.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuDescription.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class SkuDescription partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SkuDescription(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SkuDescription(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDe /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,17 +94,17 @@ internal SkuDescription(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).ResourceType, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Tier = (string) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Tier, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Location = (string[]) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Location, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).LocationInfo = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem[]) content.GetValueForProperty("LocationInfo",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).LocationInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuLocationInfoItemTypeConverter.ConvertFrom)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Restriction = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny[]) content.GetValueForProperty("Restriction",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Restriction, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.AnyTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Tier = (string) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Tier, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Location = (string[]) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Location, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).LocationInfo = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem[]) content.GetValueForProperty("LocationInfo",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).LocationInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuLocationInfoItemTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Restriction = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny[]) content.GetValueForProperty("Restriction",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Restriction, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.AnyTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -117,12 +117,12 @@ internal SkuDescription(global::System.Management.Automation.PSObject content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).ResourceType, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Name, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Tier = (string) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Tier, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Location = (string[]) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Location, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).LocationInfo = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem[]) content.GetValueForProperty("LocationInfo",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).LocationInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuLocationInfoItemTypeConverter.ConvertFrom)); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Restriction = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny[]) content.GetValueForProperty("Restriction",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal)this).Restriction, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.AnyTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Tier = (string) content.GetValueForProperty("Tier",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Tier, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Location = (string[]) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Location, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).LocationInfo = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem[]) content.GetValueForProperty("LocationInfo",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).LocationInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuLocationInfoItemTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Restriction = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny[]) content.GetValueForProperty("Restriction",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal)this).Restriction, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.AnyTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuDescription.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/SkuDescription.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/SkuDescription.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/SkuDescription.TypeConverter.cs index 31699e69d3f2..92bb902d1122 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuDescription.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuDescription.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuDescription.cs b/src/Kusto/generated/api/Models/Api202101/SkuDescription.cs similarity index 82% rename from src/Kusto/generated/api/Models/Api20200918/SkuDescription.cs rename to src/Kusto/generated/api/Models/Api202101/SkuDescription.cs index 033c97c64d71..26983dccb827 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuDescription.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuDescription.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The Kusto SKU description of given resource type public partial class SkuDescription : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal { /// Backing field for property. @@ -16,29 +16,29 @@ public partial class SkuDescription : public string[] Location { get => this._location; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem[] _locationInfo; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem[] _locationInfo; /// Locations and zones [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem[] LocationInfo { get => this._locationInfo; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem[] LocationInfo { get => this._locationInfo; } /// Internal Acessors for Location - string[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal.Location { get => this._location; set { {_location = value;} } } + string[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal.Location { get => this._location; set { {_location = value;} } } /// Internal Acessors for LocationInfo - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal.LocationInfo { get => this._locationInfo; set { {_locationInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal.LocationInfo { get => this._locationInfo; set { {_locationInfo = value;} } } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal.Name { get => this._name; set { {_name = value;} } } /// Internal Acessors for ResourceType - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal.ResourceType { get => this._resourceType; set { {_resourceType = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal.ResourceType { get => this._resourceType; set { {_resourceType = value;} } } /// Internal Acessors for Restriction - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal.Restriction { get => this._restriction; set { {_restriction = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal.Restriction { get => this._restriction; set { {_restriction = value;} } } /// Internal Acessors for Tier - string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionInternal.Tier { get => this._tier; set { {_tier = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionInternal.Tier { get => this._tier; set { {_tier = value;} } } /// Backing field for property. private string _name; @@ -92,8 +92,8 @@ public partial interface ISkuDescription : ReadOnly = true, Description = @"Locations and zones", SerializedName = @"locationInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem[] LocationInfo { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem[] LocationInfo { get; } /// The name of the SKU [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -135,7 +135,7 @@ internal partial interface ISkuDescriptionInternal /// The set of locations that the SKU is available string[] Location { get; set; } /// Locations and zones - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem[] LocationInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem[] LocationInfo { get; set; } /// The name of the SKU string Name { get; set; } /// The resource type diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuDescription.json.cs b/src/Kusto/generated/api/Models/Api202101/SkuDescription.json.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/SkuDescription.json.cs rename to src/Kusto/generated/api/Models/Api202101/SkuDescription.json.cs index a0395d10df56..c57571b72c0f 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuDescription.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuDescription.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class SkuDescription partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new SkuDescription(json) : null; } @@ -74,7 +74,7 @@ internal SkuDescription(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.Js {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} {_tier = If( json?.PropertyT("tier"), out var __jsonTier) ? (string)__jsonTier : (string)Tier;} {_location = If( json?.PropertyT("locations"), out var __jsonLocations) ? If( __jsonLocations as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : Location;} - {_locationInfo = If( json?.PropertyT("locationInfo"), out var __jsonLocationInfo) ? If( __jsonLocationInfo as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuLocationInfoItem.FromJson(__p) )) ))() : null : LocationInfo;} + {_locationInfo = If( json?.PropertyT("locationInfo"), out var __jsonLocationInfo) ? If( __jsonLocationInfo as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuLocationInfoItem.FromJson(__p) )) ))() : null : LocationInfo;} {_restriction = If( json?.PropertyT("restrictions"), out var __jsonRestrictions) ? If( __jsonRestrictions as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __l) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__l, (__k)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IAny) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Any.FromJson(__k) )) ))() : null : Restriction;} AfterFromJson(json); } diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.PowerShell.cs similarity index 78% rename from src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.PowerShell.cs index edd309416c2e..e2e8d2615661 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class SkuDescriptionList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SkuDescriptionList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SkuDescriptionList(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDe /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,12 +94,12 @@ internal SkuDescriptionList(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuDescriptionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuDescriptionTypeConverter.ConvertFrom)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -112,7 +112,7 @@ internal SkuDescriptionList(global::System.Management.Automation.PSObject conten return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuDescriptionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuDescriptionTypeConverter.ConvertFrom)); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.TypeConverter.cs index 4487c87d531a..c68e9164c599 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.cs b/src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.cs similarity index 66% rename from src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.cs rename to src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.cs index 6fec899cb2a4..2b9e066ae42c 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.cs @@ -1,22 +1,22 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The list of the EngagementFabric SKU descriptions public partial class SkuDescriptionList : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionList, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionListInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionList, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionListInternal { /// Internal Acessors for Value - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionListInternal.Value { get => this._value; set { {_value = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription[] Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionListInternal.Value { get => this._value; set { {_value = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription[] _value; /// SKU descriptions [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription[] Value { get => this._value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription[] Value { get => this._value; } /// Creates an new instance. public SkuDescriptionList() @@ -34,8 +34,8 @@ public partial interface ISkuDescriptionList : ReadOnly = true, Description = @"SKU descriptions", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription) })] - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription[] Value { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription) })] + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription[] Value { get; } } /// The list of the EngagementFabric SKU descriptions @@ -43,7 +43,7 @@ internal partial interface ISkuDescriptionListInternal { /// SKU descriptions - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription[] Value { get; set; } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.json.cs b/src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.json.cs similarity index 91% rename from src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.json.cs rename to src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.json.cs index 8d70d32ab183..5b3747d534c1 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuDescriptionList.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuDescriptionList.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class SkuDescriptionList partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescriptionList FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescriptionList FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new SkuDescriptionList(json) : null; } @@ -70,7 +70,7 @@ internal SkuDescriptionList(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Jso { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuDescription.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription) (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuDescription.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.PowerShell.cs similarity index 78% rename from src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.PowerShell.cs index ebe97e19bc5b..ee0e7e529d19 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class SkuLocationInfoItem partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SkuLocationInfoItem(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SkuLocationInfoItem(content); } @@ -78,10 +78,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLo /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -94,13 +94,13 @@ internal SkuLocationInfoItem(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItemInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItemInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItemInternal)this).Zone = (string[]) content.GetValueForProperty("Zone",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItemInternal)this).Zone, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItemInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItemInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItemInternal)this).Zone = (string[]) content.GetValueForProperty("Zone",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItemInternal)this).Zone, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -113,8 +113,8 @@ internal SkuLocationInfoItem(global::System.Management.Automation.PSObject conte return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItemInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItemInternal)this).Location, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItemInternal)this).Zone = (string[]) content.GetValueForProperty("Zone",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItemInternal)this).Zone, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItemInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItemInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItemInternal)this).Zone = (string[]) content.GetValueForProperty("Zone",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItemInternal)this).Zone, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.TypeConverter.cs similarity index 98% rename from src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.TypeConverter.cs index 3c4208de4fb8..ff0e78dc9d28 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.cs b/src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.cs similarity index 92% rename from src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.cs rename to src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.cs index 69ab92137353..7178b5891e3d 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// The locations and zones info for SKU. public partial class SkuLocationInfoItem : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItemInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItemInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.json.cs b/src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.json.cs rename to src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.json.cs index 4517afa05b8e..5da3e8aaf60b 100644 --- a/src/Kusto/generated/api/Models/Api20200918/SkuLocationInfoItem.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/SkuLocationInfoItem.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class SkuLocationInfoItem partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuLocationInfoItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuLocationInfoItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new SkuLocationInfoItem(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.PowerShell.cs new file mode 100644 index 000000000000..22af517d2c4a --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.PowerShell.cs @@ -0,0 +1,141 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// Tables that will be included and excluded in the follower database + [System.ComponentModel.TypeConverter(typeof(TableLevelSharingPropertiesTypeConverter))] + public partial class TableLevelSharingProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new TableLevelSharingProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new TableLevelSharingProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal TableLevelSharingProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).TablesToInclude = (string[]) content.GetValueForProperty("TablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).TablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).TablesToExclude = (string[]) content.GetValueForProperty("TablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).TablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).ExternalTablesToInclude = (string[]) content.GetValueForProperty("ExternalTablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).ExternalTablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).ExternalTablesToExclude = (string[]) content.GetValueForProperty("ExternalTablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).ExternalTablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).MaterializedViewsToInclude = (string[]) content.GetValueForProperty("MaterializedViewsToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).MaterializedViewsToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).MaterializedViewsToExclude = (string[]) content.GetValueForProperty("MaterializedViewsToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).MaterializedViewsToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal TableLevelSharingProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).TablesToInclude = (string[]) content.GetValueForProperty("TablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).TablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).TablesToExclude = (string[]) content.GetValueForProperty("TablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).TablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).ExternalTablesToInclude = (string[]) content.GetValueForProperty("ExternalTablesToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).ExternalTablesToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).ExternalTablesToExclude = (string[]) content.GetValueForProperty("ExternalTablesToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).ExternalTablesToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).MaterializedViewsToInclude = (string[]) content.GetValueForProperty("MaterializedViewsToInclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).MaterializedViewsToInclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).MaterializedViewsToExclude = (string[]) content.GetValueForProperty("MaterializedViewsToExclude",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal)this).MaterializedViewsToExclude, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Tables that will be included and excluded in the follower database + [System.ComponentModel.TypeConverter(typeof(TableLevelSharingPropertiesTypeConverter))] + public partial interface ITableLevelSharingProperties + + { + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.TypeConverter.cs new file mode 100644 index 000000000000..459ef6dcc6c7 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.TypeConverter.cs @@ -0,0 +1,142 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class TableLevelSharingPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter to the parameter using and + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return TableLevelSharingProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return TableLevelSharingProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return TableLevelSharingProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.cs b/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.cs new file mode 100644 index 000000000000..6bc990eef7ca --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.cs @@ -0,0 +1,131 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Tables that will be included and excluded in the follower database + public partial class TableLevelSharingProperties : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingPropertiesInternal + { + + /// Backing field for property. + private string[] _externalTablesToExclude; + + /// List of external tables exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string[] ExternalTablesToExclude { get => this._externalTablesToExclude; set => this._externalTablesToExclude = value; } + + /// Backing field for property. + private string[] _externalTablesToInclude; + + /// List of external tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string[] ExternalTablesToInclude { get => this._externalTablesToInclude; set => this._externalTablesToInclude = value; } + + /// Backing field for property. + private string[] _materializedViewsToExclude; + + /// List of materialized views exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string[] MaterializedViewsToExclude { get => this._materializedViewsToExclude; set => this._materializedViewsToExclude = value; } + + /// Backing field for property. + private string[] _materializedViewsToInclude; + + /// List of materialized views to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string[] MaterializedViewsToInclude { get => this._materializedViewsToInclude; set => this._materializedViewsToInclude = value; } + + /// Backing field for property. + private string[] _tablesToExclude; + + /// List of tables to exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string[] TablesToExclude { get => this._tablesToExclude; set => this._tablesToExclude = value; } + + /// Backing field for property. + private string[] _tablesToInclude; + + /// List of tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string[] TablesToInclude { get => this._tablesToInclude; set => this._tablesToInclude = value; } + + /// Creates an new instance. + public TableLevelSharingProperties() + { + + } + } + /// Tables that will be included and excluded in the follower database + public partial interface ITableLevelSharingProperties : + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IJsonSerializable + { + /// List of external tables exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of external tables exclude from the follower database", + SerializedName = @"externalTablesToExclude", + PossibleTypes = new [] { typeof(string) })] + string[] ExternalTablesToExclude { get; set; } + /// List of external tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of external tables to include in the follower database", + SerializedName = @"externalTablesToInclude", + PossibleTypes = new [] { typeof(string) })] + string[] ExternalTablesToInclude { get; set; } + /// List of materialized views exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of materialized views exclude from the follower database", + SerializedName = @"materializedViewsToExclude", + PossibleTypes = new [] { typeof(string) })] + string[] MaterializedViewsToExclude { get; set; } + /// List of materialized views to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of materialized views to include in the follower database", + SerializedName = @"materializedViewsToInclude", + PossibleTypes = new [] { typeof(string) })] + string[] MaterializedViewsToInclude { get; set; } + /// List of tables to exclude from the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of tables to exclude from the follower database", + SerializedName = @"tablesToExclude", + PossibleTypes = new [] { typeof(string) })] + string[] TablesToExclude { get; set; } + /// List of tables to include in the follower database + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of tables to include in the follower database", + SerializedName = @"tablesToInclude", + PossibleTypes = new [] { typeof(string) })] + string[] TablesToInclude { get; set; } + + } + /// Tables that will be included and excluded in the follower database + internal partial interface ITableLevelSharingPropertiesInternal + + { + /// List of external tables exclude from the follower database + string[] ExternalTablesToExclude { get; set; } + /// List of external tables to include in the follower database + string[] ExternalTablesToInclude { get; set; } + /// List of materialized views exclude from the follower database + string[] MaterializedViewsToExclude { get; set; } + /// List of materialized views to include in the follower database + string[] MaterializedViewsToInclude { get; set; } + /// List of tables to exclude from the follower database + string[] TablesToExclude { get; set; } + /// List of tables to include in the follower database + string[] TablesToInclude { get; set; } + + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.json.cs b/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.json.cs new file mode 100644 index 000000000000..b0b94091e447 --- /dev/null +++ b/src/Kusto/generated/api/Models/Api202101/TableLevelSharingProperties.json.cs @@ -0,0 +1,159 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Tables that will be included and excluded in the follower database + public partial class TableLevelSharingProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json erialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITableLevelSharingProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new TableLevelSharingProperties(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from. + internal TableLevelSharingProperties(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_tablesToInclude = If( json?.PropertyT("tablesToInclude"), out var __jsonTablesToInclude) ? If( __jsonTablesToInclude as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : TablesToInclude;} + {_tablesToExclude = If( json?.PropertyT("tablesToExclude"), out var __jsonTablesToExclude) ? If( __jsonTablesToExclude as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(string) (__p is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString __o ? (string)(__o.ToString()) : null)) ))() : null : TablesToExclude;} + {_externalTablesToInclude = If( json?.PropertyT("externalTablesToInclude"), out var __jsonExternalTablesToInclude) ? If( __jsonExternalTablesToInclude as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __l) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__l, (__k)=>(string) (__k is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString __j ? (string)(__j.ToString()) : null)) ))() : null : ExternalTablesToInclude;} + {_externalTablesToExclude = If( json?.PropertyT("externalTablesToExclude"), out var __jsonExternalTablesToExclude) ? If( __jsonExternalTablesToExclude as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __g) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__g, (__f)=>(string) (__f is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString __e ? (string)(__e.ToString()) : null)) ))() : null : ExternalTablesToExclude;} + {_materializedViewsToInclude = If( json?.PropertyT("materializedViewsToInclude"), out var __jsonMaterializedViewsToInclude) ? If( __jsonMaterializedViewsToInclude as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var __b) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__b, (__a)=>(string) (__a is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString ___z ? (string)(___z.ToString()) : null)) ))() : null : MaterializedViewsToInclude;} + {_materializedViewsToExclude = If( json?.PropertyT("materializedViewsToExclude"), out var __jsonMaterializedViewsToExclude) ? If( __jsonMaterializedViewsToExclude as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonArray, out var ___w) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(___w, (___v)=>(string) (___v is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString ___u ? (string)(___u.ToString()) : null)) ))() : null : MaterializedViewsToExclude;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + if (null != this._tablesToInclude) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.XNodeArray(); + foreach( var __x in this._tablesToInclude ) + { + AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add); + } + container.Add("tablesToInclude",__w); + } + if (null != this._tablesToExclude) + { + var __r = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.XNodeArray(); + foreach( var __s in this._tablesToExclude ) + { + AddIf(null != (((object)__s)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(__s.ToString()) : null ,__r.Add); + } + container.Add("tablesToExclude",__r); + } + if (null != this._externalTablesToInclude) + { + var __m = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.XNodeArray(); + foreach( var __n in this._externalTablesToInclude ) + { + AddIf(null != (((object)__n)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(__n.ToString()) : null ,__m.Add); + } + container.Add("externalTablesToInclude",__m); + } + if (null != this._externalTablesToExclude) + { + var __h = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.XNodeArray(); + foreach( var __i in this._externalTablesToExclude ) + { + AddIf(null != (((object)__i)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(__i.ToString()) : null ,__h.Add); + } + container.Add("externalTablesToExclude",__h); + } + if (null != this._materializedViewsToInclude) + { + var __c = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.XNodeArray(); + foreach( var __d in this._materializedViewsToInclude ) + { + AddIf(null != (((object)__d)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(__d.ToString()) : null ,__c.Add); + } + container.Add("materializedViewsToInclude",__c); + } + if (null != this._materializedViewsToExclude) + { + var ___x = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.XNodeArray(); + foreach( var ___y in this._materializedViewsToExclude ) + { + AddIf(null != (((object)___y)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(___y.ToString()) : null ,___x.Add); + } + container.Add("materializedViewsToExclude",___x); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.PowerShell.cs similarity index 83% rename from src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.PowerShell.cs index 68164dfdf59e..6e000a338fd5 100644 --- a/src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class TrustedExternalTenant partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new TrustedExternalTenant(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TrustedExternalTenant(content); } @@ -78,7 +78,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrust /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -86,7 +86,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrust public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -99,12 +99,12 @@ internal TrustedExternalTenant(global::System.Collections.IDictionary content) return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenantInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenantInternal)this).Value, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenantInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenantInternal)this).Value, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -117,7 +117,7 @@ internal TrustedExternalTenant(global::System.Management.Automation.PSObject con return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenantInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenantInternal)this).Value, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenantInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenantInternal)this).Value, global::System.Convert.ToString); AfterDeserializePSObject(content); } } diff --git a/src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.TypeConverter.cs index bfc531c5cd7a..c7435ab212a8 100644 --- a/src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.cs b/src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.cs similarity index 89% rename from src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.cs rename to src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.cs index 445924a673eb..33f5f21223fd 100644 --- a/src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.cs +++ b/src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// Represents a tenant ID that is trusted by the cluster. public partial class TrustedExternalTenant : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenantInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenantInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.json.cs b/src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.json.cs rename to src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.json.cs index 116eb781cd55..9617fc7c5e0a 100644 --- a/src/Kusto/generated/api/Models/Api20200918/TrustedExternalTenant.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/TrustedExternalTenant.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class TrustedExternalTenant partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new TrustedExternalTenant(json) : null; } diff --git a/src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.PowerShell.cs b/src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.PowerShell.cs similarity index 72% rename from src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.PowerShell.cs rename to src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.PowerShell.cs index 18cbde25c2cb..f6054caf334b 100644 --- a/src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.PowerShell.cs +++ b/src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.PowerShell.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -48,27 +48,27 @@ public partial class VirtualNetworkConfiguration partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new VirtualNetworkConfiguration(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new VirtualNetworkConfiguration(content); } @@ -78,7 +78,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtu /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -86,7 +86,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtu public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SerializationMode.IncludeAll)?.ToString(); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -99,14 +99,14 @@ internal VirtualNetworkConfiguration(global::System.Collections.IDictionary cont return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).SubnetId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).EnginePublicIPId = (string) content.GetValueForProperty("EnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).EnginePublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).DataManagementPublicIPId = (string) content.GetValueForProperty("DataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).DataManagementPublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).SubnetId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).EnginePublicIPId = (string) content.GetValueForProperty("EnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).EnginePublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).DataManagementPublicIPId = (string) content.GetValueForProperty("DataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).DataManagementPublicIPId, global::System.Convert.ToString); AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -119,9 +119,9 @@ internal VirtualNetworkConfiguration(global::System.Management.Automation.PSObje return; } // actually deserialize - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).SubnetId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).EnginePublicIPId = (string) content.GetValueForProperty("EnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).EnginePublicIPId, global::System.Convert.ToString); - ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).DataManagementPublicIPId = (string) content.GetValueForProperty("DataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal)this).DataManagementPublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).SubnetId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).EnginePublicIPId = (string) content.GetValueForProperty("EnginePublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).EnginePublicIPId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).DataManagementPublicIPId = (string) content.GetValueForProperty("DataManagementPublicIPId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal)this).DataManagementPublicIPId, global::System.Convert.ToString); AfterDeserializePSObject(content); } } diff --git a/src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.TypeConverter.cs b/src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.TypeConverter.cs similarity index 97% rename from src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.TypeConverter.cs rename to src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.TypeConverter.cs index e5787dcd4463..77f947cec98c 100644 --- a/src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.TypeConverter.cs +++ b/src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.TypeConverter.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; @@ -101,14 +101,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.cs b/src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.cs similarity index 94% rename from src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.cs rename to src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.cs index 3637cf655736..7bad743df43b 100644 --- a/src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.cs +++ b/src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.cs @@ -1,11 +1,11 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// A class that contains virtual network definition. public partial class VirtualNetworkConfiguration : - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration, - Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfigurationInternal + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfigurationInternal { /// Backing field for property. diff --git a/src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.json.cs b/src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.json.cs similarity index 96% rename from src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.json.cs rename to src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.json.cs index 00d9cfc2571e..4e411448291e 100644 --- a/src/Kusto/generated/api/Models/Api20200918/VirtualNetworkConfiguration.json.cs +++ b/src/Kusto/generated/api/Models/Api202101/VirtualNetworkConfiguration.json.cs @@ -1,4 +1,4 @@ -namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918 +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; @@ -47,13 +47,13 @@ public partial class VirtualNetworkConfiguration partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration. /// - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IVirtualNetworkConfiguration FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IVirtualNetworkConfiguration FromJson(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json ? new VirtualNetworkConfiguration(json) : null; } diff --git a/src/Kusto/generated/api/Models/KustoIdentity.PowerShell.cs b/src/Kusto/generated/api/Models/KustoIdentity.PowerShell.cs index ed8aefbc17d1..2f6f2bdffe9c 100644 --- a/src/Kusto/generated/api/Models/KustoIdentity.PowerShell.cs +++ b/src/Kusto/generated/api/Models/KustoIdentity.PowerShell.cs @@ -104,8 +104,10 @@ internal KustoIdentity(global::System.Collections.IDictionary content) ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).Location, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).PrincipalAssignmentName = (string) content.GetValueForProperty("PrincipalAssignmentName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).PrincipalAssignmentName, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).DatabaseName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).ScriptName = (string) content.GetValueForProperty("ScriptName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).ScriptName, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).DataConnectionName = (string) content.GetValueForProperty("DataConnectionName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).DataConnectionName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).OperationId = (string) content.GetValueForProperty("OperationId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).OperationId, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).Id, global::System.Convert.ToString); AfterDeserializeDictionary(content); } @@ -130,8 +132,10 @@ internal KustoIdentity(global::System.Management.Automation.PSObject content) ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).Location, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).PrincipalAssignmentName = (string) content.GetValueForProperty("PrincipalAssignmentName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).PrincipalAssignmentName, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).DatabaseName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).ScriptName = (string) content.GetValueForProperty("ScriptName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).ScriptName, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).AttachedDatabaseConfigurationName = (string) content.GetValueForProperty("AttachedDatabaseConfigurationName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).AttachedDatabaseConfigurationName, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).DataConnectionName = (string) content.GetValueForProperty("DataConnectionName",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).DataConnectionName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).OperationId = (string) content.GetValueForProperty("OperationId",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).OperationId, global::System.Convert.ToString); ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentityInternal)this).Id, global::System.Convert.ToString); AfterDeserializePSObject(content); } diff --git a/src/Kusto/generated/api/Models/KustoIdentity.cs b/src/Kusto/generated/api/Models/KustoIdentity.cs index 68b42fdd75a3..48de24e3d4bd 100644 --- a/src/Kusto/generated/api/Models/KustoIdentity.cs +++ b/src/Kusto/generated/api/Models/KustoIdentity.cs @@ -50,10 +50,17 @@ public partial class KustoIdentity : /// Backing field for property. private string _location; - /// Azure location. + /// Azure location (region) name. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] public string Location { get => this._location; set => this._location = value; } + /// Backing field for property. + private string _operationId; + + /// The Guid of the operation ID + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string OperationId { get => this._operationId; set => this._operationId = value; } + /// Backing field for property. private string _principalAssignmentName; @@ -68,6 +75,13 @@ public partial class KustoIdentity : [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + /// Backing field for property. + private string _scriptName; + + /// The name of the Kusto database script. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Origin(Microsoft.Azure.PowerShell.Cmdlets.Kusto.PropertyOrigin.Owned)] + public string ScriptName { get => this._scriptName; set => this._scriptName = value; } + /// Backing field for property. private string _subscriptionId; @@ -127,14 +141,22 @@ public partial interface IKustoIdentity : SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] string Id { get; set; } - /// Azure location. + /// Azure location (region) name. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Azure location.", + Description = @"Azure location (region) name.", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] string Location { get; set; } + /// The Guid of the operation ID + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The Guid of the operation ID", + SerializedName = @"operationId", + PossibleTypes = new [] { typeof(string) })] + string OperationId { get; set; } /// The name of the Kusto principalAssignment. [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = false, @@ -151,6 +173,14 @@ public partial interface IKustoIdentity : SerializedName = @"resourceGroupName", PossibleTypes = new [] { typeof(string) })] string ResourceGroupName { get; set; } + /// The name of the Kusto database script. + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The name of the Kusto database script.", + SerializedName = @"scriptName", + PossibleTypes = new [] { typeof(string) })] + string ScriptName { get; set; } /// /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of /// the URI for every service call. @@ -177,12 +207,16 @@ internal partial interface IKustoIdentityInternal string DatabaseName { get; set; } /// Resource identity path string Id { get; set; } - /// Azure location. + /// Azure location (region) name. string Location { get; set; } + /// The Guid of the operation ID + string OperationId { get; set; } /// The name of the Kusto principalAssignment. string PrincipalAssignmentName { get; set; } /// The name of the resource group containing the Kusto cluster. string ResourceGroupName { get; set; } + /// The name of the Kusto database script. + string ScriptName { get; set; } /// /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of /// the URI for every service call. diff --git a/src/Kusto/generated/api/Models/KustoIdentity.json.cs b/src/Kusto/generated/api/Models/KustoIdentity.json.cs index 944fe59bef5d..191da09be7bf 100644 --- a/src/Kusto/generated/api/Models/KustoIdentity.json.cs +++ b/src/Kusto/generated/api/Models/KustoIdentity.json.cs @@ -78,8 +78,10 @@ internal KustoIdentity(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.Jso {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)Location;} {_principalAssignmentName = If( json?.PropertyT("principalAssignmentName"), out var __jsonPrincipalAssignmentName) ? (string)__jsonPrincipalAssignmentName : (string)PrincipalAssignmentName;} {_databaseName = If( json?.PropertyT("databaseName"), out var __jsonDatabaseName) ? (string)__jsonDatabaseName : (string)DatabaseName;} + {_scriptName = If( json?.PropertyT("scriptName"), out var __jsonScriptName) ? (string)__jsonScriptName : (string)ScriptName;} {_attachedDatabaseConfigurationName = If( json?.PropertyT("attachedDatabaseConfigurationName"), out var __jsonAttachedDatabaseConfigurationName) ? (string)__jsonAttachedDatabaseConfigurationName : (string)AttachedDatabaseConfigurationName;} {_dataConnectionName = If( json?.PropertyT("dataConnectionName"), out var __jsonDataConnectionName) ? (string)__jsonDataConnectionName : (string)DataConnectionName;} + {_operationId = If( json?.PropertyT("operationId"), out var __jsonOperationId) ? (string)__jsonOperationId : (string)OperationId;} {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)Id;} AfterFromJson(json); } @@ -109,8 +111,10 @@ public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode ToJson(Mic AddIf( null != (((object)this._location)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._location.ToString()) : null, "location" ,container.Add ); AddIf( null != (((object)this._principalAssignmentName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._principalAssignmentName.ToString()) : null, "principalAssignmentName" ,container.Add ); AddIf( null != (((object)this._databaseName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._databaseName.ToString()) : null, "databaseName" ,container.Add ); + AddIf( null != (((object)this._scriptName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._scriptName.ToString()) : null, "scriptName" ,container.Add ); AddIf( null != (((object)this._attachedDatabaseConfigurationName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._attachedDatabaseConfigurationName.ToString()) : null, "attachedDatabaseConfigurationName" ,container.Add ); AddIf( null != (((object)this._dataConnectionName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._dataConnectionName.ToString()) : null, "dataConnectionName" ,container.Add ); + AddIf( null != (((object)this._operationId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._operationId.ToString()) : null, "operationId" ,container.Add ); AddIf( null != (((object)this._id)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString(this._id.ToString()) : null, "id" ,container.Add ); AfterToJson(ref container); return container; diff --git a/src/Kusto/generated/api/Support/AzureScaleType.cs b/src/Kusto/generated/api/Support/AzureScaleType.cs index 7b56400bb62c..90ea05cf6ab7 100644 --- a/src/Kusto/generated/api/Support/AzureScaleType.cs +++ b/src/Kusto/generated/api/Support/AzureScaleType.cs @@ -30,7 +30,7 @@ private AzureScaleType(string underlyingValue) /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new AzureScaleType(System.Convert.ToString(value)); + return new AzureScaleType(global::System.Convert.ToString(value)); } /// Compares values of enum type AzureScaleType diff --git a/src/Kusto/generated/api/Support/AzureSkuName.Completer.cs b/src/Kusto/generated/api/Support/AzureSkuName.Completer.cs index 9fe3816a733f..ec8201fa0ffa 100644 --- a/src/Kusto/generated/api/Support/AzureSkuName.Completer.cs +++ b/src/Kusto/generated/api/Support/AzureSkuName.Completer.cs @@ -58,6 +58,14 @@ public partial struct AzureSkuName : { yield return new global::System.Management.Automation.CompletionResult("Standard_L16s", "Standard_L16s", global::System.Management.Automation.CompletionResultType.ParameterValue, "Standard_L16s"); } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Standard_L8s_v2".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("Standard_L8s_v2", "Standard_L8s_v2", global::System.Management.Automation.CompletionResultType.ParameterValue, "Standard_L8s_v2"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Standard_L16s_v2".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("Standard_L16s_v2", "Standard_L16s_v2", global::System.Management.Automation.CompletionResultType.ParameterValue, "Standard_L16s_v2"); + } if (global::System.String.IsNullOrEmpty(wordToComplete) || "Standard_D11_v2".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return new global::System.Management.Automation.CompletionResult("Standard_D11_v2", "Standard_D11_v2", global::System.Management.Automation.CompletionResultType.ParameterValue, "Standard_D11_v2"); @@ -78,6 +86,10 @@ public partial struct AzureSkuName : { yield return new global::System.Management.Automation.CompletionResult("Standard_E64i_v3", "Standard_E64i_v3", global::System.Management.Automation.CompletionResultType.ParameterValue, "Standard_E64i_v3"); } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Standard_E80ids_v4".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("Standard_E80ids_v4", "Standard_E80ids_v4", global::System.Management.Automation.CompletionResultType.ParameterValue, "Standard_E80ids_v4"); + } if (global::System.String.IsNullOrEmpty(wordToComplete) || "Standard_E2a_v4".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return new global::System.Management.Automation.CompletionResult("Standard_E2a_v4", "Standard_E2a_v4", global::System.Management.Automation.CompletionResultType.ParameterValue, "Standard_E2a_v4"); diff --git a/src/Kusto/generated/api/Support/AzureSkuName.cs b/src/Kusto/generated/api/Support/AzureSkuName.cs index 87e502abfd4e..0b5c6ca698bd 100644 --- a/src/Kusto/generated/api/Support/AzureSkuName.cs +++ b/src/Kusto/generated/api/Support/AzureSkuName.cs @@ -42,6 +42,8 @@ public partial struct AzureSkuName : public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName StandardE64IV3 = @"Standard_E64i_v3"; + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName StandardE80IdsV4 = @"Standard_E80ids_v4"; + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName StandardE8AV4 = @"Standard_E8a_v4"; public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName StandardE8AsV41TbPs = @"Standard_E8as_v4+1TB_PS"; @@ -50,10 +52,14 @@ public partial struct AzureSkuName : public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName StandardL16S = @"Standard_L16s"; + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName StandardL16SV2 = @"Standard_L16s_v2"; + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName StandardL4S = @"Standard_L4s"; public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName StandardL8S = @"Standard_L8s"; + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName StandardL8SV2 = @"Standard_L8s_v2"; + /// the value for an instance of the Enum. private string _value { get; set; } @@ -68,7 +74,7 @@ private AzureSkuName(string underlyingValue) /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new AzureSkuName(System.Convert.ToString(value)); + return new AzureSkuName(global::System.Convert.ToString(value)); } /// Compares values of enum type AzureSkuName diff --git a/src/Kusto/generated/api/Support/AzureSkuTier.cs b/src/Kusto/generated/api/Support/AzureSkuTier.cs index 2c7fa89b9850..03078a33f5a8 100644 --- a/src/Kusto/generated/api/Support/AzureSkuTier.cs +++ b/src/Kusto/generated/api/Support/AzureSkuTier.cs @@ -28,7 +28,7 @@ private AzureSkuTier(string underlyingValue) /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new AzureSkuTier(System.Convert.ToString(value)); + return new AzureSkuTier(global::System.Convert.ToString(value)); } /// Compares values of enum type AzureSkuTier diff --git a/src/Kusto/generated/api/Support/BlobStorageEventType.cs b/src/Kusto/generated/api/Support/BlobStorageEventType.cs index cf3535db997c..ac525d187021 100644 --- a/src/Kusto/generated/api/Support/BlobStorageEventType.cs +++ b/src/Kusto/generated/api/Support/BlobStorageEventType.cs @@ -28,7 +28,7 @@ private BlobStorageEventType(string underlyingValue) /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new BlobStorageEventType(System.Convert.ToString(value)); + return new BlobStorageEventType(global::System.Convert.ToString(value)); } /// Compares values of enum type BlobStorageEventType diff --git a/src/Kusto/generated/api/Support/ClusterPrincipalRole.cs b/src/Kusto/generated/api/Support/ClusterPrincipalRole.cs index 1382f787e518..7fa960ad517f 100644 --- a/src/Kusto/generated/api/Support/ClusterPrincipalRole.cs +++ b/src/Kusto/generated/api/Support/ClusterPrincipalRole.cs @@ -28,7 +28,7 @@ private ClusterPrincipalRole(string underlyingValue) /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new ClusterPrincipalRole(System.Convert.ToString(value)); + return new ClusterPrincipalRole(global::System.Convert.ToString(value)); } /// Compares values of enum type ClusterPrincipalRole diff --git a/src/Kusto/generated/api/Support/Compression.cs b/src/Kusto/generated/api/Support/Compression.cs index 63f633ac3274..8d2047bdcfcf 100644 --- a/src/Kusto/generated/api/Support/Compression.cs +++ b/src/Kusto/generated/api/Support/Compression.cs @@ -28,7 +28,7 @@ private Compression(string underlyingValue) /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new Compression(System.Convert.ToString(value)); + return new Compression(global::System.Convert.ToString(value)); } /// Compares values of enum type Compression diff --git a/src/Kusto/generated/api/Support/CreatedByType.Completer.cs b/src/Kusto/generated/api/Support/CreatedByType.Completer.cs new file mode 100644 index 000000000000..3ecb83ef149c --- /dev/null +++ b/src/Kusto/generated/api/Support/CreatedByType.Completer.cs @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support +{ + + /// The type of identity that created the resource. + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByTypeTypeConverter))] + public partial struct CreatedByType : + System.Management.Automation.IArgumentCompleter + { + + /// + /// Implementations of this function are called by PowerShell to complete arguments. + /// + /// The name of the command that needs argument completion. + /// The name of the parameter that needs argument completion. + /// The (possibly empty) word being completed. + /// The command ast in case it is needed for completion. + /// This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot + /// or will not attempt to evaluate an argument, in which case you may need to use commandAst. + /// + /// A collection of completion results, most like with ResultType set to ParameterValue. + /// + public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) + { + if (global::System.String.IsNullOrEmpty(wordToComplete) || "User".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("User", "User", global::System.Management.Automation.CompletionResultType.ParameterValue, "User"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Application".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("Application", "Application", global::System.Management.Automation.CompletionResultType.ParameterValue, "Application"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "ManagedIdentity".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("ManagedIdentity", "ManagedIdentity", global::System.Management.Automation.CompletionResultType.ParameterValue, "ManagedIdentity"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Key".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("Key", "Key", global::System.Management.Automation.CompletionResultType.ParameterValue, "Key"); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/CreatedByType.TypeConverter.cs b/src/Kusto/generated/api/Support/CreatedByType.TypeConverter.cs new file mode 100644 index 000000000000..3ca2e2963e25 --- /dev/null +++ b/src/Kusto/generated/api/Support/CreatedByType.TypeConverter.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support +{ + + /// The type of identity that created the resource. + public partial class CreatedByTypeTypeConverter : + global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => CreatedByType.CreateFrom(sourceValue); + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/CreatedByType.cs b/src/Kusto/generated/api/Support/CreatedByType.cs new file mode 100644 index 000000000000..982fa27c9bcc --- /dev/null +++ b/src/Kusto/generated/api/Support/CreatedByType.cs @@ -0,0 +1,102 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support +{ + + /// The type of identity that created the resource. + public partial struct CreatedByType : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType Application = @"Application"; + + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType Key = @"Key"; + + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType ManagedIdentity = @"ManagedIdentity"; + + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType User = @"User"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Conversion from arbitrary object to CreatedByType + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new CreatedByType(global::System.Convert.ToString(value)); + } + + /// Creates an instance of the + /// the value to create an instance for. + private CreatedByType(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Compares values of enum type CreatedByType + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public bool Equals(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type CreatedByType (override for Object) + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public override bool Equals(object obj) + { + return obj is CreatedByType && Equals((CreatedByType)obj); + } + + /// Returns hashCode for enum CreatedByType + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// Returns string representation for CreatedByType + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to CreatedByType + /// the value to convert to an instance of . + + public static implicit operator CreatedByType(string value) + { + return new CreatedByType(value); + } + + /// Implicit operator to convert CreatedByType to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType e) + { + return e._value; + } + + /// Overriding != operator for enum CreatedByType + /// the value to compare against + /// the value to compare against + /// true if the two instances are not equal to the same value + public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType e1, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum CreatedByType + /// the value to compare against + /// the value to compare against + /// true if the two instances are equal to the same value + public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType e1, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.CreatedByType e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/DataConnectionKind.Completer.cs b/src/Kusto/generated/api/Support/DataConnectionKind.Completer.cs new file mode 100644 index 000000000000..1f3e4d388a78 --- /dev/null +++ b/src/Kusto/generated/api/Support/DataConnectionKind.Completer.cs @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support +{ + + /// Kind of the endpoint for the data connection + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKindTypeConverter))] + public partial struct DataConnectionKind : + System.Management.Automation.IArgumentCompleter + { + + /// + /// Implementations of this function are called by PowerShell to complete arguments. + /// + /// The name of the command that needs argument completion. + /// The name of the parameter that needs argument completion. + /// The (possibly empty) word being completed. + /// The command ast in case it is needed for completion. + /// This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot + /// or will not attempt to evaluate an argument, in which case you may need to use commandAst. + /// + /// A collection of completion results, most like with ResultType set to ParameterValue. + /// + public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) + { + if (global::System.String.IsNullOrEmpty(wordToComplete) || "EventHub".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("EventHub", "EventHub", global::System.Management.Automation.CompletionResultType.ParameterValue, "EventHub"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "EventGrid".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("EventGrid", "EventGrid", global::System.Management.Automation.CompletionResultType.ParameterValue, "EventGrid"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "IotHub".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("IotHub", "IotHub", global::System.Management.Automation.CompletionResultType.ParameterValue, "IotHub"); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/DataConnectionKind.TypeConverter.cs b/src/Kusto/generated/api/Support/DataConnectionKind.TypeConverter.cs new file mode 100644 index 000000000000..07e37a15e3e8 --- /dev/null +++ b/src/Kusto/generated/api/Support/DataConnectionKind.TypeConverter.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support +{ + + /// Kind of the endpoint for the data connection + public partial class DataConnectionKindTypeConverter : + global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => DataConnectionKind.CreateFrom(sourceValue); + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/DataConnectionKind.cs b/src/Kusto/generated/api/Support/DataConnectionKind.cs new file mode 100644 index 000000000000..422e540a0967 --- /dev/null +++ b/src/Kusto/generated/api/Support/DataConnectionKind.cs @@ -0,0 +1,100 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support +{ + + /// Kind of the endpoint for the data connection + public partial struct DataConnectionKind : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind EventGrid = @"EventGrid"; + + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind EventHub = @"EventHub"; + + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind IotHub = @"IotHub"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Conversion from arbitrary object to DataConnectionKind + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new DataConnectionKind(global::System.Convert.ToString(value)); + } + + /// Creates an instance of the + /// the value to create an instance for. + private DataConnectionKind(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Compares values of enum type DataConnectionKind + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public bool Equals(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type DataConnectionKind (override for Object) + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public override bool Equals(object obj) + { + return obj is DataConnectionKind && Equals((DataConnectionKind)obj); + } + + /// Returns hashCode for enum DataConnectionKind + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// Returns string representation for DataConnectionKind + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to DataConnectionKind + /// the value to convert to an instance of . + + public static implicit operator DataConnectionKind(string value) + { + return new DataConnectionKind(value); + } + + /// Implicit operator to convert DataConnectionKind to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind e) + { + return e._value; + } + + /// Overriding != operator for enum DataConnectionKind + /// the value to compare against + /// the value to compare against + /// true if the two instances are not equal to the same value + public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind e1, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum DataConnectionKind + /// the value to compare against + /// the value to compare against + /// true if the two instances are equal to the same value + public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind e1, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/DatabasePrincipalRole.Completer.cs b/src/Kusto/generated/api/Support/DatabasePrincipalRole.Completer.cs index 739b529cb430..be04366cd3c5 100644 --- a/src/Kusto/generated/api/Support/DatabasePrincipalRole.Completer.cs +++ b/src/Kusto/generated/api/Support/DatabasePrincipalRole.Completer.cs @@ -42,9 +42,9 @@ public partial struct DatabasePrincipalRole : { yield return new global::System.Management.Automation.CompletionResult("User", "User", global::System.Management.Automation.CompletionResultType.ParameterValue, "User"); } - if (global::System.String.IsNullOrEmpty(wordToComplete) || "UnrestrictedViewers".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + if (global::System.String.IsNullOrEmpty(wordToComplete) || "UnrestrictedViewer".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { - yield return new global::System.Management.Automation.CompletionResult("UnrestrictedViewers", "UnrestrictedViewers", global::System.Management.Automation.CompletionResultType.ParameterValue, "UnrestrictedViewers"); + yield return new global::System.Management.Automation.CompletionResult("UnrestrictedViewer", "UnrestrictedViewer", global::System.Management.Automation.CompletionResultType.ParameterValue, "UnrestrictedViewer"); } if (global::System.String.IsNullOrEmpty(wordToComplete) || "Viewer".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { diff --git a/src/Kusto/generated/api/Support/DatabasePrincipalRole.cs b/src/Kusto/generated/api/Support/DatabasePrincipalRole.cs index f131f6162852..746bd24b4be3 100644 --- a/src/Kusto/generated/api/Support/DatabasePrincipalRole.cs +++ b/src/Kusto/generated/api/Support/DatabasePrincipalRole.cs @@ -16,7 +16,7 @@ public partial struct DatabasePrincipalRole : public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole Monitor = @"Monitor"; - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole UnrestrictedViewers = @"UnrestrictedViewers"; + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole UnrestrictedViewer = @"UnrestrictedViewer"; public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole User = @"User"; @@ -29,7 +29,7 @@ public partial struct DatabasePrincipalRole : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new DatabasePrincipalRole(System.Convert.ToString(value)); + return new DatabasePrincipalRole(global::System.Convert.ToString(value)); } /// Creates an instance of the diff --git a/src/Kusto/generated/api/Support/DatabasePrincipalType.cs b/src/Kusto/generated/api/Support/DatabasePrincipalType.cs index 9ac51d7d2ee8..2f25d3aef586 100644 --- a/src/Kusto/generated/api/Support/DatabasePrincipalType.cs +++ b/src/Kusto/generated/api/Support/DatabasePrincipalType.cs @@ -23,7 +23,7 @@ public partial struct DatabasePrincipalType : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new DatabasePrincipalType(System.Convert.ToString(value)); + return new DatabasePrincipalType(global::System.Convert.ToString(value)); } /// Creates an instance of the diff --git a/src/Kusto/generated/api/Support/DefaultPrincipalsModificationKind.cs b/src/Kusto/generated/api/Support/DefaultPrincipalsModificationKind.cs index d8e3611a9a0a..5a498d205e69 100644 --- a/src/Kusto/generated/api/Support/DefaultPrincipalsModificationKind.cs +++ b/src/Kusto/generated/api/Support/DefaultPrincipalsModificationKind.cs @@ -25,7 +25,7 @@ public partial struct DefaultPrincipalsModificationKind : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new DefaultPrincipalsModificationKind(System.Convert.ToString(value)); + return new DefaultPrincipalsModificationKind(global::System.Convert.ToString(value)); } /// diff --git a/src/Kusto/generated/api/Support/EngineType.cs b/src/Kusto/generated/api/Support/EngineType.cs index 26f6694bbe4c..5a5bc35a7e45 100644 --- a/src/Kusto/generated/api/Support/EngineType.cs +++ b/src/Kusto/generated/api/Support/EngineType.cs @@ -21,7 +21,7 @@ public partial struct EngineType : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new EngineType(System.Convert.ToString(value)); + return new EngineType(global::System.Convert.ToString(value)); } /// Creates an instance of the diff --git a/src/Kusto/generated/api/Support/EventGridDataFormat.cs b/src/Kusto/generated/api/Support/EventGridDataFormat.cs index 4eb543c7ce8f..f9cdd9ce7d7e 100644 --- a/src/Kusto/generated/api/Support/EventGridDataFormat.cs +++ b/src/Kusto/generated/api/Support/EventGridDataFormat.cs @@ -51,7 +51,7 @@ public partial struct EventGridDataFormat : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new EventGridDataFormat(System.Convert.ToString(value)); + return new EventGridDataFormat(global::System.Convert.ToString(value)); } /// Compares values of enum type EventGridDataFormat diff --git a/src/Kusto/generated/api/Support/EventHubDataFormat.cs b/src/Kusto/generated/api/Support/EventHubDataFormat.cs index f97b72a53cc6..0479932aeff0 100644 --- a/src/Kusto/generated/api/Support/EventHubDataFormat.cs +++ b/src/Kusto/generated/api/Support/EventHubDataFormat.cs @@ -51,7 +51,7 @@ public partial struct EventHubDataFormat : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new EventHubDataFormat(System.Convert.ToString(value)); + return new EventHubDataFormat(global::System.Convert.ToString(value)); } /// Compares values of enum type EventHubDataFormat diff --git a/src/Kusto/generated/api/Support/IdentityType.cs b/src/Kusto/generated/api/Support/IdentityType.cs index 543b35cb3e86..38aa5dd5d0b3 100644 --- a/src/Kusto/generated/api/Support/IdentityType.cs +++ b/src/Kusto/generated/api/Support/IdentityType.cs @@ -28,7 +28,7 @@ public partial struct IdentityType : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new IdentityType(System.Convert.ToString(value)); + return new IdentityType(global::System.Convert.ToString(value)); } /// Compares values of enum type IdentityType diff --git a/src/Kusto/generated/api/Support/IotHubDataFormat.cs b/src/Kusto/generated/api/Support/IotHubDataFormat.cs index f682862665c0..1da77c387a3c 100644 --- a/src/Kusto/generated/api/Support/IotHubDataFormat.cs +++ b/src/Kusto/generated/api/Support/IotHubDataFormat.cs @@ -51,7 +51,7 @@ public partial struct IotHubDataFormat : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new IotHubDataFormat(System.Convert.ToString(value)); + return new IotHubDataFormat(global::System.Convert.ToString(value)); } /// Compares values of enum type IotHubDataFormat diff --git a/src/Kusto/generated/api/Support/Kind.Completer.cs b/src/Kusto/generated/api/Support/Kind.Completer.cs index 7c089fadfd34..525ea5b0eeb2 100644 --- a/src/Kusto/generated/api/Support/Kind.Completer.cs +++ b/src/Kusto/generated/api/Support/Kind.Completer.cs @@ -34,18 +34,6 @@ public partial struct Kind : { yield return new global::System.Management.Automation.CompletionResult("ReadOnlyFollowing", "ReadOnlyFollowing", global::System.Management.Automation.CompletionResultType.ParameterValue, "ReadOnlyFollowing"); } - if (global::System.String.IsNullOrEmpty(wordToComplete) || "EventHub".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) - { - yield return new global::System.Management.Automation.CompletionResult("EventHub", "EventHub", global::System.Management.Automation.CompletionResultType.ParameterValue, "EventHub"); - } - if (global::System.String.IsNullOrEmpty(wordToComplete) || "EventGrid".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) - { - yield return new global::System.Management.Automation.CompletionResult("EventGrid", "EventGrid", global::System.Management.Automation.CompletionResultType.ParameterValue, "EventGrid"); - } - if (global::System.String.IsNullOrEmpty(wordToComplete) || "IotHub".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) - { - yield return new global::System.Management.Automation.CompletionResult("IotHub", "IotHub", global::System.Management.Automation.CompletionResultType.ParameterValue, "IotHub"); - } } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/Kind.cs b/src/Kusto/generated/api/Support/Kind.cs index b67ea92558f1..9c4bdf9968ef 100644 --- a/src/Kusto/generated/api/Support/Kind.cs +++ b/src/Kusto/generated/api/Support/Kind.cs @@ -10,12 +10,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support public partial struct Kind : System.IEquatable { - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind EventGrid = @"EventGrid"; - - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind EventHub = @"EventHub"; - - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind IotHub = @"IotHub"; - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind ReadOnlyFollowing = @"ReadOnlyFollowing"; public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind ReadWrite = @"ReadWrite"; @@ -27,7 +21,7 @@ public partial struct Kind : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new Kind(System.Convert.ToString(value)); + return new Kind(global::System.Convert.ToString(value)); } /// Compares values of enum type Kind diff --git a/src/Kusto/generated/api/Support/LanguageExtensionName.cs b/src/Kusto/generated/api/Support/LanguageExtensionName.cs index 894db7a997cf..babc0359b961 100644 --- a/src/Kusto/generated/api/Support/LanguageExtensionName.cs +++ b/src/Kusto/generated/api/Support/LanguageExtensionName.cs @@ -21,7 +21,7 @@ public partial struct LanguageExtensionName : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new LanguageExtensionName(System.Convert.ToString(value)); + return new LanguageExtensionName(global::System.Convert.ToString(value)); } /// Compares values of enum type LanguageExtensionName diff --git a/src/Kusto/generated/api/Support/PrincipalType.cs b/src/Kusto/generated/api/Support/PrincipalType.cs index 7f3a078f6444..5a1b9d07945a 100644 --- a/src/Kusto/generated/api/Support/PrincipalType.cs +++ b/src/Kusto/generated/api/Support/PrincipalType.cs @@ -23,7 +23,7 @@ public partial struct PrincipalType : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new PrincipalType(System.Convert.ToString(value)); + return new PrincipalType(global::System.Convert.ToString(value)); } /// Compares values of enum type PrincipalType diff --git a/src/Kusto/generated/api/Support/PrincipalsModificationKind.cs b/src/Kusto/generated/api/Support/PrincipalsModificationKind.cs index 53366d794fbc..9a9144f65fa0 100644 --- a/src/Kusto/generated/api/Support/PrincipalsModificationKind.cs +++ b/src/Kusto/generated/api/Support/PrincipalsModificationKind.cs @@ -25,7 +25,7 @@ public partial struct PrincipalsModificationKind : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new PrincipalsModificationKind(System.Convert.ToString(value)); + return new PrincipalsModificationKind(global::System.Convert.ToString(value)); } /// Compares values of enum type PrincipalsModificationKind diff --git a/src/Kusto/generated/api/Support/ProvisioningState.cs b/src/Kusto/generated/api/Support/ProvisioningState.cs index d4cc5d21c715..503add0d5644 100644 --- a/src/Kusto/generated/api/Support/ProvisioningState.cs +++ b/src/Kusto/generated/api/Support/ProvisioningState.cs @@ -29,7 +29,7 @@ public partial struct ProvisioningState : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new ProvisioningState(System.Convert.ToString(value)); + return new ProvisioningState(global::System.Convert.ToString(value)); } /// Compares values of enum type ProvisioningState diff --git a/src/Kusto/generated/api/Support/Reason.cs b/src/Kusto/generated/api/Support/Reason.cs index c9e27c775433..0cdcb023b8ea 100644 --- a/src/Kusto/generated/api/Support/Reason.cs +++ b/src/Kusto/generated/api/Support/Reason.cs @@ -21,7 +21,7 @@ public partial struct Reason : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new Reason(System.Convert.ToString(value)); + return new Reason(global::System.Convert.ToString(value)); } /// Compares values of enum type Reason diff --git a/src/Kusto/generated/api/Support/State.cs b/src/Kusto/generated/api/Support/State.cs index 1a16f0549012..010ede8931b8 100644 --- a/src/Kusto/generated/api/Support/State.cs +++ b/src/Kusto/generated/api/Support/State.cs @@ -35,7 +35,7 @@ public partial struct State : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new State(System.Convert.ToString(value)); + return new State(global::System.Convert.ToString(value)); } /// Compares values of enum type State diff --git a/src/Kusto/generated/api/Support/Status.Completer.cs b/src/Kusto/generated/api/Support/Status.Completer.cs new file mode 100644 index 000000000000..8efe5dd7a94b --- /dev/null +++ b/src/Kusto/generated/api/Support/Status.Completer.cs @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support +{ + + /// The status of operation. + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.StatusTypeConverter))] + public partial struct Status : + System.Management.Automation.IArgumentCompleter + { + + /// + /// Implementations of this function are called by PowerShell to complete arguments. + /// + /// The name of the command that needs argument completion. + /// The name of the parameter that needs argument completion. + /// The (possibly empty) word being completed. + /// The command ast in case it is needed for completion. + /// This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot + /// or will not attempt to evaluate an argument, in which case you may need to use commandAst. + /// + /// A collection of completion results, most like with ResultType set to ParameterValue. + /// + public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) + { + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Succeeded".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("Succeeded", "Succeeded", global::System.Management.Automation.CompletionResultType.ParameterValue, "Succeeded"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Canceled".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("Canceled", "Canceled", global::System.Management.Automation.CompletionResultType.ParameterValue, "Canceled"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Failed".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("Failed", "Failed", global::System.Management.Automation.CompletionResultType.ParameterValue, "Failed"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Running".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("Running", "Running", global::System.Management.Automation.CompletionResultType.ParameterValue, "Running"); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/Status.TypeConverter.cs b/src/Kusto/generated/api/Support/Status.TypeConverter.cs new file mode 100644 index 000000000000..6bf1e62e2e92 --- /dev/null +++ b/src/Kusto/generated/api/Support/Status.TypeConverter.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support +{ + + /// The status of operation. + public partial class StatusTypeConverter : + global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; + + /// + /// Determines if the converter can convert the parameter to the + /// parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the + /// parameter, otherwise false. + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => Status.CreateFrom(sourceValue); + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/Status.cs b/src/Kusto/generated/api/Support/Status.cs new file mode 100644 index 000000000000..a21a65f49c0a --- /dev/null +++ b/src/Kusto/generated/api/Support/Status.cs @@ -0,0 +1,102 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support +{ + + /// The status of operation. + public partial struct Status : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status Canceled = @"Canceled"; + + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status Failed = @"Failed"; + + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status Running = @"Running"; + + public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status Succeeded = @"Succeeded"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Conversion from arbitrary object to Status + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new Status(global::System.Convert.ToString(value)); + } + + /// Compares values of enum type Status + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public bool Equals(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type Status (override for Object) + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public override bool Equals(object obj) + { + return obj is Status && Equals((Status)obj); + } + + /// Returns hashCode for enum Status + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// Creates an instance of the + /// the value to create an instance for. + private Status(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Returns string representation for Status + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to Status + /// the value to convert to an instance of . + + public static implicit operator Status(string value) + { + return new Status(value); + } + + /// Implicit operator to convert Status to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status e) + { + return e._value; + } + + /// Overriding != operator for enum Status + /// the value to compare against + /// the value to compare against + /// true if the two instances are not equal to the same value + public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status e1, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum Status + /// the value to compare against + /// the value to compare against + /// true if the two instances are equal to the same value + public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status e1, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Status e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/Type.Completer.cs b/src/Kusto/generated/api/Support/Type.Completer.cs index e703f7947cb5..18f6bca3c336 100644 --- a/src/Kusto/generated/api/Support/Type.Completer.cs +++ b/src/Kusto/generated/api/Support/Type.Completer.cs @@ -6,7 +6,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support { - /// The type of resource, Microsoft.Kusto/clusters. + /// The type of resource, for instance Microsoft.Kusto/Clusters/databases. [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.TypeTypeConverter))] public partial struct Type : System.Management.Automation.IArgumentCompleter @@ -26,10 +26,6 @@ public partial struct Type : /// public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) { - if (global::System.String.IsNullOrEmpty(wordToComplete) || "Microsoft.Kusto/clusters".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) - { - yield return new global::System.Management.Automation.CompletionResult("Microsoft.Kusto/clusters", "Microsoft.Kusto/clusters", global::System.Management.Automation.CompletionResultType.ParameterValue, "Microsoft.Kusto/clusters"); - } if (global::System.String.IsNullOrEmpty(wordToComplete) || "Microsoft.Kusto/Clusters/databases".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return new global::System.Management.Automation.CompletionResult("Microsoft.Kusto/Clusters/databases", "Microsoft.Kusto/Clusters/databases", global::System.Management.Automation.CompletionResultType.ParameterValue, "Microsoft.Kusto/Clusters/databases"); @@ -38,18 +34,6 @@ public partial struct Type : { yield return new global::System.Management.Automation.CompletionResult("Microsoft.Kusto/Clusters/attachedDatabaseConfigurations", "Microsoft.Kusto/Clusters/attachedDatabaseConfigurations", global::System.Management.Automation.CompletionResultType.ParameterValue, "Microsoft.Kusto/Clusters/attachedDatabaseConfigurations"); } - if (global::System.String.IsNullOrEmpty(wordToComplete) || "Microsoft.Kusto/Clusters/principalAssignments".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) - { - yield return new global::System.Management.Automation.CompletionResult("Microsoft.Kusto/Clusters/principalAssignments", "Microsoft.Kusto/Clusters/principalAssignments", global::System.Management.Automation.CompletionResultType.ParameterValue, "Microsoft.Kusto/Clusters/principalAssignments"); - } - if (global::System.String.IsNullOrEmpty(wordToComplete) || "Microsoft.Kusto/Clusters/Databases/dataConnections".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) - { - yield return new global::System.Management.Automation.CompletionResult("Microsoft.Kusto/Clusters/Databases/dataConnections", "Microsoft.Kusto/Clusters/Databases/dataConnections", global::System.Management.Automation.CompletionResultType.ParameterValue, "Microsoft.Kusto/Clusters/Databases/dataConnections"); - } - if (global::System.String.IsNullOrEmpty(wordToComplete) || "Microsoft.Kusto/Clusters/Databases/principalAssignments".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) - { - yield return new global::System.Management.Automation.CompletionResult("Microsoft.Kusto/Clusters/Databases/principalAssignments", "Microsoft.Kusto/Clusters/Databases/principalAssignments", global::System.Management.Automation.CompletionResultType.ParameterValue, "Microsoft.Kusto/Clusters/Databases/principalAssignments"); - } } } } \ No newline at end of file diff --git a/src/Kusto/generated/api/Support/Type.TypeConverter.cs b/src/Kusto/generated/api/Support/Type.TypeConverter.cs index 78fb18c18564..330e71d2b86a 100644 --- a/src/Kusto/generated/api/Support/Type.TypeConverter.cs +++ b/src/Kusto/generated/api/Support/Type.TypeConverter.cs @@ -6,7 +6,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support { - /// The type of resource, Microsoft.Kusto/clusters. + /// The type of resource, for instance Microsoft.Kusto/Clusters/databases. public partial class TypeTypeConverter : global::System.Management.Automation.PSTypeConverter { diff --git a/src/Kusto/generated/api/Support/Type.cs b/src/Kusto/generated/api/Support/Type.cs index f412a2db3c2c..8a737a9946fb 100644 --- a/src/Kusto/generated/api/Support/Type.cs +++ b/src/Kusto/generated/api/Support/Type.cs @@ -6,22 +6,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support { - /// The type of resource, Microsoft.Kusto/clusters. + /// The type of resource, for instance Microsoft.Kusto/Clusters/databases. public partial struct Type : System.IEquatable { - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type MicrosoftKustoClusters = @"Microsoft.Kusto/clusters"; - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type MicrosoftKustoClustersAttachedDatabaseConfigurations = @"Microsoft.Kusto/Clusters/attachedDatabaseConfigurations"; public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type MicrosoftKustoClustersDatabases = @"Microsoft.Kusto/Clusters/databases"; - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type MicrosoftKustoClustersDatabasesDataConnections = @"Microsoft.Kusto/Clusters/Databases/dataConnections"; - - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type MicrosoftKustoClustersDatabasesPrincipalAssignments = @"Microsoft.Kusto/Clusters/Databases/principalAssignments"; - - public static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type MicrosoftKustoClustersPrincipalAssignments = @"Microsoft.Kusto/Clusters/principalAssignments"; - /// the value for an instance of the Enum. private string _value { get; set; } @@ -29,7 +21,7 @@ public partial struct Type : /// the value to convert to an instance of . internal static object CreateFrom(object value) { - return new Type(System.Convert.ToString(value)); + return new Type(global::System.Convert.ToString(value)); } /// Compares values of enum type Type diff --git a/src/Kusto/generated/cmdlets/AddAzKustoClusterLanguageExtension_AddExpanded.cs b/src/Kusto/generated/cmdlets/AddAzKustoClusterLanguageExtension_AddExpanded.cs index aaba35cb8482..dc2ebf93d543 100644 --- a/src/Kusto/generated/cmdlets/AddAzKustoClusterLanguageExtension_AddExpanded.cs +++ b/src/Kusto/generated/cmdlets/AddAzKustoClusterLanguageExtension_AddExpanded.cs @@ -84,10 +84,10 @@ public partial class AddAzKustoClusterLanguageExtension_AddExpanded : global::Sy public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList _languageExtensionsToAddBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsList(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList _languageExtensionsToAddBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsList(); /// The list of language extension objects. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList LanguageExtensionsToAddBody { get => this._languageExtensionsToAddBody; set => this._languageExtensionsToAddBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList LanguageExtensionsToAddBody { get => this._languageExtensionsToAddBody; set => this._languageExtensionsToAddBody = value; } /// /// cancellation delegate. Stops the cmdlet when called. @@ -177,20 +177,20 @@ public partial class AddAzKustoClusterLanguageExtension_AddExpanded : global::Sy ReadOnly = false, Description = @"The list of language extensions.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] Value { get => LanguageExtensionsToAddBody.Value ?? null /* arrayOf */; set => LanguageExtensionsToAddBody.Value = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] Value { get => LanguageExtensionsToAddBody.Value ?? null /* arrayOf */; set => LanguageExtensionsToAddBody.Value = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -426,12 +426,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -448,7 +448,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, body=LanguageExtensionsToAddBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/AddAzKustoClusterLanguageExtension_AddViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/AddAzKustoClusterLanguageExtension_AddViaIdentityExpanded.cs index 02552c1b7e3a..0e637f60e4e0 100644 --- a/src/Kusto/generated/cmdlets/AddAzKustoClusterLanguageExtension_AddViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/AddAzKustoClusterLanguageExtension_AddViaIdentityExpanded.cs @@ -78,10 +78,10 @@ public partial class AddAzKustoClusterLanguageExtension_AddViaIdentityExpanded : public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList _languageExtensionsToAddBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsList(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList _languageExtensionsToAddBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsList(); /// The list of language extension objects. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList LanguageExtensionsToAddBody { get => this._languageExtensionsToAddBody; set => this._languageExtensionsToAddBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList LanguageExtensionsToAddBody { get => this._languageExtensionsToAddBody; set => this._languageExtensionsToAddBody = value; } /// /// cancellation delegate. Stops the cmdlet when called. @@ -136,20 +136,20 @@ public partial class AddAzKustoClusterLanguageExtension_AddViaIdentityExpanded : ReadOnly = false, Description = @"The list of language extensions.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] Value { get => LanguageExtensionsToAddBody.Value ?? null /* arrayOf */; set => LanguageExtensionsToAddBody.Value = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] Value { get => LanguageExtensionsToAddBody.Value ?? null /* arrayOf */; set => LanguageExtensionsToAddBody.Value = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -404,12 +404,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -426,7 +426,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=LanguageExtensionsToAddBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/AddAzKustoDatabasePrincipal_AddExpanded.cs b/src/Kusto/generated/cmdlets/AddAzKustoDatabasePrincipal_AddExpanded.cs index a529d5f98f7c..123fe5e5ec22 100644 --- a/src/Kusto/generated/cmdlets/AddAzKustoDatabasePrincipal_AddExpanded.cs +++ b/src/Kusto/generated/cmdlets/AddAzKustoDatabasePrincipal_AddExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] AddPrincipals=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/addPrincipals" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Add, @"AzKustoDatabasePrincipal_AddExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Add Database principals permissions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class AddAzKustoDatabasePrincipal_AddExpanded : global::System.Management.Automation.PSCmdlet, @@ -69,10 +69,10 @@ public partial class AddAzKustoDatabasePrincipal_AddExpanded : global::System.Ma public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest _databasePrincipalsToAddBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalListRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest _databasePrincipalsToAddBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalListRequest(); /// The list Kusto database principals operation request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest DatabasePrincipalsToAddBody { get => this._databasePrincipalsToAddBody; set => this._databasePrincipalsToAddBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest DatabasePrincipalsToAddBody { get => this._databasePrincipalsToAddBody; set => this._databasePrincipalsToAddBody = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -171,32 +171,32 @@ public partial class AddAzKustoDatabasePrincipal_AddExpanded : global::System.Ma ReadOnly = false, Description = @"The list of Kusto database principals.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] Value { get => DatabasePrincipalsToAddBody.Value ?? null /* arrayOf */; set => DatabasePrincipalsToAddBody.Value = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Value { get => DatabasePrincipalsToAddBody.Value ?? null /* arrayOf */; set => DatabasePrincipalsToAddBody.Value = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// Intializes a new instance of the cmdlet class. @@ -368,12 +368,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -390,7 +390,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, SubscriptionId=SubscriptionId, body=DatabasePrincipalsToAddBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -408,12 +408,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/AddAzKustoDatabasePrincipal_AddViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/AddAzKustoDatabasePrincipal_AddViaIdentityExpanded.cs index ab23954450c0..2878b4a8233e 100644 --- a/src/Kusto/generated/cmdlets/AddAzKustoDatabasePrincipal_AddViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/AddAzKustoDatabasePrincipal_AddViaIdentityExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] AddPrincipals=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/addPrincipals" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Add, @"AzKustoDatabasePrincipal_AddViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Add Database principals permissions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class AddAzKustoDatabasePrincipal_AddViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -41,10 +41,10 @@ public partial class AddAzKustoDatabasePrincipal_AddViaIdentityExpanded : global public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest _databasePrincipalsToAddBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalListRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest _databasePrincipalsToAddBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalListRequest(); /// The list Kusto database principals operation request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest DatabasePrincipalsToAddBody { get => this._databasePrincipalsToAddBody; set => this._databasePrincipalsToAddBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest DatabasePrincipalsToAddBody { get => this._databasePrincipalsToAddBody; set => this._databasePrincipalsToAddBody = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -116,32 +116,32 @@ public partial class AddAzKustoDatabasePrincipal_AddViaIdentityExpanded : global ReadOnly = false, Description = @"The list of Kusto database principals.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] Value { get => DatabasePrincipalsToAddBody.Value ?? null /* arrayOf */; set => DatabasePrincipalsToAddBody.Value = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Value { get => DatabasePrincipalsToAddBody.Value ?? null /* arrayOf */; set => DatabasePrincipalsToAddBody.Value = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// Intializes a new instance of the cmdlet class. @@ -337,12 +337,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -359,7 +359,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=DatabasePrincipalsToAddBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -377,12 +377,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_Get.cs b/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_Get.cs index 4ed3f7ba1915..3179982bafec 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_Get.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_Get.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/AttachedDatabaseConfigurations/{attachedDatabaseConfigurationName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoAttachedDatabaseConfiguration_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns an attached database configuration.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoAttachedDatabaseConfiguration_Get : global::System.Management.Automation.PSCmdlet, @@ -162,24 +162,24 @@ public partial class GetAzKustoAttachedDatabaseConfiguration_Get : global::Syste /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -351,12 +351,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -373,7 +373,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, Name=Name, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -391,12 +391,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -408,7 +408,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_GetViaIdentity.cs b/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_GetViaIdentity.cs index a9246159e8c9..6fd77480a68a 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_GetViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_GetViaIdentity.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/AttachedDatabaseConfigurations/{attachedDatabaseConfigurationName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoAttachedDatabaseConfiguration_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns an attached database configuration.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoAttachedDatabaseConfiguration_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -106,24 +106,24 @@ public partial class GetAzKustoAttachedDatabaseConfiguration_GetViaIdentity : gl /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -316,12 +316,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -338,7 +338,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -356,12 +356,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -373,7 +373,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_List.cs index 7eac3ff20777..42a38c972339 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoAttachedDatabaseConfiguration_List.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] ListByCluster=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/attachedDatabaseConfigurations" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoAttachedDatabaseConfiguration_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns the list of attached database configurations of the given Kusto cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoAttachedDatabaseConfiguration_List : global::System.Management.Automation.PSCmdlet, @@ -149,24 +149,24 @@ public partial class GetAzKustoAttachedDatabaseConfiguration_List : global::Syst /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -338,12 +338,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -360,7 +360,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -378,12 +378,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoClusterFollowerDatabase_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoClusterFollowerDatabase_List.cs index a3a07a83372c..b7a9e3936526 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoClusterFollowerDatabase_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoClusterFollowerDatabase_List.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] ListFollowerDatabases=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/listFollowerDatabases" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoClusterFollowerDatabase_List", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns a list of databases that are owned by this cluster and were followed by another cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoClusterFollowerDatabase_List : global::System.Management.Automation.PSCmdlet, @@ -149,24 +149,24 @@ public partial class GetAzKustoClusterFollowerDatabase_List : global::System.Man /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -341,12 +341,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -363,7 +363,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -381,12 +381,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoClusterLanguageExtension_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoClusterLanguageExtension_List.cs index bf3b2092455d..01dc7febf331 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoClusterLanguageExtension_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoClusterLanguageExtension_List.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] ListLanguageExtensions=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/listLanguageExtensions" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoClusterLanguageExtension_List", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns a list of language extensions that can run within KQL queries.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoClusterLanguageExtension_List : global::System.Management.Automation.PSCmdlet, @@ -147,24 +147,24 @@ public partial class GetAzKustoClusterLanguageExtension_List : global::System.Ma /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -339,12 +339,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -361,7 +361,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -379,12 +379,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_Get.cs b/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_Get.cs index c195f8de663c..26801857f07d 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_Get.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_Get.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/PrincipalAssignments/{principalAssignmentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoClusterPrincipalAssignment_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Gets a Kusto cluster principalAssignment.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoClusterPrincipalAssignment_Get : global::System.Management.Automation.PSCmdlet, @@ -161,24 +161,24 @@ public partial class GetAzKustoClusterPrincipalAssignment_Get : global::System.M /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -350,12 +350,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -372,7 +372,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, PrincipalAssignmentName=PrincipalAssignmentName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -390,12 +390,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -407,7 +407,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_GetViaIdentity.cs b/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_GetViaIdentity.cs index c9ea5b4c9d1d..54fc1aa4cce3 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_GetViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_GetViaIdentity.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/PrincipalAssignments/{principalAssignmentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoClusterPrincipalAssignment_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Gets a Kusto cluster principalAssignment.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoClusterPrincipalAssignment_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -106,24 +106,24 @@ public partial class GetAzKustoClusterPrincipalAssignment_GetViaIdentity : globa /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -316,12 +316,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -338,7 +338,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -356,12 +356,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -373,7 +373,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_List.cs index dd9de5036ce9..3cd7b86a08e5 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoClusterPrincipalAssignment_List.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/principalAssignments" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoClusterPrincipalAssignment_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Lists all Kusto cluster principalAssignments.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoClusterPrincipalAssignment_List : global::System.Management.Automation.PSCmdlet, @@ -147,24 +147,24 @@ public partial class GetAzKustoClusterPrincipalAssignment_List : global::System. /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -336,12 +336,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -358,7 +358,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -376,12 +376,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoClusterSku_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoClusterSku_List.cs index cd45724a5371..f72b83aec616 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoClusterSku_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoClusterSku_List.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] ListSkus=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/skus" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoClusterSku_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Lists eligible SKUs for Kusto resource provider.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoClusterSku_List : global::System.Management.Automation.PSCmdlet, @@ -119,24 +119,24 @@ public partial class GetAzKustoClusterSku_List : global::System.Management.Autom /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -308,12 +308,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -330,7 +330,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -348,12 +348,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoClusterSku_List1.cs b/src/Kusto/generated/cmdlets/GetAzKustoClusterSku_List1.cs index 3e63d8bdb02a..2728a0faca24 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoClusterSku_List1.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoClusterSku_List1.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] ListSkusByResource=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/skus" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoClusterSku_List1")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns the SKUs available for the provided resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoClusterSku_List1 : global::System.Management.Automation.PSCmdlet, @@ -147,24 +147,24 @@ public partial class GetAzKustoClusterSku_List1 : global::System.Management.Auto /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -336,12 +336,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -358,7 +358,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -376,12 +376,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoCluster_Get.cs b/src/Kusto/generated/cmdlets/GetAzKustoCluster_Get.cs index ffed0480885d..6a135537c8a7 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoCluster_Get.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoCluster_Get.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoCluster_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Gets a Kusto cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoCluster_Get : global::System.Management.Automation.PSCmdlet, @@ -148,24 +148,24 @@ public partial class GetAzKustoCluster_Get : global::System.Management.Automatio /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -337,12 +337,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -359,7 +359,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -377,12 +377,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -394,7 +394,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoCluster_GetViaIdentity.cs b/src/Kusto/generated/cmdlets/GetAzKustoCluster_GetViaIdentity.cs index 2746a87bace6..289a05d51504 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoCluster_GetViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoCluster_GetViaIdentity.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoCluster_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Gets a Kusto cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoCluster_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -106,24 +106,24 @@ public partial class GetAzKustoCluster_GetViaIdentity : global::System.Managemen /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -312,12 +312,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -334,7 +334,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -352,12 +352,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -369,7 +369,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoCluster_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoCluster_List.cs index 457c38888508..bd8abd8649a4 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoCluster_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoCluster_List.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] ListByResourceGroup=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoCluster_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Lists all Kusto clusters within a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoCluster_List : global::System.Management.Automation.PSCmdlet, @@ -133,24 +133,24 @@ public partial class GetAzKustoCluster_List : global::System.Management.Automati /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -322,12 +322,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -344,7 +344,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -362,12 +362,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoCluster_List1.cs b/src/Kusto/generated/cmdlets/GetAzKustoCluster_List1.cs index b68d1ac142ef..5f02e6f3ae60 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoCluster_List1.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoCluster_List1.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/clusters" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoCluster_List1")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Lists all Kusto clusters within a subscription.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoCluster_List1 : global::System.Management.Automation.PSCmdlet, @@ -119,24 +119,24 @@ public partial class GetAzKustoCluster_List1 : global::System.Management.Automat /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -308,12 +308,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -330,7 +330,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -348,12 +348,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_Get.cs b/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_Get.cs index 6279fe150e22..0a9f9dc0a72f 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_Get.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_Get.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/DataConnections/{dataConnectionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoDataConnection_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns a data connection.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoDataConnection_Get : global::System.Management.Automation.PSCmdlet, @@ -176,24 +176,24 @@ public partial class GetAzKustoDataConnection_Get : global::System.Management.Au /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -365,12 +365,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -387,7 +387,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -405,12 +405,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -422,7 +422,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_GetViaIdentity.cs b/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_GetViaIdentity.cs index f3f3e4a30b14..ecd6569f0f41 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_GetViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_GetViaIdentity.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/DataConnections/{dataConnectionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoDataConnection_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns a data connection.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoDataConnection_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -106,24 +106,24 @@ public partial class GetAzKustoDataConnection_GetViaIdentity : global::System.Ma /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -320,12 +320,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -342,7 +342,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -360,12 +360,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -377,7 +377,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_List.cs index 6ec8bf664f5f..45cecc6b2b29 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoDataConnection_List.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] ListByDatabase=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/dataConnections" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoDataConnection_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns the list of data connections of the given Kusto database.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoDataConnection_List : global::System.Management.Automation.PSCmdlet, @@ -161,24 +161,24 @@ public partial class GetAzKustoDataConnection_List : global::System.Management.A /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -350,12 +350,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -372,7 +372,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -390,12 +390,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_Get.cs b/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_Get.cs index 967f0552ab6d..79ab49507df0 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_Get.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_Get.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/PrincipalAssignments/{principalAssignmentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoDatabasePrincipalAssignment_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Gets a Kusto cluster database principalAssignment.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoDatabasePrincipalAssignment_Get : global::System.Management.Automation.PSCmdlet, @@ -175,24 +175,24 @@ public partial class GetAzKustoDatabasePrincipalAssignment_Get : global::System. /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -364,12 +364,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -386,7 +386,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, PrincipalAssignmentName=PrincipalAssignmentName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -404,12 +404,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -421,7 +421,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_GetViaIdentity.cs b/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_GetViaIdentity.cs index 57cf080c8bd4..91bff401d1b8 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_GetViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_GetViaIdentity.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/PrincipalAssignments/{principalAssignmentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoDatabasePrincipalAssignment_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Gets a Kusto cluster database principalAssignment.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoDatabasePrincipalAssignment_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -106,24 +106,24 @@ public partial class GetAzKustoDatabasePrincipalAssignment_GetViaIdentity : glob /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -320,12 +320,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -342,7 +342,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -360,12 +360,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -377,7 +377,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_List.cs index c4f5fe6cb451..1e80ac01ae48 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipalAssignment_List.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/principalAssignments" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoDatabasePrincipalAssignment_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Lists all Kusto cluster database principalAssignments.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoDatabasePrincipalAssignment_List : global::System.Management.Automation.PSCmdlet, @@ -161,24 +161,24 @@ public partial class GetAzKustoDatabasePrincipalAssignment_List : global::System /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -350,12 +350,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -372,7 +372,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -390,12 +390,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipal_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipal_List.cs index e89eb5ded6e3..fb57d8470174 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipal_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoDatabasePrincipal_List.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] ListPrincipals=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/listPrincipals" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoDatabasePrincipal_List", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns a list of database principals of the given Kusto cluster and database.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoDatabasePrincipal_List : global::System.Management.Automation.PSCmdlet, @@ -161,24 +161,24 @@ public partial class GetAzKustoDatabasePrincipal_List : global::System.Managemen /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -353,12 +353,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -375,7 +375,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -393,12 +393,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoDatabase_Get.cs b/src/Kusto/generated/cmdlets/GetAzKustoDatabase_Get.cs index b21b79e11350..866b19892b52 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoDatabase_Get.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoDatabase_Get.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoDatabase_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns a database.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoDatabase_Get : global::System.Management.Automation.PSCmdlet, @@ -162,24 +162,24 @@ public partial class GetAzKustoDatabase_Get : global::System.Management.Automati /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -351,12 +351,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -373,7 +373,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, Name=Name, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -391,12 +391,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -408,7 +408,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoDatabase_GetViaIdentity.cs b/src/Kusto/generated/cmdlets/GetAzKustoDatabase_GetViaIdentity.cs index 8844e82a227c..3f52b673e264 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoDatabase_GetViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoDatabase_GetViaIdentity.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoDatabase_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns a database.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoDatabase_GetViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -106,24 +106,24 @@ public partial class GetAzKustoDatabase_GetViaIdentity : global::System.Manageme /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -316,12 +316,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -338,7 +338,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -356,12 +356,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -373,7 +373,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/GetAzKustoDatabase_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoDatabase_List.cs index 23bfac47ed7b..c4ddc9168cd2 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoDatabase_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoDatabase_List.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] ListByCluster=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/databases" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoDatabase_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns the list of databases of the given Kusto cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoDatabase_List : global::System.Management.Automation.PSCmdlet, @@ -147,24 +147,24 @@ public partial class GetAzKustoDatabase_List : global::System.Management.Automat /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -336,12 +336,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -358,7 +358,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -376,12 +376,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoOperation_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoOperation_List.cs index a2f0ff1613bc..44b209cca5b0 100644 --- a/src/Kusto/generated/cmdlets/GetAzKustoOperation_List.cs +++ b/src/Kusto/generated/cmdlets/GetAzKustoOperation_List.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoOperation_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Lists available operations for the Microsoft.Kusto provider.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class GetAzKustoOperation_List : global::System.Management.Automation.PSCmdlet, @@ -99,24 +99,24 @@ public partial class GetAzKustoOperation_List : global::System.Management.Automa /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -285,12 +285,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -307,7 +307,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -325,12 +325,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/GetAzKustoOperationsResult_Get.cs b/src/Kusto/generated/cmdlets/GetAzKustoOperationsResult_Get.cs new file mode 100644 index 000000000000..7d4d037be2d1 --- /dev/null +++ b/src/Kusto/generated/cmdlets/GetAzKustoOperationsResult_Get.cs @@ -0,0 +1,401 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Returns operation results. + /// + /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/operationresults/{operationId}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoOperationsResult_Get")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns operation results.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class GetAzKustoOperationsResult_Get : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _location; + + /// Azure location (region) name. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Azure location (region) name.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Azure location (region) name.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _operationId; + + /// The Guid of the operation ID + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Guid of the operation ID")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The Guid of the operation ID", + SerializedName = @"operationId", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string OperationId { get => this._operationId; set => this._operationId = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of + /// the URI for every service call. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzKustoOperationsResult_Get() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data, new[] { data.Message }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.OperationsResultsGet(SubscriptionId, Location, OperationId, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,Location=Location,OperationId=OperationId}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, Location=Location, OperationId=OperationId }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, Location=Location, OperationId=OperationId }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/GetAzKustoOperationsResult_GetViaIdentity.cs b/src/Kusto/generated/cmdlets/GetAzKustoOperationsResult_GetViaIdentity.cs new file mode 100644 index 000000000000..941971762fb7 --- /dev/null +++ b/src/Kusto/generated/cmdlets/GetAzKustoOperationsResult_GetViaIdentity.cs @@ -0,0 +1,377 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Returns operation results. + /// + /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/operationresults/{operationId}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoOperationsResult_GetViaIdentity")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns operation results.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class GetAzKustoOperationsResult_GetViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzKustoOperationsResult_GetViaIdentity() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data, new[] { data.Message }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.OperationsResultsGetViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.Location) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.Location"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.OperationId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.OperationId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.OperationsResultsGet(InputObject.SubscriptionId ?? null, InputObject.Location ?? null, InputObject.OperationId ?? null, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/GetAzKustoScript_Get.cs b/src/Kusto/generated/cmdlets/GetAzKustoScript_Get.cs new file mode 100644 index 000000000000..1ad32256e75e --- /dev/null +++ b/src/Kusto/generated/cmdlets/GetAzKustoScript_Get.cs @@ -0,0 +1,430 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Gets a Kusto cluster database script. + /// + /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoScript_Get")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Gets a Kusto cluster database script.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class GetAzKustoScript_Get : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// Backing field for property. + private string _clusterName; + + /// The name of the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ClusterName { get => this._clusterName; set => this._clusterName = value; } + + /// Backing field for property. + private string _databaseName; + + /// The name of the database in the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the database in the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the database in the Kusto cluster.", + SerializedName = @"databaseName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the Kusto database script. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto database script.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto database script.", + SerializedName = @"scriptName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ScriptName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group containing the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group containing the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group containing the Kusto cluster.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of + /// the URI for every service call. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzKustoScript_Get() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data, new[] { data.Message }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ScriptsGet(SubscriptionId, ResourceGroupName, ClusterName, DatabaseName, Name, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterName=ClusterName,DatabaseName=DatabaseName,Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/GetAzKustoScript_GetViaIdentity.cs b/src/Kusto/generated/cmdlets/GetAzKustoScript_GetViaIdentity.cs new file mode 100644 index 000000000000..b80e5998dc8c --- /dev/null +++ b/src/Kusto/generated/cmdlets/GetAzKustoScript_GetViaIdentity.cs @@ -0,0 +1,385 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Gets a Kusto cluster database script. + /// + /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoScript_GetViaIdentity")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Gets a Kusto cluster database script.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class GetAzKustoScript_GetViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzKustoScript_GetViaIdentity() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data, new[] { data.Message }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.ScriptsGetViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.DatabaseName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.DatabaseName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ScriptName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ScriptName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.ScriptsGet(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ClusterName ?? null, InputObject.DatabaseName ?? null, InputObject.ScriptName ?? null, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/GetAzKustoScript_List.cs b/src/Kusto/generated/cmdlets/GetAzKustoScript_List.cs new file mode 100644 index 000000000000..25301994671a --- /dev/null +++ b/src/Kusto/generated/cmdlets/GetAzKustoScript_List.cs @@ -0,0 +1,416 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Returns the list of database scripts for given database. + /// + /// [OpenAPI] ListByDatabase=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzKustoScript_List")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Returns the list of database scripts for given database.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class GetAzKustoScript_List : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// Backing field for property. + private string _clusterName; + + /// The name of the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ClusterName { get => this._clusterName; set => this._clusterName = value; } + + /// Backing field for property. + private string _databaseName; + + /// The name of the database in the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the database in the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the database in the Kusto cluster.", + SerializedName = @"databaseName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group containing the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group containing the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group containing the Kusto cluster.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of + /// the URI for every service call. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzKustoScript_List() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data, new[] { data.Message }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ScriptsListByDatabase(SubscriptionId, ResourceGroupName, ClusterName, DatabaseName, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterName=ClusterName,DatabaseName=DatabaseName}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // response should be returning an array of some kind. +Pageable + // pageable / value / + WriteObject((await response).Value, true); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_Data.cs b/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_Data.cs index 546104adf2fb..19379acaeebb 100644 --- a/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_Data.cs +++ b/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_Data.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Invoke, @"AzKustoDataConnectionValidation_Data", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the data connection parameters are valid.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class InvokeAzKustoDataConnectionValidation_Data : global::System.Management.Automation.PSCmdlet, @@ -115,7 +115,7 @@ public partial class InvokeAzKustoDataConnectionValidation_Data : global::System public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation _parameter; /// Class representing an data connection validation. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing an data connection validation.", ValueFromPipeline = true)] @@ -124,8 +124,8 @@ public partial class InvokeAzKustoDataConnectionValidation_Data : global::System ReadOnly = false, Description = @"Class representing an data connection validation.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -188,24 +188,24 @@ public partial class InvokeAzKustoDataConnectionValidation_Data : global::System /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -432,12 +432,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -454,7 +454,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, SubscriptionId=SubscriptionId, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -472,12 +472,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataExpanded.cs b/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataExpanded.cs index f042c7c324c0..c6fd56a0a39b 100644 --- a/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataExpanded.cs +++ b/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Invoke, @"AzKustoDataConnectionValidation_DataExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the data connection parameters are valid.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class InvokeAzKustoDataConnectionValidation_DataExpanded : global::System.Management.Automation.PSCmdlet, @@ -117,9 +117,9 @@ public partial class InvokeAzKustoDataConnectionValidation_DataExpanded : global ReadOnly = false, Description = @"Kind of the endpoint for the data connection", SerializedName = @"kind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ParametersBody.Kind; set => ParametersBody.Kind = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) })] + [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind))] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get => ParametersBody.Kind ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind)""); set => ParametersBody.Kind = value; } /// Resource location. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource location.")] @@ -149,10 +149,10 @@ public partial class InvokeAzKustoDataConnectionValidation_DataExpanded : global public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidation(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidation(); /// Class representing an data connection validation. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -215,24 +215,24 @@ public partial class InvokeAzKustoDataConnectionValidation_DataExpanded : global /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -459,12 +459,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -481,7 +481,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, SubscriptionId=SubscriptionId, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -499,12 +499,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataViaIdentity.cs b/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataViaIdentity.cs index 7e8cd74224a4..b7692e3a1dee 100644 --- a/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataViaIdentity.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Invoke, @"AzKustoDataConnectionValidation_DataViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the data connection parameters are valid.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class InvokeAzKustoDataConnectionValidation_DataViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -95,7 +95,7 @@ public partial class InvokeAzKustoDataConnectionValidation_DataViaIdentity : glo public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation _parameter; /// Class representing an data connection validation. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing an data connection validation.", ValueFromPipeline = true)] @@ -104,8 +104,8 @@ public partial class InvokeAzKustoDataConnectionValidation_DataViaIdentity : glo ReadOnly = false, Description = @"Class representing an data connection validation.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -133,24 +133,24 @@ public partial class InvokeAzKustoDataConnectionValidation_DataViaIdentity : glo /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -397,12 +397,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -419,7 +419,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -437,12 +437,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataViaIdentityExpanded.cs index 2804022c4870..c12c116d340a 100644 --- a/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/InvokeAzKustoDataConnectionValidation_DataViaIdentityExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Invoke, @"AzKustoDataConnectionValidation_DataViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the data connection parameters are valid.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class InvokeAzKustoDataConnectionValidation_DataViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -97,9 +97,9 @@ public partial class InvokeAzKustoDataConnectionValidation_DataViaIdentityExpand ReadOnly = false, Description = @"Kind of the endpoint for the data connection", SerializedName = @"kind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ParametersBody.Kind; set => ParametersBody.Kind = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) })] + [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind))] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get => ParametersBody.Kind ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind)""); set => ParametersBody.Kind = value; } /// Resource location. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource location.")] @@ -129,10 +129,10 @@ public partial class InvokeAzKustoDataConnectionValidation_DataViaIdentityExpand public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidation(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidation(); /// Class representing an data connection validation. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -160,24 +160,24 @@ public partial class InvokeAzKustoDataConnectionValidation_DataViaIdentityExpand /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -426,12 +426,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -448,7 +448,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -466,12 +466,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/InvokeAzKustoDetachClusterFollowerDatabase_DetachExpanded.cs b/src/Kusto/generated/cmdlets/InvokeAzKustoDetachClusterFollowerDatabase_DetachExpanded.cs index c51a04929cdd..53ae0f4ef3a8 100644 --- a/src/Kusto/generated/cmdlets/InvokeAzKustoDetachClusterFollowerDatabase_DetachExpanded.cs +++ b/src/Kusto/generated/cmdlets/InvokeAzKustoDetachClusterFollowerDatabase_DetachExpanded.cs @@ -91,10 +91,10 @@ public partial class InvokeAzKustoDetachClusterFollowerDatabase_DetachExpanded : public global::System.Management.Automation.PSObject DefaultProfile { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition _followerDatabaseToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.FollowerDatabaseDefinition(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition _followerDatabaseToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.FollowerDatabaseDefinition(); /// A class representing follower database request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition FollowerDatabaseToRemoveBody { get => this._followerDatabaseToRemoveBody; set => this._followerDatabaseToRemoveBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition FollowerDatabaseToRemoveBody { get => this._followerDatabaseToRemoveBody; set => this._followerDatabaseToRemoveBody = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -195,12 +195,12 @@ public partial class InvokeAzKustoDetachClusterFollowerDatabase_DetachExpanded : /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -438,12 +438,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -460,7 +460,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, SubscriptionId=SubscriptionId, body=FollowerDatabaseToRemoveBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/InvokeAzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/InvokeAzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded.cs index 28ac5376c2aa..40f56d4aedc7 100644 --- a/src/Kusto/generated/cmdlets/InvokeAzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/InvokeAzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded.cs @@ -77,10 +77,10 @@ public partial class InvokeAzKustoDetachClusterFollowerDatabase_DetachViaIdentit public global::System.Management.Automation.PSObject DefaultProfile { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition _followerDatabaseToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.FollowerDatabaseDefinition(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition _followerDatabaseToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.FollowerDatabaseDefinition(); /// A class representing follower database request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition FollowerDatabaseToRemoveBody { get => this._followerDatabaseToRemoveBody; set => this._followerDatabaseToRemoveBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition FollowerDatabaseToRemoveBody { get => this._followerDatabaseToRemoveBody; set => this._followerDatabaseToRemoveBody = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -154,12 +154,12 @@ public partial class InvokeAzKustoDetachClusterFollowerDatabase_DetachViaIdentit /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -415,12 +415,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -437,7 +437,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=FollowerDatabaseToRemoveBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/InvokeAzKustoDiagnoseClusterVirtualNetwork_Diagnose.cs b/src/Kusto/generated/cmdlets/InvokeAzKustoDiagnoseClusterVirtualNetwork_Diagnose.cs index 68e540e4c1aa..ae8ffde26b77 100644 --- a/src/Kusto/generated/cmdlets/InvokeAzKustoDiagnoseClusterVirtualNetwork_Diagnose.cs +++ b/src/Kusto/generated/cmdlets/InvokeAzKustoDiagnoseClusterVirtualNetwork_Diagnose.cs @@ -162,24 +162,24 @@ public partial class InvokeAzKustoDiagnoseClusterVirtualNetwork_Diagnose : globa /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -404,12 +404,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -426,7 +426,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -444,12 +444,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/InvokeAzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity.cs b/src/Kusto/generated/cmdlets/InvokeAzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity.cs index 9d9a4fc5ca1c..48340f64ffb4 100644 --- a/src/Kusto/generated/cmdlets/InvokeAzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/InvokeAzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity.cs @@ -121,24 +121,24 @@ public partial class InvokeAzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdent /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -383,12 +383,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -405,7 +405,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -423,12 +423,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/NewAzKustoAttachedDatabaseConfiguration_CreateExpanded.cs b/src/Kusto/generated/cmdlets/NewAzKustoAttachedDatabaseConfiguration_CreateExpanded.cs index b8d6ec9ce077..96a070f76be4 100644 --- a/src/Kusto/generated/cmdlets/NewAzKustoAttachedDatabaseConfiguration_CreateExpanded.cs +++ b/src/Kusto/generated/cmdlets/NewAzKustoAttachedDatabaseConfiguration_CreateExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/AttachedDatabaseConfigurations/{attachedDatabaseConfigurationName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzKustoAttachedDatabaseConfiguration_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Creates or updates an attached database configuration.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class NewAzKustoAttachedDatabaseConfiguration_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -95,7 +95,7 @@ public partial class NewAzKustoAttachedDatabaseConfiguration_CreateExpanded : gl SerializedName = @"defaultPrincipalsModificationKind", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get => ParametersBody.DefaultPrincipalsModificationKind; set => ParametersBody.DefaultPrincipalsModificationKind = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind DefaultPrincipalsModificationKind { get => ParametersBody.DefaultPrincipalsModificationKind ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DefaultPrincipalsModificationKind)""); set => ParametersBody.DefaultPrincipalsModificationKind = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -164,10 +164,10 @@ public partial class NewAzKustoAttachedDatabaseConfiguration_CreateExpanded : gl public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfiguration(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfiguration(); /// Class representing an attached database configuration. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -225,29 +225,101 @@ public partial class NewAzKustoAttachedDatabaseConfiguration_CreateExpanded : gl [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + /// List of external tables exclude from the follower database + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of external tables exclude from the follower database")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of external tables exclude from the follower database", + SerializedName = @"externalTablesToExclude", + PossibleTypes = new [] { typeof(string) })] + public string[] TableLevelSharingPropertyExternalTablesToExclude { get => ParametersBody.TableLevelSharingPropertyExternalTablesToExclude ?? null /* arrayOf */; set => ParametersBody.TableLevelSharingPropertyExternalTablesToExclude = value; } + + /// List of external tables to include in the follower database + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of external tables to include in the follower database")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of external tables to include in the follower database", + SerializedName = @"externalTablesToInclude", + PossibleTypes = new [] { typeof(string) })] + public string[] TableLevelSharingPropertyExternalTablesToInclude { get => ParametersBody.TableLevelSharingPropertyExternalTablesToInclude ?? null /* arrayOf */; set => ParametersBody.TableLevelSharingPropertyExternalTablesToInclude = value; } + + /// List of materialized views exclude from the follower database + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of materialized views exclude from the follower database")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of materialized views exclude from the follower database", + SerializedName = @"materializedViewsToExclude", + PossibleTypes = new [] { typeof(string) })] + public string[] TableLevelSharingPropertyMaterializedViewsToExclude { get => ParametersBody.TableLevelSharingPropertyMaterializedViewsToExclude ?? null /* arrayOf */; set => ParametersBody.TableLevelSharingPropertyMaterializedViewsToExclude = value; } + + /// List of materialized views to include in the follower database + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of materialized views to include in the follower database")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of materialized views to include in the follower database", + SerializedName = @"materializedViewsToInclude", + PossibleTypes = new [] { typeof(string) })] + public string[] TableLevelSharingPropertyMaterializedViewsToInclude { get => ParametersBody.TableLevelSharingPropertyMaterializedViewsToInclude ?? null /* arrayOf */; set => ParametersBody.TableLevelSharingPropertyMaterializedViewsToInclude = value; } + + /// List of tables to exclude from the follower database + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of tables to exclude from the follower database")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of tables to exclude from the follower database", + SerializedName = @"tablesToExclude", + PossibleTypes = new [] { typeof(string) })] + public string[] TableLevelSharingPropertyTablesToExclude { get => ParametersBody.TableLevelSharingPropertyTablesToExclude ?? null /* arrayOf */; set => ParametersBody.TableLevelSharingPropertyTablesToExclude = value; } + + /// List of tables to include in the follower database + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of tables to include in the follower database")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of tables to include in the follower database", + SerializedName = @"tablesToInclude", + PossibleTypes = new [] { typeof(string) })] + public string[] TableLevelSharingPropertyTablesToInclude { get => ParametersBody.TableLevelSharingPropertyTablesToInclude ?? null /* arrayOf */; set => ParametersBody.TableLevelSharingPropertyTablesToInclude = value; } + /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -474,12 +546,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -496,7 +568,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, Name=Name, SubscriptionId=SubscriptionId, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -514,12 +586,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -531,7 +603,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/NewAzKustoClusterPrincipalAssignment_CreateExpanded.cs b/src/Kusto/generated/cmdlets/NewAzKustoClusterPrincipalAssignment_CreateExpanded.cs index 4be2137af8f5..16eedec20c17 100644 --- a/src/Kusto/generated/cmdlets/NewAzKustoClusterPrincipalAssignment_CreateExpanded.cs +++ b/src/Kusto/generated/cmdlets/NewAzKustoClusterPrincipalAssignment_CreateExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/PrincipalAssignments/{principalAssignmentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzKustoClusterPrincipalAssignment_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Create a Kusto cluster principalAssignment.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class NewAzKustoClusterPrincipalAssignment_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -100,10 +100,10 @@ public partial class NewAzKustoClusterPrincipalAssignment_CreateExpanded : globa public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignment(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignment(); /// Class representing a cluster principal assignment. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -147,7 +147,7 @@ public partial class NewAzKustoClusterPrincipalAssignment_CreateExpanded : globa SerializedName = @"principalType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType PrincipalType { get => ParametersBody.PrincipalType; set => ParametersBody.PrincipalType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType PrincipalType { get => ParametersBody.PrincipalType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType)""); set => ParametersBody.PrincipalType = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -189,7 +189,7 @@ public partial class NewAzKustoClusterPrincipalAssignment_CreateExpanded : globa SerializedName = @"role", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole Role { get => ParametersBody.Role; set => ParametersBody.Role = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole Role { get => ParametersBody.Role ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.ClusterPrincipalRole)""); set => ParametersBody.Role = value; } /// Backing field for property. private string _subscriptionId; @@ -228,24 +228,24 @@ public partial class NewAzKustoClusterPrincipalAssignment_CreateExpanded : globa /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -472,12 +472,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -494,7 +494,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, PrincipalAssignmentName=PrincipalAssignmentName, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -512,12 +512,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -529,7 +529,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/NewAzKustoCluster_CreateExpanded.cs b/src/Kusto/generated/cmdlets/NewAzKustoCluster_CreateExpanded.cs index 7b729c0a37cc..ee6099a96e21 100644 --- a/src/Kusto/generated/cmdlets/NewAzKustoCluster_CreateExpanded.cs +++ b/src/Kusto/generated/cmdlets/NewAzKustoCluster_CreateExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzKustoCluster_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Create or update a Kusto cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class NewAzKustoCluster_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -135,7 +135,7 @@ public partial class NewAzKustoCluster_CreateExpanded : global::System.Managemen SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get => ParametersBody.IdentityType; set => ParametersBody.IdentityType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get => ParametersBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType)""); set => ParametersBody.IdentityType = value; } /// /// The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM @@ -149,8 +149,42 @@ public partial class NewAzKustoCluster_CreateExpanded : global::System.Managemen ReadOnly = false, Description = @"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}'.", SerializedName = @"userAssignedIdentities", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => ParametersBody.IdentityUserAssignedIdentity ?? null /* object */; set => ParametersBody.IdentityUserAssignedIdentity = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => ParametersBody.IdentityUserAssignedIdentity ?? null /* object */; set => ParametersBody.IdentityUserAssignedIdentity = value; } + + /// Backing field for property. + private string _ifMatch; + + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"If-Match", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Header)] + public string IfMatch { get => this._ifMatch; set => this._ifMatch = value; } + + /// Backing field for property. + private string _ifNoneMatch; + + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"If-None-Match", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Header)] + public string IfNoneMatch { get => this._ifNoneMatch; set => this._ifNoneMatch = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -199,18 +233,6 @@ public partial class NewAzKustoCluster_CreateExpanded : global::System.Managemen PossibleTypes = new [] { typeof(string) })] public string KeyVaultPropertyUserIdentity { get => ParametersBody.KeyVaultPropertyUserIdentity ?? null; set => ParametersBody.KeyVaultPropertyUserIdentity = value; } - /// The list of language extensions. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The list of language extensions.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The list of language extensions.", - SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get => ParametersBody.LanguageExtensionValue ?? null /* arrayOf */; set => ParametersBody.LanguageExtensionValue = value; } - /// The geo-location where the resource lives [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The geo-location where the resource lives")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] @@ -264,7 +286,7 @@ public partial class NewAzKustoCluster_CreateExpanded : global::System.Managemen Description = @"A boolean value that indicate if the optimized autoscale feature is enabled or not.", SerializedName = @"isEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter OptimizedAutoscaleIsEnabled { get => ParametersBody.OptimizedAutoscaleIsEnabled; set => ParametersBody.OptimizedAutoscaleIsEnabled = value; } + public global::System.Management.Automation.SwitchParameter OptimizedAutoscaleIsEnabled { get => ParametersBody.OptimizedAutoscaleIsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => ParametersBody.OptimizedAutoscaleIsEnabled = value; } /// Maximum allowed instances count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed instances count.")] @@ -275,7 +297,7 @@ public partial class NewAzKustoCluster_CreateExpanded : global::System.Managemen Description = @"Maximum allowed instances count.", SerializedName = @"maximum", PossibleTypes = new [] { typeof(int) })] - public int OptimizedAutoscaleMaximum { get => ParametersBody.OptimizedAutoscaleMaximum; set => ParametersBody.OptimizedAutoscaleMaximum = value; } + public int OptimizedAutoscaleMaximum { get => ParametersBody.OptimizedAutoscaleMaximum ?? default(int); set => ParametersBody.OptimizedAutoscaleMaximum = value; } /// Minimum allowed instances count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum allowed instances count.")] @@ -286,7 +308,7 @@ public partial class NewAzKustoCluster_CreateExpanded : global::System.Managemen Description = @"Minimum allowed instances count.", SerializedName = @"minimum", PossibleTypes = new [] { typeof(int) })] - public int OptimizedAutoscaleMinimum { get => ParametersBody.OptimizedAutoscaleMinimum; set => ParametersBody.OptimizedAutoscaleMinimum = value; } + public int OptimizedAutoscaleMinimum { get => ParametersBody.OptimizedAutoscaleMinimum ?? default(int); set => ParametersBody.OptimizedAutoscaleMinimum = value; } /// The version of the template defined, for instance 1. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The version of the template defined, for instance 1.")] @@ -297,13 +319,13 @@ public partial class NewAzKustoCluster_CreateExpanded : global::System.Managemen Description = @"The version of the template defined, for instance 1.", SerializedName = @"version", PossibleTypes = new [] { typeof(int) })] - public int OptimizedAutoscaleVersion { get => ParametersBody.OptimizedAutoscaleVersion; set => ParametersBody.OptimizedAutoscaleVersion = value; } + public int OptimizedAutoscaleVersion { get => ParametersBody.OptimizedAutoscaleVersion ?? default(int); set => ParametersBody.OptimizedAutoscaleVersion = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Cluster(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Cluster(); /// Class representing a Kusto cluster. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -417,8 +439,8 @@ public partial class NewAzKustoCluster_CreateExpanded : global::System.Managemen ReadOnly = false, Description = @"The cluster's external tenants.", SerializedName = @"trustedExternalTenants", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get => ParametersBody.TrustedExternalTenant ?? null /* arrayOf */; set => ParametersBody.TrustedExternalTenant = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get => ParametersBody.TrustedExternalTenant ?? null /* arrayOf */; set => ParametersBody.TrustedExternalTenant = value; } /// Data management's service public IP address resource id. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Data management's service public IP address resource id.")] @@ -470,24 +492,24 @@ public partial class NewAzKustoCluster_CreateExpanded : global::System.Managemen /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -522,6 +544,8 @@ public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.NewAzKustoCluster_Create clone.ParametersBody = this.ParametersBody; clone.ResourceGroupName = this.ResourceGroupName; clone.Name = this.Name; + clone.IfMatch = this.IfMatch; + clone.IfNoneMatch = this.IfNoneMatch; clone.SubscriptionId = this.SubscriptionId; return clone; } @@ -685,12 +709,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.ClustersCreateOrUpdate(ResourceGroupName, Name, SubscriptionId, ParametersBody, onOk, onDefault, this, Pipeline); + await this.Client.ClustersCreateOrUpdate(ResourceGroupName, Name, this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null, this.InvocationInformation.BoundParameters.ContainsKey("IfNoneMatch") ? IfNoneMatch : null, SubscriptionId, ParametersBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=ParametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,IfMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null,IfNoneMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfNoneMatch") ? IfNoneMatch : null,SubscriptionId=SubscriptionId,body=ParametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -713,12 +737,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -735,15 +759,15 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=ParametersBody }) + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, IfMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null, IfNoneMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfNoneMatch") ? IfNoneMatch : null, SubscriptionId=SubscriptionId, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, IfMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null, IfNoneMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfNoneMatch") ? IfNoneMatch : null, SubscriptionId=SubscriptionId, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -753,12 +777,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -770,7 +794,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/NewAzKustoDataConnection_Create.cs b/src/Kusto/generated/cmdlets/NewAzKustoDataConnection_Create.cs index a2daaa3049d1..5e332441e848 100644 --- a/src/Kusto/generated/cmdlets/NewAzKustoDataConnection_Create.cs +++ b/src/Kusto/generated/cmdlets/NewAzKustoDataConnection_Create.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzKustoDataConnection_Create", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Creates or updates a data connection.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class NewAzKustoDataConnection_Create : global::System.Management.Automation.PSCmdlet, @@ -130,7 +130,7 @@ public partial class NewAzKustoDataConnection_Create : global::System.Management public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection _parameter; /// Class representing an data connection. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing an data connection.", ValueFromPipeline = true)] @@ -139,8 +139,8 @@ public partial class NewAzKustoDataConnection_Create : global::System.Management ReadOnly = false, Description = @"Class representing an data connection.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -203,24 +203,24 @@ public partial class NewAzKustoDataConnection_Create : global::System.Management /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -448,12 +448,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -470,7 +470,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, SubscriptionId=SubscriptionId, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -488,12 +488,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -505,7 +505,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/NewAzKustoDataConnection_CreateExpanded.cs b/src/Kusto/generated/cmdlets/NewAzKustoDataConnection_CreateExpanded.cs index 104774dde7b7..e0664dac2ac5 100644 --- a/src/Kusto/generated/cmdlets/NewAzKustoDataConnection_CreateExpanded.cs +++ b/src/Kusto/generated/cmdlets/NewAzKustoDataConnection_CreateExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzKustoDataConnection_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Creates or updates a data connection.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class NewAzKustoDataConnection_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -106,9 +106,9 @@ public partial class NewAzKustoDataConnection_CreateExpanded : global::System.Ma ReadOnly = false, Description = @"Kind of the endpoint for the data connection", SerializedName = @"kind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ParametersBody.Kind; set => ParametersBody.Kind = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) })] + [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind))] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get => ParametersBody.Kind; set => ParametersBody.Kind = value; } /// Resource location. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource location.")] @@ -153,10 +153,10 @@ public partial class NewAzKustoDataConnection_CreateExpanded : global::System.Ma public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection(); /// Class representing an data connection. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -219,24 +219,24 @@ public partial class NewAzKustoDataConnection_CreateExpanded : global::System.Ma /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -464,12 +464,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -486,7 +486,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, SubscriptionId=SubscriptionId, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -504,12 +504,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -521,7 +521,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/NewAzKustoDatabasePrincipalAssignment_CreateExpanded.cs b/src/Kusto/generated/cmdlets/NewAzKustoDatabasePrincipalAssignment_CreateExpanded.cs index 85d6881020a0..63085b9b30d5 100644 --- a/src/Kusto/generated/cmdlets/NewAzKustoDatabasePrincipalAssignment_CreateExpanded.cs +++ b/src/Kusto/generated/cmdlets/NewAzKustoDatabasePrincipalAssignment_CreateExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/PrincipalAssignments/{principalAssignmentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzKustoDatabasePrincipalAssignment_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Creates a Kusto cluster database principalAssignment.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class NewAzKustoDatabasePrincipalAssignment_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -114,10 +114,10 @@ public partial class NewAzKustoDatabasePrincipalAssignment_CreateExpanded : glob public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignment(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignment(); /// Class representing a database principal assignment. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -161,7 +161,7 @@ public partial class NewAzKustoDatabasePrincipalAssignment_CreateExpanded : glob SerializedName = @"principalType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType PrincipalType { get => ParametersBody.PrincipalType; set => ParametersBody.PrincipalType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType PrincipalType { get => ParametersBody.PrincipalType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.PrincipalType)""); set => ParametersBody.PrincipalType = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -203,7 +203,7 @@ public partial class NewAzKustoDatabasePrincipalAssignment_CreateExpanded : glob SerializedName = @"role", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole Role { get => ParametersBody.Role; set => ParametersBody.Role = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole Role { get => ParametersBody.Role ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DatabasePrincipalRole)""); set => ParametersBody.Role = value; } /// Backing field for property. private string _subscriptionId; @@ -242,24 +242,24 @@ public partial class NewAzKustoDatabasePrincipalAssignment_CreateExpanded : glob /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -487,12 +487,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -509,7 +509,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, PrincipalAssignmentName=PrincipalAssignmentName, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -527,12 +527,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -544,7 +544,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/NewAzKustoDatabase_Create.cs b/src/Kusto/generated/cmdlets/NewAzKustoDatabase_Create.cs index bf4fec35fa90..1b4723a87835 100644 --- a/src/Kusto/generated/cmdlets/NewAzKustoDatabase_Create.cs +++ b/src/Kusto/generated/cmdlets/NewAzKustoDatabase_Create.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzKustoDatabase_Create", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Creates or updates a database.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class NewAzKustoDatabase_Create : global::System.Management.Automation.PSCmdlet, @@ -116,7 +116,7 @@ public partial class NewAzKustoDatabase_Create : global::System.Management.Autom public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase _parameter; /// Class representing a Kusto database. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing a Kusto database.", ValueFromPipeline = true)] @@ -125,8 +125,8 @@ public partial class NewAzKustoDatabase_Create : global::System.Management.Autom ReadOnly = false, Description = @"Class representing a Kusto database.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -189,24 +189,24 @@ public partial class NewAzKustoDatabase_Create : global::System.Management.Autom /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -433,12 +433,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -455,7 +455,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, Name=Name, SubscriptionId=SubscriptionId, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -473,12 +473,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -490,7 +490,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/NewAzKustoDatabase_CreateExpanded.cs b/src/Kusto/generated/cmdlets/NewAzKustoDatabase_CreateExpanded.cs index 078e96323976..0ae2483a1e71 100644 --- a/src/Kusto/generated/cmdlets/NewAzKustoDatabase_CreateExpanded.cs +++ b/src/Kusto/generated/cmdlets/NewAzKustoDatabase_CreateExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzKustoDatabase_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Creates or updates a database.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class NewAzKustoDatabase_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -139,10 +139,10 @@ public partial class NewAzKustoDatabase_CreateExpanded : global::System.Manageme public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database(); /// Class representing a Kusto database. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -205,24 +205,24 @@ public partial class NewAzKustoDatabase_CreateExpanded : global::System.Manageme /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -449,12 +449,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -471,7 +471,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, Name=Name, SubscriptionId=SubscriptionId, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -489,12 +489,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -506,7 +506,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/NewAzKustoScript_Create.cs b/src/Kusto/generated/cmdlets/NewAzKustoScript_Create.cs new file mode 100644 index 000000000000..c8f431ed59d7 --- /dev/null +++ b/src/Kusto/generated/cmdlets/NewAzKustoScript_Create.cs @@ -0,0 +1,512 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Creates a Kusto database script. + /// + /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzKustoScript_Create", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Creates a Kusto database script.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class NewAzKustoScript_Create : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// Backing field for property. + private string _clusterName; + + /// The name of the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ClusterName { get => this._clusterName; set => this._clusterName = value; } + + /// Backing field for property. + private string _databaseName; + + /// The name of the database in the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the database in the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the database in the Kusto cluster.", + SerializedName = @"databaseName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the Kusto database script. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto database script.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto database script.", + SerializedName = @"scriptName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ScriptName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript _parameter; + + /// Class representing a database script. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing a database script.", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Class representing a database script.", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript Parameter { get => this._parameter; set => this._parameter = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group containing the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group containing the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group containing the Kusto cluster.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of + /// the URI for every service call. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of NewAzKustoScript_Create + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.NewAzKustoScript_Create Clone() + { + var clone = new NewAzKustoScript_Create(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.ClusterName = this.ClusterName; + clone.DatabaseName = this.DatabaseName; + clone.Name = this.Name; + clone.Parameter = this.Parameter; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public NewAzKustoScript_Create() + { + + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ScriptsCreateOrUpdate' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ScriptsCreateOrUpdate(SubscriptionId, ResourceGroupName, ClusterName, DatabaseName, Name, Parameter, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterName=ClusterName,DatabaseName=DatabaseName,Name=Name,body=Parameter}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/NewAzKustoScript_CreateExpanded.cs b/src/Kusto/generated/cmdlets/NewAzKustoScript_CreateExpanded.cs new file mode 100644 index 000000000000..31039c681d70 --- /dev/null +++ b/src/Kusto/generated/cmdlets/NewAzKustoScript_CreateExpanded.cs @@ -0,0 +1,549 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Creates a Kusto database script. + /// + /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzKustoScript_CreateExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Creates a Kusto database script.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class NewAzKustoScript_CreateExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// Backing field for property. + private string _clusterName; + + /// The name of the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ClusterName { get => this._clusterName; set => this._clusterName = value; } + + /// Flag that indicates whether to continue if one of the command fails. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag that indicates whether to continue if one of the command fails.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag that indicates whether to continue if one of the command fails.", + SerializedName = @"continueOnErrors", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter ContinueOnError { get => ParametersBody.ContinueOnError ?? default(global::System.Management.Automation.SwitchParameter); set => ParametersBody.ContinueOnError = value; } + + /// Backing field for property. + private string _databaseName; + + /// The name of the database in the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the database in the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the database in the Kusto cluster.", + SerializedName = @"databaseName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// A unique string. If changed the script will be applied again. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A unique string. If changed the script will be applied again.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A unique string. If changed the script will be applied again.", + SerializedName = @"forceUpdateTag", + PossibleTypes = new [] { typeof(string) })] + public string ForceUpdateTag { get => ParametersBody.ForceUpdateTag ?? null; set => ParametersBody.ForceUpdateTag = value; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the Kusto database script. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto database script.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto database script.", + SerializedName = @"scriptName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ScriptName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Script(); + + /// Class representing a database script. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group containing the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group containing the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group containing the Kusto cluster.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// The url to the KQL script blob file. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The url to the KQL script blob file.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The url to the KQL script blob file.", + SerializedName = @"scriptUrl", + PossibleTypes = new [] { typeof(string) })] + public string ScriptUrl { get => ParametersBody.Url ?? null; set => ParametersBody.Url = value; } + + /// The SaS token. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The SaS token.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The SaS token.", + SerializedName = @"scriptUrlSasToken", + PossibleTypes = new [] { typeof(string) })] + public string ScriptUrlSasToken { get => ParametersBody.UrlSasToken ?? null; set => ParametersBody.UrlSasToken = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of + /// the URI for every service call. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of NewAzKustoScript_CreateExpanded + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.NewAzKustoScript_CreateExpanded Clone() + { + var clone = new NewAzKustoScript_CreateExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.ParametersBody = this.ParametersBody; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.ClusterName = this.ClusterName; + clone.DatabaseName = this.DatabaseName; + clone.Name = this.Name; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public NewAzKustoScript_CreateExpanded() + { + + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ScriptsCreateOrUpdate' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ScriptsCreateOrUpdate(SubscriptionId, ResourceGroupName, ClusterName, DatabaseName, Name, ParametersBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterName=ClusterName,DatabaseName=DatabaseName,Name=Name,body=ParametersBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, body=ParametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, body=ParametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoAttachedDatabaseConfiguration_Delete.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoAttachedDatabaseConfiguration_Delete.cs index e13066c0b7c0..4ec295a483e7 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoAttachedDatabaseConfiguration_Delete.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoAttachedDatabaseConfiguration_Delete.cs @@ -182,12 +182,12 @@ public partial class RemoveAzKustoAttachedDatabaseConfiguration_Delete : global: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -433,12 +433,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -455,7 +455,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, Name=Name, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoAttachedDatabaseConfiguration_DeleteViaIdentity.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoAttachedDatabaseConfiguration_DeleteViaIdentity.cs index 68344782fad1..26be7d04d7ea 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoAttachedDatabaseConfiguration_DeleteViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoAttachedDatabaseConfiguration_DeleteViaIdentity.cs @@ -126,12 +126,12 @@ public partial class RemoveAzKustoAttachedDatabaseConfiguration_DeleteViaIdentit /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -399,12 +399,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -421,7 +421,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoClusterLanguageExtension_RemoveExpanded.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoClusterLanguageExtension_RemoveExpanded.cs index 63b4300ba30d..673889cae872 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoClusterLanguageExtension_RemoveExpanded.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoClusterLanguageExtension_RemoveExpanded.cs @@ -84,10 +84,10 @@ public partial class RemoveAzKustoClusterLanguageExtension_RemoveExpanded : glob public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList _languageExtensionsToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsList(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList _languageExtensionsToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsList(); /// The list of language extension objects. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList LanguageExtensionsToRemoveBody { get => this._languageExtensionsToRemoveBody; set => this._languageExtensionsToRemoveBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList LanguageExtensionsToRemoveBody { get => this._languageExtensionsToRemoveBody; set => this._languageExtensionsToRemoveBody = value; } /// /// cancellation delegate. Stops the cmdlet when called. @@ -177,20 +177,20 @@ public partial class RemoveAzKustoClusterLanguageExtension_RemoveExpanded : glob ReadOnly = false, Description = @"The list of language extensions.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] Value { get => LanguageExtensionsToRemoveBody.Value ?? null /* arrayOf */; set => LanguageExtensionsToRemoveBody.Value = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] Value { get => LanguageExtensionsToRemoveBody.Value ?? null /* arrayOf */; set => LanguageExtensionsToRemoveBody.Value = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -426,12 +426,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -448,7 +448,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, body=LanguageExtensionsToRemoveBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoClusterLanguageExtension_RemoveViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoClusterLanguageExtension_RemoveViaIdentityExpanded.cs index 6f874f9b76cb..1e48a2402eb5 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoClusterLanguageExtension_RemoveViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoClusterLanguageExtension_RemoveViaIdentityExpanded.cs @@ -78,10 +78,10 @@ public partial class RemoveAzKustoClusterLanguageExtension_RemoveViaIdentityExpa public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList _languageExtensionsToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtensionsList(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList _languageExtensionsToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtensionsList(); /// The list of language extension objects. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtensionsList LanguageExtensionsToRemoveBody { get => this._languageExtensionsToRemoveBody; set => this._languageExtensionsToRemoveBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtensionsList LanguageExtensionsToRemoveBody { get => this._languageExtensionsToRemoveBody; set => this._languageExtensionsToRemoveBody = value; } /// /// cancellation delegate. Stops the cmdlet when called. @@ -136,20 +136,20 @@ public partial class RemoveAzKustoClusterLanguageExtension_RemoveViaIdentityExpa ReadOnly = false, Description = @"The list of language extensions.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] Value { get => LanguageExtensionsToRemoveBody.Value ?? null /* arrayOf */; set => LanguageExtensionsToRemoveBody.Value = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] Value { get => LanguageExtensionsToRemoveBody.Value ?? null /* arrayOf */; set => LanguageExtensionsToRemoveBody.Value = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -405,12 +405,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -427,7 +427,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=LanguageExtensionsToRemoveBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoClusterPrincipalAssignment_Delete.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoClusterPrincipalAssignment_Delete.cs index 87c183edc84b..f3f4d7d0635f 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoClusterPrincipalAssignment_Delete.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoClusterPrincipalAssignment_Delete.cs @@ -181,12 +181,12 @@ public partial class RemoveAzKustoClusterPrincipalAssignment_Delete : global::Sy /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -432,12 +432,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -454,7 +454,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, PrincipalAssignmentName=PrincipalAssignmentName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoClusterPrincipalAssignment_DeleteViaIdentity.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoClusterPrincipalAssignment_DeleteViaIdentity.cs index 7d6bbdab8dce..552fcc50a95a 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoClusterPrincipalAssignment_DeleteViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoClusterPrincipalAssignment_DeleteViaIdentity.cs @@ -126,12 +126,12 @@ public partial class RemoveAzKustoClusterPrincipalAssignment_DeleteViaIdentity : /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -399,12 +399,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -421,7 +421,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoCluster_Delete.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoCluster_Delete.cs index 96c87f5096c0..d5d6b4c6c31b 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoCluster_Delete.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoCluster_Delete.cs @@ -168,12 +168,12 @@ public partial class RemoveAzKustoCluster_Delete : global::System.Management.Aut /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -418,12 +418,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -440,7 +440,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoCluster_DeleteViaIdentity.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoCluster_DeleteViaIdentity.cs index f315f2de5ec6..f9a86cf97bce 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoCluster_DeleteViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoCluster_DeleteViaIdentity.cs @@ -126,12 +126,12 @@ public partial class RemoveAzKustoCluster_DeleteViaIdentity : global::System.Man /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -393,12 +393,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -415,7 +415,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoDataConnection_Delete.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoDataConnection_Delete.cs index 43a93710d002..0a5ea1f92cba 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoDataConnection_Delete.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoDataConnection_Delete.cs @@ -196,12 +196,12 @@ public partial class RemoveAzKustoDataConnection_Delete : global::System.Managem /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -448,12 +448,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -470,7 +470,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoDataConnection_DeleteViaIdentity.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoDataConnection_DeleteViaIdentity.cs index 58e00532ed52..55f24410959a 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoDataConnection_DeleteViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoDataConnection_DeleteViaIdentity.cs @@ -126,12 +126,12 @@ public partial class RemoveAzKustoDataConnection_DeleteViaIdentity : global::Sys /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -401,12 +401,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -423,7 +423,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipalAssignment_Delete.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipalAssignment_Delete.cs index d3a4f57b349a..7ad414dfbf7a 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipalAssignment_Delete.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipalAssignment_Delete.cs @@ -195,12 +195,12 @@ public partial class RemoveAzKustoDatabasePrincipalAssignment_Delete : global::S /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -447,12 +447,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -469,7 +469,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, PrincipalAssignmentName=PrincipalAssignmentName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipalAssignment_DeleteViaIdentity.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipalAssignment_DeleteViaIdentity.cs index 9bf43c112ae4..c27e09bc3617 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipalAssignment_DeleteViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipalAssignment_DeleteViaIdentity.cs @@ -126,12 +126,12 @@ public partial class RemoveAzKustoDatabasePrincipalAssignment_DeleteViaIdentity /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -403,12 +403,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -425,7 +425,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipal_RemoveExpanded.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipal_RemoveExpanded.cs index 22cdc8a3029a..a53d089c1b13 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipal_RemoveExpanded.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipal_RemoveExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] RemovePrincipals=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/removePrincipals" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzKustoDatabasePrincipal_RemoveExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Remove Database principals permissions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class RemoveAzKustoDatabasePrincipal_RemoveExpanded : global::System.Management.Automation.PSCmdlet, @@ -69,10 +69,10 @@ public partial class RemoveAzKustoDatabasePrincipal_RemoveExpanded : global::Sys public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest _databasePrincipalsToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalListRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest _databasePrincipalsToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalListRequest(); /// The list Kusto database principals operation request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest DatabasePrincipalsToRemoveBody { get => this._databasePrincipalsToRemoveBody; set => this._databasePrincipalsToRemoveBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest DatabasePrincipalsToRemoveBody { get => this._databasePrincipalsToRemoveBody; set => this._databasePrincipalsToRemoveBody = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -171,32 +171,32 @@ public partial class RemoveAzKustoDatabasePrincipal_RemoveExpanded : global::Sys ReadOnly = false, Description = @"The list of Kusto database principals.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] Value { get => DatabasePrincipalsToRemoveBody.Value ?? null /* arrayOf */; set => DatabasePrincipalsToRemoveBody.Value = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Value { get => DatabasePrincipalsToRemoveBody.Value ?? null /* arrayOf */; set => DatabasePrincipalsToRemoveBody.Value = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -368,12 +368,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -390,7 +390,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, SubscriptionId=SubscriptionId, body=DatabasePrincipalsToRemoveBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -408,12 +408,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipal_RemoveViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipal_RemoveViaIdentityExpanded.cs index e41825946eff..1d30ac375069 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipal_RemoveViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabasePrincipal_RemoveViaIdentityExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] RemovePrincipals=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/removePrincipals" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzKustoDatabasePrincipal_RemoveViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Remove Database principals permissions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class RemoveAzKustoDatabasePrincipal_RemoveViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -41,10 +41,10 @@ public partial class RemoveAzKustoDatabasePrincipal_RemoveViaIdentityExpanded : public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest _databasePrincipalsToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalListRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest _databasePrincipalsToRemoveBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalListRequest(); /// The list Kusto database principals operation request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalListRequest DatabasePrincipalsToRemoveBody { get => this._databasePrincipalsToRemoveBody; set => this._databasePrincipalsToRemoveBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalListRequest DatabasePrincipalsToRemoveBody { get => this._databasePrincipalsToRemoveBody; set => this._databasePrincipalsToRemoveBody = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -116,32 +116,32 @@ public partial class RemoveAzKustoDatabasePrincipal_RemoveViaIdentityExpanded : ReadOnly = false, Description = @"The list of Kusto database principals.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] Value { get => DatabasePrincipalsToRemoveBody.Value ?? null /* arrayOf */; set => DatabasePrincipalsToRemoveBody.Value = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Value { get => DatabasePrincipalsToRemoveBody.Value ?? null /* arrayOf */; set => DatabasePrincipalsToRemoveBody.Value = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -337,12 +337,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -359,7 +359,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=DatabasePrincipalsToRemoveBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -377,12 +377,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabase_Delete.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabase_Delete.cs index 5bebc95f3aea..605523c5ceb6 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabase_Delete.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabase_Delete.cs @@ -182,12 +182,12 @@ public partial class RemoveAzKustoDatabase_Delete : global::System.Management.Au /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -433,12 +433,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -455,7 +455,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, Name=Name, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabase_DeleteViaIdentity.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabase_DeleteViaIdentity.cs index 173684f2fb29..25ddb1518412 100644 --- a/src/Kusto/generated/cmdlets/RemoveAzKustoDatabase_DeleteViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoDatabase_DeleteViaIdentity.cs @@ -126,12 +126,12 @@ public partial class RemoveAzKustoDatabase_DeleteViaIdentity : global::System.Ma /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -397,12 +397,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -419,7 +419,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoScript_Delete.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoScript_Delete.cs new file mode 100644 index 000000000000..47071d1637f5 --- /dev/null +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoScript_Delete.cs @@ -0,0 +1,537 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Deletes a Kusto principalAssignment. + /// + /// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzKustoScript_Delete", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(bool))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Deletes a Kusto principalAssignment.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class RemoveAzKustoScript_Delete : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// Backing field for property. + private string _clusterName; + + /// The name of the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ClusterName { get => this._clusterName; set => this._clusterName = value; } + + /// Backing field for property. + private string _databaseName; + + /// The name of the database in the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the database in the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the database in the Kusto cluster.", + SerializedName = @"databaseName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the Kusto database script. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto database script.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto database script.", + SerializedName = @"scriptName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ScriptName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter PassThru { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group containing the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group containing the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group containing the Kusto cluster.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of + /// the URI for every service call. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of + /// what happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// /// Determines if the rest of the onNoContent method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of RemoveAzKustoScript_Delete + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.RemoveAzKustoScript_Delete Clone() + { + var clone = new RemoveAzKustoScript_Delete(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.ClusterName = this.ClusterName; + clone.DatabaseName = this.DatabaseName; + clone.Name = this.Name; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ScriptsDelete' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ScriptsDelete(SubscriptionId, ResourceGroupName, ClusterName, DatabaseName, Name, onOk, onNoContent, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterName=ClusterName,DatabaseName=DatabaseName,Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public RemoveAzKustoScript_Delete() + { + + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 204 (NoContent). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onNoContent(global::System.Net.Http.HttpResponseMessage responseMessage) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnNoContent(responseMessage, ref _returnNow); + // if overrideOnNoContent has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onNoContent - response for 204 / + if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + { + WriteObject(true); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / + if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + { + WriteObject(true); + } + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/RemoveAzKustoScript_DeleteViaIdentity.cs b/src/Kusto/generated/cmdlets/RemoveAzKustoScript_DeleteViaIdentity.cs new file mode 100644 index 000000000000..ec24694ae315 --- /dev/null +++ b/src/Kusto/generated/cmdlets/RemoveAzKustoScript_DeleteViaIdentity.cs @@ -0,0 +1,490 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Deletes a Kusto principalAssignment. + /// + /// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzKustoScript_DeleteViaIdentity", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(bool))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Deletes a Kusto principalAssignment.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class RemoveAzKustoScript_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Returns true when the command succeeds")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter PassThru { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of + /// what happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// /// Determines if the rest of the onNoContent method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnNoContent(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of RemoveAzKustoScript_DeleteViaIdentity + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.RemoveAzKustoScript_DeleteViaIdentity Clone() + { + var clone = new RemoveAzKustoScript_DeleteViaIdentity(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ScriptsDelete' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.ScriptsDeleteViaIdentity(InputObject.Id, onOk, onNoContent, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.DatabaseName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.DatabaseName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ScriptName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ScriptName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.ScriptsDelete(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ClusterName ?? null, InputObject.DatabaseName ?? null, InputObject.ScriptName ?? null, onOk, onNoContent, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public RemoveAzKustoScript_DeleteViaIdentity() + { + + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 204 (NoContent). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onNoContent(global::System.Net.Http.HttpResponseMessage responseMessage) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnNoContent(responseMessage, ref _returnNow); + // if overrideOnNoContent has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onNoContent - response for 204 / + if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + { + WriteObject(true); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / + if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + { + WriteObject(true); + } + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/StartAzKustoCluster_Start.cs b/src/Kusto/generated/cmdlets/StartAzKustoCluster_Start.cs index 5754d18f2065..79afacb6d357 100644 --- a/src/Kusto/generated/cmdlets/StartAzKustoCluster_Start.cs +++ b/src/Kusto/generated/cmdlets/StartAzKustoCluster_Start.cs @@ -168,12 +168,12 @@ public partial class StartAzKustoCluster_Start : global::System.Management.Autom /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -408,12 +408,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -430,7 +430,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/StartAzKustoCluster_StartViaIdentity.cs b/src/Kusto/generated/cmdlets/StartAzKustoCluster_StartViaIdentity.cs index 60067aa61ed8..56b4951c2304 100644 --- a/src/Kusto/generated/cmdlets/StartAzKustoCluster_StartViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/StartAzKustoCluster_StartViaIdentity.cs @@ -126,12 +126,12 @@ public partial class StartAzKustoCluster_StartViaIdentity : global::System.Manag /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -383,12 +383,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -405,7 +405,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/StopAzKustoCluster_Stop.cs b/src/Kusto/generated/cmdlets/StopAzKustoCluster_Stop.cs index e601ed171c1b..f52b7bf29530 100644 --- a/src/Kusto/generated/cmdlets/StopAzKustoCluster_Stop.cs +++ b/src/Kusto/generated/cmdlets/StopAzKustoCluster_Stop.cs @@ -168,12 +168,12 @@ public partial class StopAzKustoCluster_Stop : global::System.Management.Automat /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -408,12 +408,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -430,7 +430,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/StopAzKustoCluster_StopViaIdentity.cs b/src/Kusto/generated/cmdlets/StopAzKustoCluster_StopViaIdentity.cs index 1218a2d939f3..9a5146d349a4 100644 --- a/src/Kusto/generated/cmdlets/StopAzKustoCluster_StopViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/StopAzKustoCluster_StopViaIdentity.cs @@ -126,12 +126,12 @@ public partial class StopAzKustoCluster_StopViaIdentity : global::System.Managem /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -383,12 +383,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -405,7 +405,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoClusterNameAvailability_CheckExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoClusterNameAvailability_CheckExpanded.cs index b6d6a6b536d3..940462280b5d 100644 --- a/src/Kusto/generated/cmdlets/TestAzKustoClusterNameAvailability_CheckExpanded.cs +++ b/src/Kusto/generated/cmdlets/TestAzKustoClusterNameAvailability_CheckExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/checkNameAvailability" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoClusterNameAvailability_CheckExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the cluster name is valid and is not already in use.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class TestAzKustoClusterNameAvailability_CheckExpanded : global::System.Management.Automation.PSCmdlet, @@ -41,10 +41,10 @@ public partial class TestAzKustoClusterNameAvailability_CheckExpanded : global:: public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest _clusterNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterCheckNameRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest _clusterNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterCheckNameRequest(); /// The result returned from a cluster check name availability request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest ClusterNameBody { get => this._clusterNameBody; set => this._clusterNameBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest ClusterNameBody { get => this._clusterNameBody; set => this._clusterNameBody = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -73,12 +73,12 @@ public partial class TestAzKustoClusterNameAvailability_CheckExpanded : global:: /// Backing field for property. private string _location; - /// Azure location. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Azure location.")] + /// Azure location (region) name. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Azure location (region) name.")] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( Required = true, ReadOnly = false, - Description = @"Azure location.", + Description = @"Azure location (region) name.", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] @@ -145,41 +145,29 @@ public partial class TestAzKustoClusterNameAvailability_CheckExpanded : global:: [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - /// The type of resource, Microsoft.Kusto/clusters. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The type of resource, Microsoft.Kusto/clusters.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The type of resource, Microsoft.Kusto/clusters.", - SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => ClusterNameBody.Type; set => ClusterNameBody.Type = value; } - /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -351,12 +339,12 @@ public TestAzKustoClusterNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -373,7 +361,7 @@ public TestAzKustoClusterNameAvailability_CheckExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, Location=Location, body=ClusterNameBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -391,12 +379,12 @@ public TestAzKustoClusterNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -408,7 +396,7 @@ public TestAzKustoClusterNameAvailability_CheckExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded.cs index f43613af4f57..ce2889444ca8 100644 --- a/src/Kusto/generated/cmdlets/TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/checkNameAvailability" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoClusterNameAvailability_CheckViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the cluster name is valid and is not already in use.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -41,10 +41,10 @@ public partial class TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest _clusterNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterCheckNameRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest _clusterNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterCheckNameRequest(); /// The result returned from a cluster check name availability request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterCheckNameRequest ClusterNameBody { get => this._clusterNameBody; set => this._clusterNameBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterCheckNameRequest ClusterNameBody { get => this._clusterNameBody; set => this._clusterNameBody = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -118,41 +118,29 @@ public partial class TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// The type of resource, Microsoft.Kusto/clusters. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The type of resource, Microsoft.Kusto/clusters.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The type of resource, Microsoft.Kusto/clusters.", - SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => ClusterNameBody.Type; set => ClusterNameBody.Type = value; } - /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -340,12 +328,12 @@ public TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -362,7 +350,7 @@ public TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ClusterNameBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -380,12 +368,12 @@ public TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -397,7 +385,7 @@ public TestAzKustoClusterNameAvailability_CheckViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckExpanded.cs index 77ff6f567b63..6505370553a3 100644 --- a/src/Kusto/generated/cmdlets/TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckExpanded.cs +++ b/src/Kusto/generated/cmdlets/TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/checkPrincipalAssignmentNameAvailability" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoClusterPrincipalAssignmentNameAvailability_CheckExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the principal assignment name is valid and is not already in use.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckExpanded : global::System.Management.Automation.PSCmdlet, @@ -103,10 +103,10 @@ public partial class TestAzKustoClusterPrincipalAssignmentNameAvailability_Check private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest _principalAssignmentNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignmentCheckNameRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest _principalAssignmentNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignmentCheckNameRequest(); /// A principal assignment check name availability request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest PrincipalAssignmentNameBody { get => this._principalAssignmentNameBody; set => this._principalAssignmentNameBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest PrincipalAssignmentNameBody { get => this._principalAssignmentNameBody; set => this._principalAssignmentNameBody = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -159,41 +159,29 @@ public partial class TestAzKustoClusterPrincipalAssignmentNameAvailability_Check [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - /// The type of resource, Microsoft.Kusto/Clusters/principalAssignments. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The type of resource, Microsoft.Kusto/Clusters/principalAssignments.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The type of resource, Microsoft.Kusto/Clusters/principalAssignments.", - SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => PrincipalAssignmentNameBody.Type; set => PrincipalAssignmentNameBody.Type = value; } - /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -366,12 +354,12 @@ public TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -388,7 +376,7 @@ public TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, SubscriptionId=SubscriptionId, body=PrincipalAssignmentNameBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -406,12 +394,12 @@ public TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -423,7 +411,7 @@ public TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckViaIdentityExpanded.cs index 5eb6675722c9..25bb3b708913 100644 --- a/src/Kusto/generated/cmdlets/TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckViaIdentityExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/checkPrincipalAssignmentNameAvailability" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoClusterPrincipalAssignmentNameAvailability_CheckViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the principal assignment name is valid and is not already in use.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -97,10 +97,10 @@ public partial class TestAzKustoClusterPrincipalAssignmentNameAvailability_Check private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest _principalAssignmentNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignmentCheckNameRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest _principalAssignmentNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignmentCheckNameRequest(); /// A principal assignment check name availability request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignmentCheckNameRequest PrincipalAssignmentNameBody { get => this._principalAssignmentNameBody; set => this._principalAssignmentNameBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignmentCheckNameRequest PrincipalAssignmentNameBody { get => this._principalAssignmentNameBody; set => this._principalAssignmentNameBody = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -118,41 +118,29 @@ public partial class TestAzKustoClusterPrincipalAssignmentNameAvailability_Check [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// The type of resource, Microsoft.Kusto/Clusters/principalAssignments. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The type of resource, Microsoft.Kusto/Clusters/principalAssignments.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The type of resource, Microsoft.Kusto/Clusters/principalAssignments.", - SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => PrincipalAssignmentNameBody.Type; set => PrincipalAssignmentNameBody.Type = value; } - /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -345,12 +333,12 @@ public TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckViaIdentityExp /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -367,7 +355,7 @@ public TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckViaIdentityExp if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=PrincipalAssignmentNameBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -385,12 +373,12 @@ public TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckViaIdentityExp /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -402,7 +390,7 @@ public TestAzKustoClusterPrincipalAssignmentNameAvailability_CheckViaIdentityExp return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoDataConnectionNameAvailability_CheckExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoDataConnectionNameAvailability_CheckExpanded.cs index d68bf81e4a1f..09aae941ad38 100644 --- a/src/Kusto/generated/cmdlets/TestAzKustoDataConnectionNameAvailability_CheckExpanded.cs +++ b/src/Kusto/generated/cmdlets/TestAzKustoDataConnectionNameAvailability_CheckExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/checkNameAvailability" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoDataConnectionNameAvailability_CheckExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the data connection name is valid and is not already in use.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class TestAzKustoDataConnectionNameAvailability_CheckExpanded : global::System.Management.Automation.PSCmdlet, @@ -55,10 +55,10 @@ public partial class TestAzKustoDataConnectionNameAvailability_CheckExpanded : g public string ClusterName { get => this._clusterName; set => this._clusterName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest _dataConnectionNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionCheckNameRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest _dataConnectionNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionCheckNameRequest(); /// A data connection check name availability request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest DataConnectionNameBody { get => this._dataConnectionNameBody; set => this._dataConnectionNameBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest DataConnectionNameBody { get => this._dataConnectionNameBody; set => this._dataConnectionNameBody = value; } /// Backing field for property. private string _databaseName; @@ -173,41 +173,29 @@ public partial class TestAzKustoDataConnectionNameAvailability_CheckExpanded : g [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - /// The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections.", - SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => DataConnectionNameBody.Type; set => DataConnectionNameBody.Type = value; } - /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -379,12 +367,12 @@ public TestAzKustoDataConnectionNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -401,7 +389,7 @@ public TestAzKustoDataConnectionNameAvailability_CheckExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, SubscriptionId=SubscriptionId, body=DataConnectionNameBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -419,12 +407,12 @@ public TestAzKustoDataConnectionNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -436,7 +424,7 @@ public TestAzKustoDataConnectionNameAvailability_CheckExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded.cs index c2af5fa2a7fa..d02134dcdf8f 100644 --- a/src/Kusto/generated/cmdlets/TestAzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/TestAzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/checkNameAvailability" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the data connection name is valid and is not already in use.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class TestAzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -41,10 +41,10 @@ public partial class TestAzKustoDataConnectionNameAvailability_CheckViaIdentityE public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest _dataConnectionNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionCheckNameRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest _dataConnectionNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionCheckNameRequest(); /// A data connection check name availability request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionCheckNameRequest DataConnectionNameBody { get => this._dataConnectionNameBody; set => this._dataConnectionNameBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionCheckNameRequest DataConnectionNameBody { get => this._dataConnectionNameBody; set => this._dataConnectionNameBody = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -118,41 +118,29 @@ public partial class TestAzKustoDataConnectionNameAvailability_CheckViaIdentityE [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections.", - SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => DataConnectionNameBody.Type; set => DataConnectionNameBody.Type = value; } - /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -349,12 +337,12 @@ public TestAzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -371,7 +359,7 @@ public TestAzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=DataConnectionNameBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -389,12 +377,12 @@ public TestAzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -406,7 +394,7 @@ public TestAzKustoDataConnectionNameAvailability_CheckViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoDatabaseNameAvailability_CheckExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoDatabaseNameAvailability_CheckExpanded.cs index a522373c1163..5e543d131a0d 100644 --- a/src/Kusto/generated/cmdlets/TestAzKustoDatabaseNameAvailability_CheckExpanded.cs +++ b/src/Kusto/generated/cmdlets/TestAzKustoDatabaseNameAvailability_CheckExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/checkNameAvailability" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoDatabaseNameAvailability_CheckExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the database name is valid and is not already in use.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class TestAzKustoDatabaseNameAvailability_CheckExpanded : global::System.Management.Automation.PSCmdlet, @@ -133,10 +133,10 @@ public partial class TestAzKustoDatabaseNameAvailability_CheckExpanded : global: public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest _resourceNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest _resourceNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameRequest(); /// The result returned from a database check name availability request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest ResourceNameBody { get => this._resourceNameBody; set => this._resourceNameBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest ResourceNameBody { get => this._resourceNameBody; set => this._resourceNameBody = value; } /// Backing field for property. private string _subscriptionId; @@ -176,24 +176,24 @@ public partial class TestAzKustoDatabaseNameAvailability_CheckExpanded : global: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -365,12 +365,12 @@ public TestAzKustoDatabaseNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -387,7 +387,7 @@ public TestAzKustoDatabaseNameAvailability_CheckExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, SubscriptionId=SubscriptionId, body=ResourceNameBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -405,12 +405,12 @@ public TestAzKustoDatabaseNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -422,7 +422,7 @@ public TestAzKustoDatabaseNameAvailability_CheckExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpanded.cs index 94c5dd1e3b67..5a55b99d6c57 100644 --- a/src/Kusto/generated/cmdlets/TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/checkNameAvailability" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoDatabaseNameAvailability_CheckViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the database name is valid and is not already in use.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -113,10 +113,10 @@ public partial class TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpande public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest _resourceNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest _resourceNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameRequest(); /// The result returned from a database check name availability request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameRequest ResourceNameBody { get => this._resourceNameBody; set => this._resourceNameBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameRequest ResourceNameBody { get => this._resourceNameBody; set => this._resourceNameBody = value; } /// The type of resource, for instance Microsoft.Kusto/Clusters/databases. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The type of resource, for instance Microsoft.Kusto/Clusters/databases.")] @@ -135,24 +135,24 @@ public partial class TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpande /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -344,12 +344,12 @@ public TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -366,7 +366,7 @@ public TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ResourceNameBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -384,12 +384,12 @@ public TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -401,7 +401,7 @@ public TestAzKustoDatabaseNameAvailability_CheckViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded.cs index 66a7ef3f7f98..ef5978567f77 100644 --- a/src/Kusto/generated/cmdlets/TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded.cs +++ b/src/Kusto/generated/cmdlets/TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/checkPrincipalAssignmentNameAvailability" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the database principal assignment is valid and is not already in use.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded : global::System.Management.Automation.PSCmdlet, @@ -119,10 +119,10 @@ public partial class TestAzKustoDatabasePrincipalAssignmentNameAvailability_Chec private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest _principalAssignmentNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignmentCheckNameRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest _principalAssignmentNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignmentCheckNameRequest(); /// A principal assignment check name availability request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest PrincipalAssignmentNameBody { get => this._principalAssignmentNameBody; set => this._principalAssignmentNameBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest PrincipalAssignmentNameBody { get => this._principalAssignmentNameBody; set => this._principalAssignmentNameBody = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -175,41 +175,29 @@ public partial class TestAzKustoDatabasePrincipalAssignmentNameAvailability_Chec [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } - /// The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments.", - SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => PrincipalAssignmentNameBody.Type; set => PrincipalAssignmentNameBody.Type = value; } - /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -382,12 +370,12 @@ public TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -404,7 +392,7 @@ public TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, SubscriptionId=SubscriptionId, body=PrincipalAssignmentNameBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -422,12 +410,12 @@ public TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -439,7 +427,7 @@ public TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityExpanded.cs index 817703229119..c6f831b607b7 100644 --- a/src/Kusto/generated/cmdlets/TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityExpanded.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/checkPrincipalAssignmentNameAvailability" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the database principal assignment is valid and is not already in use.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -99,10 +99,10 @@ public partial class TestAzKustoDatabasePrincipalAssignmentNameAvailability_Chec private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest _principalAssignmentNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignmentCheckNameRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest _principalAssignmentNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignmentCheckNameRequest(); /// A principal assignment check name availability request. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignmentCheckNameRequest PrincipalAssignmentNameBody { get => this._principalAssignmentNameBody; set => this._principalAssignmentNameBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignmentCheckNameRequest PrincipalAssignmentNameBody { get => this._principalAssignmentNameBody; set => this._principalAssignmentNameBody = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -120,41 +120,29 @@ public partial class TestAzKustoDatabasePrincipalAssignmentNameAvailability_Chec [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments. - [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = true, - ReadOnly = false, - Description = @"The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments.", - SerializedName = @"type", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type Type { get => PrincipalAssignmentNameBody.Type; set => PrincipalAssignmentNameBody.Type = value; } - /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -351,12 +339,12 @@ public TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityEx /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -373,7 +361,7 @@ public TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityEx if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=PrincipalAssignmentNameBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -391,12 +379,12 @@ public TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityEx /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -408,7 +396,7 @@ public TestAzKustoDatabasePrincipalAssignmentNameAvailability_CheckViaIdentityEx return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/TestAzKustoScriptNameAvailability_CheckExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoScriptNameAvailability_CheckExpanded.cs new file mode 100644 index 000000000000..1f244f4015e2 --- /dev/null +++ b/src/Kusto/generated/cmdlets/TestAzKustoScriptNameAvailability_CheckExpanded.cs @@ -0,0 +1,432 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Checks that the script name is valid and is not already in use. + /// + /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scriptsCheckNameAvailability" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoScriptNameAvailability_CheckExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the script name is valid and is not already in use.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class TestAzKustoScriptNameAvailability_CheckExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// Backing field for property. + private string _clusterName; + + /// The name of the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ClusterName { get => this._clusterName; set => this._clusterName = value; } + + /// Backing field for property. + private string _databaseName; + + /// The name of the database in the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the database in the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the database in the Kusto cluster.", + SerializedName = @"databaseName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Script name. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Script name.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Script name.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + public string Name { get => ScriptNameBody.Name ?? null; set => ScriptNameBody.Name = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group containing the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group containing the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group containing the Kusto cluster.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest _scriptNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptCheckNameRequest(); + + /// A script name availability request. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest ScriptNameBody { get => this._scriptNameBody; set => this._scriptNameBody = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of + /// the URI for every service call. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data, new[] { data.Message }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ScriptsCheckNameAvailability' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ScriptsCheckNameAvailability(ResourceGroupName, ClusterName, DatabaseName, SubscriptionId, ScriptNameBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,ClusterName=ClusterName,DatabaseName=DatabaseName,SubscriptionId=SubscriptionId,body=ScriptNameBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public TestAzKustoScriptNameAvailability_CheckExpanded() + { + + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, SubscriptionId=SubscriptionId, body=ScriptNameBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, SubscriptionId=SubscriptionId, body=ScriptNameBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/TestAzKustoScriptNameAvailability_CheckViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/TestAzKustoScriptNameAvailability_CheckViaIdentityExpanded.cs new file mode 100644 index 000000000000..05efafb94af1 --- /dev/null +++ b/src/Kusto/generated/cmdlets/TestAzKustoScriptNameAvailability_CheckViaIdentityExpanded.cs @@ -0,0 +1,401 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Checks that the script name is valid and is not already in use. + /// + /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scriptsCheckNameAvailability" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzKustoScriptNameAvailability_CheckViaIdentityExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Checks that the script name is valid and is not already in use.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class TestAzKustoScriptNameAvailability_CheckViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Script name. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Script name.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Script name.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + public string Name { get => ScriptNameBody.Name ?? null; set => ScriptNameBody.Name = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest _scriptNameBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptCheckNameRequest(); + + /// A script name availability request. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScriptCheckNameRequest ScriptNameBody { get => this._scriptNameBody; set => this._scriptNameBody = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data, new[] { data.Message }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ScriptsCheckNameAvailability' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.ScriptsCheckNameAvailabilityViaIdentity(InputObject.Id, ScriptNameBody, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.DatabaseName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.DatabaseName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.ScriptsCheckNameAvailability(InputObject.ResourceGroupName ?? null, InputObject.ClusterName ?? null, InputObject.DatabaseName ?? null, InputObject.SubscriptionId ?? null, ScriptNameBody, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ScriptNameBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public TestAzKustoScriptNameAvailability_CheckViaIdentityExpanded() + { + + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ScriptNameBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ScriptNameBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoCluster_UpdateExpanded.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoCluster_UpdateExpanded.cs index 7f826d799432..444a0db57bda 100644 --- a/src/Kusto/generated/cmdlets/UpdateAzKustoCluster_UpdateExpanded.cs +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoCluster_UpdateExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoCluster_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Update a Kusto cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -135,7 +135,7 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get => ParametersBody.IdentityType; set => ParametersBody.IdentityType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get => ParametersBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType)""); set => ParametersBody.IdentityType = value; } /// /// The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM @@ -149,8 +149,25 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage ReadOnly = false, Description = @"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}'.", SerializedName = @"userAssignedIdentities", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => ParametersBody.IdentityUserAssignedIdentity ?? null /* object */; set => ParametersBody.IdentityUserAssignedIdentity = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => ParametersBody.IdentityUserAssignedIdentity ?? null /* object */; set => ParametersBody.IdentityUserAssignedIdentity = value; } + + /// Backing field for property. + private string _ifMatch; + + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"If-Match", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Header)] + public string IfMatch { get => this._ifMatch; set => this._ifMatch = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -199,18 +216,6 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage PossibleTypes = new [] { typeof(string) })] public string KeyVaultPropertyUserIdentity { get => ParametersBody.KeyVaultPropertyUserIdentity ?? null; set => ParametersBody.KeyVaultPropertyUserIdentity = value; } - /// The list of language extensions. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The list of language extensions.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The list of language extensions.", - SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get => ParametersBody.LanguageExtensionValue ?? null /* arrayOf */; set => ParametersBody.LanguageExtensionValue = value; } - /// Resource location. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource location.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] @@ -264,7 +269,7 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage Description = @"A boolean value that indicate if the optimized autoscale feature is enabled or not.", SerializedName = @"isEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter OptimizedAutoscaleIsEnabled { get => ParametersBody.OptimizedAutoscaleIsEnabled; set => ParametersBody.OptimizedAutoscaleIsEnabled = value; } + public global::System.Management.Automation.SwitchParameter OptimizedAutoscaleIsEnabled { get => ParametersBody.OptimizedAutoscaleIsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => ParametersBody.OptimizedAutoscaleIsEnabled = value; } /// Maximum allowed instances count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed instances count.")] @@ -275,7 +280,7 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage Description = @"Maximum allowed instances count.", SerializedName = @"maximum", PossibleTypes = new [] { typeof(int) })] - public int OptimizedAutoscaleMaximum { get => ParametersBody.OptimizedAutoscaleMaximum; set => ParametersBody.OptimizedAutoscaleMaximum = value; } + public int OptimizedAutoscaleMaximum { get => ParametersBody.OptimizedAutoscaleMaximum ?? default(int); set => ParametersBody.OptimizedAutoscaleMaximum = value; } /// Minimum allowed instances count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum allowed instances count.")] @@ -286,7 +291,7 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage Description = @"Minimum allowed instances count.", SerializedName = @"minimum", PossibleTypes = new [] { typeof(int) })] - public int OptimizedAutoscaleMinimum { get => ParametersBody.OptimizedAutoscaleMinimum; set => ParametersBody.OptimizedAutoscaleMinimum = value; } + public int OptimizedAutoscaleMinimum { get => ParametersBody.OptimizedAutoscaleMinimum ?? default(int); set => ParametersBody.OptimizedAutoscaleMinimum = value; } /// The version of the template defined, for instance 1. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The version of the template defined, for instance 1.")] @@ -297,13 +302,13 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage Description = @"The version of the template defined, for instance 1.", SerializedName = @"version", PossibleTypes = new [] { typeof(int) })] - public int OptimizedAutoscaleVersion { get => ParametersBody.OptimizedAutoscaleVersion; set => ParametersBody.OptimizedAutoscaleVersion = value; } + public int OptimizedAutoscaleVersion { get => ParametersBody.OptimizedAutoscaleVersion ?? default(int); set => ParametersBody.OptimizedAutoscaleVersion = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdate(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdate(); /// Class representing an update to a Kusto cluster. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -361,7 +366,7 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage SerializedName = @"name", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get => ParametersBody.SkuName; set => ParametersBody.SkuName = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get => ParametersBody.SkuName ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName)""); set => ParametersBody.SkuName = value; } /// SKU tier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SKU tier.")] @@ -373,7 +378,7 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage SerializedName = @"tier", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get => ParametersBody.SkuTier; set => ParametersBody.SkuTier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get => ParametersBody.SkuTier ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier)""); set => ParametersBody.SkuTier = value; } /// Backing field for property. private string _subscriptionId; @@ -405,8 +410,8 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags Tag { get => ParametersBody.Tag ?? null /* object */; set => ParametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags Tag { get => ParametersBody.Tag ?? null /* object */; set => ParametersBody.Tag = value; } /// The cluster's external tenants. [global::System.Management.Automation.AllowEmptyCollection] @@ -417,8 +422,8 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage ReadOnly = false, Description = @"The cluster's external tenants.", SerializedName = @"trustedExternalTenants", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get => ParametersBody.TrustedExternalTenant ?? null /* arrayOf */; set => ParametersBody.TrustedExternalTenant = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get => ParametersBody.TrustedExternalTenant ?? null /* arrayOf */; set => ParametersBody.TrustedExternalTenant = value; } /// Data management's service public IP address resource id. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Data management's service public IP address resource id.")] @@ -458,24 +463,24 @@ public partial class UpdateAzKustoCluster_UpdateExpanded : global::System.Manage /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -510,6 +515,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.UpdateAzKustoCluster_Upd clone.ParametersBody = this.ParametersBody; clone.ResourceGroupName = this.ResourceGroupName; clone.Name = this.Name; + clone.IfMatch = this.IfMatch; clone.SubscriptionId = this.SubscriptionId; return clone; } @@ -665,12 +671,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.ClustersUpdate(ResourceGroupName, Name, SubscriptionId, ParametersBody, onOk, onDefault, this, Pipeline); + await this.Client.ClustersUpdate(ResourceGroupName, Name, this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null, SubscriptionId, ParametersBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=ParametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,IfMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null,SubscriptionId=SubscriptionId,body=ParametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -701,12 +707,12 @@ public UpdateAzKustoCluster_UpdateExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -723,15 +729,15 @@ public UpdateAzKustoCluster_UpdateExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=ParametersBody }) + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, IfMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null, SubscriptionId=SubscriptionId, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, IfMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null, SubscriptionId=SubscriptionId, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -741,12 +747,12 @@ public UpdateAzKustoCluster_UpdateExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -758,7 +764,7 @@ public UpdateAzKustoCluster_UpdateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoCluster_UpdateViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoCluster_UpdateViaIdentityExpanded.cs index 03c6741c447a..81cdb4d9e54e 100644 --- a/src/Kusto/generated/cmdlets/UpdateAzKustoCluster_UpdateViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoCluster_UpdateViaIdentityExpanded.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoCluster_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Update a Kusto cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -135,7 +135,7 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get => ParametersBody.IdentityType; set => ParametersBody.IdentityType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType IdentityType { get => ParametersBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.IdentityType)""); set => ParametersBody.IdentityType = value; } /// /// The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM @@ -149,8 +149,25 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy ReadOnly = false, Description = @"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}'.", SerializedName = @"userAssignedIdentities", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => ParametersBody.IdentityUserAssignedIdentity ?? null /* object */; set => ParametersBody.IdentityUserAssignedIdentity = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => ParametersBody.IdentityUserAssignedIdentity ?? null /* object */; set => ParametersBody.IdentityUserAssignedIdentity = value; } + + /// Backing field for property. + private string _ifMatch; + + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"If-Match", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Header)] + public string IfMatch { get => this._ifMatch; set => this._ifMatch = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity _inputObject; @@ -207,18 +224,6 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy PossibleTypes = new [] { typeof(string) })] public string KeyVaultPropertyUserIdentity { get => ParametersBody.KeyVaultPropertyUserIdentity ?? null; set => ParametersBody.KeyVaultPropertyUserIdentity = value; } - /// The list of language extensions. - [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The list of language extensions.")] - [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"The list of language extensions.", - SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] LanguageExtensionValue { get => ParametersBody.LanguageExtensionValue ?? null /* arrayOf */; set => ParametersBody.LanguageExtensionValue = value; } - /// Resource location. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource location.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] @@ -257,7 +262,7 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy Description = @"A boolean value that indicate if the optimized autoscale feature is enabled or not.", SerializedName = @"isEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter OptimizedAutoscaleIsEnabled { get => ParametersBody.OptimizedAutoscaleIsEnabled; set => ParametersBody.OptimizedAutoscaleIsEnabled = value; } + public global::System.Management.Automation.SwitchParameter OptimizedAutoscaleIsEnabled { get => ParametersBody.OptimizedAutoscaleIsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => ParametersBody.OptimizedAutoscaleIsEnabled = value; } /// Maximum allowed instances count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed instances count.")] @@ -268,7 +273,7 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy Description = @"Maximum allowed instances count.", SerializedName = @"maximum", PossibleTypes = new [] { typeof(int) })] - public int OptimizedAutoscaleMaximum { get => ParametersBody.OptimizedAutoscaleMaximum; set => ParametersBody.OptimizedAutoscaleMaximum = value; } + public int OptimizedAutoscaleMaximum { get => ParametersBody.OptimizedAutoscaleMaximum ?? default(int); set => ParametersBody.OptimizedAutoscaleMaximum = value; } /// Minimum allowed instances count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum allowed instances count.")] @@ -279,7 +284,7 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy Description = @"Minimum allowed instances count.", SerializedName = @"minimum", PossibleTypes = new [] { typeof(int) })] - public int OptimizedAutoscaleMinimum { get => ParametersBody.OptimizedAutoscaleMinimum; set => ParametersBody.OptimizedAutoscaleMinimum = value; } + public int OptimizedAutoscaleMinimum { get => ParametersBody.OptimizedAutoscaleMinimum ?? default(int); set => ParametersBody.OptimizedAutoscaleMinimum = value; } /// The version of the template defined, for instance 1. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The version of the template defined, for instance 1.")] @@ -290,13 +295,13 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy Description = @"The version of the template defined, for instance 1.", SerializedName = @"version", PossibleTypes = new [] { typeof(int) })] - public int OptimizedAutoscaleVersion { get => ParametersBody.OptimizedAutoscaleVersion; set => ParametersBody.OptimizedAutoscaleVersion = value; } + public int OptimizedAutoscaleVersion { get => ParametersBody.OptimizedAutoscaleVersion ?? default(int); set => ParametersBody.OptimizedAutoscaleVersion = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdate(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdate(); /// Class representing an update to a Kusto cluster. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdate ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdate ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -340,7 +345,7 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy SerializedName = @"name", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get => ParametersBody.SkuName; set => ParametersBody.SkuName = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName SkuName { get => ParametersBody.SkuName ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuName)""); set => ParametersBody.SkuName = value; } /// SKU tier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SKU tier.")] @@ -352,7 +357,7 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy SerializedName = @"tier", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get => ParametersBody.SkuTier; set => ParametersBody.SkuTier = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier SkuTier { get => ParametersBody.SkuTier ?? ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.AzureSkuTier)""); set => ParametersBody.SkuTier = value; } /// Resource tags. [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ExportAs(typeof(global::System.Collections.Hashtable))] @@ -363,8 +368,8 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterUpdateTags Tag { get => ParametersBody.Tag ?? null /* object */; set => ParametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterUpdateTags Tag { get => ParametersBody.Tag ?? null /* object */; set => ParametersBody.Tag = value; } /// The cluster's external tenants. [global::System.Management.Automation.AllowEmptyCollection] @@ -375,8 +380,8 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy ReadOnly = false, Description = @"The cluster's external tenants.", SerializedName = @"trustedExternalTenants", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] TrustedExternalTenant { get => ParametersBody.TrustedExternalTenant ?? null /* arrayOf */; set => ParametersBody.TrustedExternalTenant = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] TrustedExternalTenant { get => ParametersBody.TrustedExternalTenant ?? null /* arrayOf */; set => ParametersBody.TrustedExternalTenant = value; } /// Data management's service public IP address resource id. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Data management's service public IP address resource id.")] @@ -416,24 +421,24 @@ public partial class UpdateAzKustoCluster_UpdateViaIdentityExpanded : global::Sy /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -466,6 +471,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.UpdateAzKustoCluster_Upd clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; clone.ParametersBody = this.ParametersBody; + clone.IfMatch = this.IfMatch; return clone; } @@ -622,7 +628,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.ClustersUpdateViaIdentity(InputObject.Id, ParametersBody, onOk, onDefault, this, Pipeline); + await this.Client.ClustersUpdateViaIdentity(InputObject.Id, this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null, ParametersBody, onOk, onDefault, this, Pipeline); } else { @@ -639,13 +645,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.ClustersUpdate(InputObject.ResourceGroupName ?? null, InputObject.ClusterName ?? null, InputObject.SubscriptionId ?? null, ParametersBody, onOk, onDefault, this, Pipeline); + await this.Client.ClustersUpdate(InputObject.ResourceGroupName ?? null, InputObject.ClusterName ?? null, this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null, InputObject.SubscriptionId ?? null, ParametersBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { IfMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null,body=ParametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -676,12 +682,12 @@ public UpdateAzKustoCluster_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -698,15 +704,15 @@ public UpdateAzKustoCluster_UpdateViaIdentityExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { IfMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { IfMatch=this.InvocationInformation.BoundParameters.ContainsKey("IfMatch") ? IfMatch : null, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -716,12 +722,12 @@ public UpdateAzKustoCluster_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -733,7 +739,7 @@ public UpdateAzKustoCluster_UpdateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_Update.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_Update.cs index 958c2e452e8f..6ddadca0c143 100644 --- a/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_Update.cs +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_Update.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoDataConnection_Update", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a data connection.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class UpdateAzKustoDataConnection_Update : global::System.Management.Automation.PSCmdlet, @@ -130,7 +130,7 @@ public partial class UpdateAzKustoDataConnection_Update : global::System.Managem public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection _parameter; /// Class representing an data connection. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing an data connection.", ValueFromPipeline = true)] @@ -139,8 +139,8 @@ public partial class UpdateAzKustoDataConnection_Update : global::System.Managem ReadOnly = false, Description = @"Class representing an data connection.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -203,24 +203,24 @@ public partial class UpdateAzKustoDataConnection_Update : global::System.Managem /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -448,12 +448,12 @@ public UpdateAzKustoDataConnection_Update() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -470,7 +470,7 @@ public UpdateAzKustoDataConnection_Update() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, SubscriptionId=SubscriptionId, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -488,12 +488,12 @@ public UpdateAzKustoDataConnection_Update() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -505,7 +505,7 @@ public UpdateAzKustoDataConnection_Update() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateExpanded.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateExpanded.cs index 39dd188cb474..ca334a901079 100644 --- a/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateExpanded.cs +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoDataConnection_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a data connection.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class UpdateAzKustoDataConnection_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -106,9 +106,9 @@ public partial class UpdateAzKustoDataConnection_UpdateExpanded : global::System ReadOnly = false, Description = @"Kind of the endpoint for the data connection", SerializedName = @"kind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ParametersBody.Kind; set => ParametersBody.Kind = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) })] + [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind))] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get => ParametersBody.Kind; set => ParametersBody.Kind = value; } /// Resource location. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource location.")] @@ -153,10 +153,10 @@ public partial class UpdateAzKustoDataConnection_UpdateExpanded : global::System public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection(); /// Class representing an data connection. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -219,24 +219,24 @@ public partial class UpdateAzKustoDataConnection_UpdateExpanded : global::System /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -464,12 +464,12 @@ public UpdateAzKustoDataConnection_UpdateExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -486,7 +486,7 @@ public UpdateAzKustoDataConnection_UpdateExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, SubscriptionId=SubscriptionId, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -504,12 +504,12 @@ public UpdateAzKustoDataConnection_UpdateExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -521,7 +521,7 @@ public UpdateAzKustoDataConnection_UpdateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateViaIdentity.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateViaIdentity.cs index c9bced7cc527..2b3755ec8cc1 100644 --- a/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateViaIdentity.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoDataConnection_UpdateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a data connection.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class UpdateAzKustoDataConnection_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -95,7 +95,7 @@ public partial class UpdateAzKustoDataConnection_UpdateViaIdentity : global::Sys public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection _parameter; /// Class representing an data connection. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing an data connection.", ValueFromPipeline = true)] @@ -104,8 +104,8 @@ public partial class UpdateAzKustoDataConnection_UpdateViaIdentity : global::Sys ReadOnly = false, Description = @"Class representing an data connection.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -133,24 +133,24 @@ public partial class UpdateAzKustoDataConnection_UpdateViaIdentity : global::Sys /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -401,12 +401,12 @@ public UpdateAzKustoDataConnection_UpdateViaIdentity() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -423,7 +423,7 @@ public UpdateAzKustoDataConnection_UpdateViaIdentity() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -441,12 +441,12 @@ public UpdateAzKustoDataConnection_UpdateViaIdentity() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -458,7 +458,7 @@ public UpdateAzKustoDataConnection_UpdateViaIdentity() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateViaIdentityExpanded.cs index 5cc141322c8e..d31165813999 100644 --- a/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoDataConnection_UpdateViaIdentityExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoDataConnection_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a data connection.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class UpdateAzKustoDataConnection_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -86,9 +86,9 @@ public partial class UpdateAzKustoDataConnection_UpdateViaIdentityExpanded : glo ReadOnly = false, Description = @"Kind of the endpoint for the data connection", SerializedName = @"kind", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind) })] - [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind))] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind Kind { get => ParametersBody.Kind; set => ParametersBody.Kind = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind) })] + [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind))] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind Kind { get => ParametersBody.Kind; set => ParametersBody.Kind = value; } /// Resource location. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource location.")] @@ -118,10 +118,10 @@ public partial class UpdateAzKustoDataConnection_UpdateViaIdentityExpanded : glo public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection(); /// Class representing an data connection. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -149,24 +149,24 @@ public partial class UpdateAzKustoDataConnection_UpdateViaIdentityExpanded : glo /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -417,12 +417,12 @@ public UpdateAzKustoDataConnection_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -439,7 +439,7 @@ public UpdateAzKustoDataConnection_UpdateViaIdentityExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -457,12 +457,12 @@ public UpdateAzKustoDataConnection_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -474,7 +474,7 @@ public UpdateAzKustoDataConnection_UpdateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_Update.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_Update.cs index a69d0e610f67..1de6590bfd47 100644 --- a/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_Update.cs +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_Update.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoDatabase_Update", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a database.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class UpdateAzKustoDatabase_Update : global::System.Management.Automation.PSCmdlet, @@ -116,7 +116,7 @@ public partial class UpdateAzKustoDatabase_Update : global::System.Management.Au public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase _parameter; /// Class representing a Kusto database. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing a Kusto database.", ValueFromPipeline = true)] @@ -125,8 +125,8 @@ public partial class UpdateAzKustoDatabase_Update : global::System.Management.Au ReadOnly = false, Description = @"Class representing a Kusto database.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -189,24 +189,24 @@ public partial class UpdateAzKustoDatabase_Update : global::System.Management.Au /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -433,12 +433,12 @@ public UpdateAzKustoDatabase_Update() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -455,7 +455,7 @@ public UpdateAzKustoDatabase_Update() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, Name=Name, SubscriptionId=SubscriptionId, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -473,12 +473,12 @@ public UpdateAzKustoDatabase_Update() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -490,7 +490,7 @@ public UpdateAzKustoDatabase_Update() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateExpanded.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateExpanded.cs index 9726d40d63f2..841eb4c16b8b 100644 --- a/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateExpanded.cs +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoDatabase_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a database.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class UpdateAzKustoDatabase_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -139,10 +139,10 @@ public partial class UpdateAzKustoDatabase_UpdateExpanded : global::System.Manag public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database(); /// Class representing a Kusto database. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -205,24 +205,24 @@ public partial class UpdateAzKustoDatabase_UpdateExpanded : global::System.Manag /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -449,12 +449,12 @@ public UpdateAzKustoDatabase_UpdateExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -471,7 +471,7 @@ public UpdateAzKustoDatabase_UpdateExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, Name=Name, SubscriptionId=SubscriptionId, body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -489,12 +489,12 @@ public UpdateAzKustoDatabase_UpdateExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -506,7 +506,7 @@ public UpdateAzKustoDatabase_UpdateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateViaIdentity.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateViaIdentity.cs index 811b0c7399a9..4f3651d5f887 100644 --- a/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateViaIdentity.cs +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateViaIdentity.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoDatabase_UpdateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a database.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class UpdateAzKustoDatabase_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, @@ -95,7 +95,7 @@ public partial class UpdateAzKustoDatabase_UpdateViaIdentity : global::System.Ma public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase _parameter; /// Class representing a Kusto database. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing a Kusto database.", ValueFromPipeline = true)] @@ -104,8 +104,8 @@ public partial class UpdateAzKustoDatabase_UpdateViaIdentity : global::System.Ma ReadOnly = false, Description = @"Class representing a Kusto database.", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase) })] - public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -133,24 +133,24 @@ public partial class UpdateAzKustoDatabase_UpdateViaIdentity : global::System.Ma /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -397,12 +397,12 @@ public UpdateAzKustoDatabase_UpdateViaIdentity() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -419,7 +419,7 @@ public UpdateAzKustoDatabase_UpdateViaIdentity() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -437,12 +437,12 @@ public UpdateAzKustoDatabase_UpdateViaIdentity() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -454,7 +454,7 @@ public UpdateAzKustoDatabase_UpdateViaIdentity() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateViaIdentityExpanded.cs index f011f3bda460..49273a16fac4 100644 --- a/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateViaIdentityExpanded.cs +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoDatabase_UpdateViaIdentityExpanded.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoDatabase_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase))] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a database.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] public partial class UpdateAzKustoDatabase_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -118,10 +118,10 @@ public partial class UpdateAzKustoDatabase_UpdateViaIdentityExpanded : global::S public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database(); + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database(); /// Class representing a Kusto database. - private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } /// /// The instance of the that the remote call will use. @@ -149,24 +149,24 @@ public partial class UpdateAzKustoDatabase_UpdateViaIdentityExpanded : global::S /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -413,12 +413,12 @@ public UpdateAzKustoDatabase_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -435,7 +435,7 @@ public UpdateAzKustoDatabase_UpdateViaIdentityExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -453,12 +453,12 @@ public UpdateAzKustoDatabase_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a the body result as a from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -470,7 +470,7 @@ public UpdateAzKustoDatabase_UpdateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase WriteObject((await response)); } } diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoScript_Update.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoScript_Update.cs new file mode 100644 index 000000000000..62a3223b3da5 --- /dev/null +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoScript_Update.cs @@ -0,0 +1,512 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Updates a database script. + /// + /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoScript_Update", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a database script.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class UpdateAzKustoScript_Update : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// Backing field for property. + private string _clusterName; + + /// The name of the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ClusterName { get => this._clusterName; set => this._clusterName = value; } + + /// Backing field for property. + private string _databaseName; + + /// The name of the database in the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the database in the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the database in the Kusto cluster.", + SerializedName = @"databaseName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the Kusto database script. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto database script.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto database script.", + SerializedName = @"scriptName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ScriptName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript _parameter; + + /// Class representing a database script. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing a database script.", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Class representing a database script.", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript Parameter { get => this._parameter; set => this._parameter = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group containing the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group containing the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group containing the Kusto cluster.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of + /// the URI for every service call. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzKustoScript_Update + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.UpdateAzKustoScript_Update Clone() + { + var clone = new UpdateAzKustoScript_Update(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.ClusterName = this.ClusterName; + clone.DatabaseName = this.DatabaseName; + clone.Name = this.Name; + clone.Parameter = this.Parameter; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ScriptsUpdate' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ScriptsUpdate(SubscriptionId, ResourceGroupName, ClusterName, DatabaseName, Name, Parameter, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterName=ClusterName,DatabaseName=DatabaseName,Name=Name,body=Parameter}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public UpdateAzKustoScript_Update() + { + + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateExpanded.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateExpanded.cs new file mode 100644 index 000000000000..adaf33c1022e --- /dev/null +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateExpanded.cs @@ -0,0 +1,549 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Updates a database script. + /// + /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoScript_UpdateExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a database script.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class UpdateAzKustoScript_UpdateExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// Backing field for property. + private string _clusterName; + + /// The name of the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ClusterName { get => this._clusterName; set => this._clusterName = value; } + + /// Flag that indicates whether to continue if one of the command fails. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag that indicates whether to continue if one of the command fails.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag that indicates whether to continue if one of the command fails.", + SerializedName = @"continueOnErrors", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter ContinueOnError { get => ParametersBody.ContinueOnError ?? default(global::System.Management.Automation.SwitchParameter); set => ParametersBody.ContinueOnError = value; } + + /// Backing field for property. + private string _databaseName; + + /// The name of the database in the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the database in the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the database in the Kusto cluster.", + SerializedName = @"databaseName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string DatabaseName { get => this._databaseName; set => this._databaseName = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// A unique string. If changed the script will be applied again. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A unique string. If changed the script will be applied again.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A unique string. If changed the script will be applied again.", + SerializedName = @"forceUpdateTag", + PossibleTypes = new [] { typeof(string) })] + public string ForceUpdateTag { get => ParametersBody.ForceUpdateTag ?? null; set => ParametersBody.ForceUpdateTag = value; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the Kusto database script. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Kusto database script.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Kusto database script.", + SerializedName = @"scriptName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ScriptName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Script(); + + /// Class representing a database script. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group containing the Kusto cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group containing the Kusto cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group containing the Kusto cluster.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// The url to the KQL script blob file. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The url to the KQL script blob file.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The url to the KQL script blob file.", + SerializedName = @"scriptUrl", + PossibleTypes = new [] { typeof(string) })] + public string ScriptUrl { get => ParametersBody.Url ?? null; set => ParametersBody.Url = value; } + + /// The SaS token. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The SaS token.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The SaS token.", + SerializedName = @"scriptUrlSasToken", + PossibleTypes = new [] { typeof(string) })] + public string ScriptUrlSasToken { get => ParametersBody.UrlSasToken ?? null; set => ParametersBody.UrlSasToken = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// + /// Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of + /// the URI for every service call. + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.")] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzKustoScript_UpdateExpanded + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.UpdateAzKustoScript_UpdateExpanded Clone() + { + var clone = new UpdateAzKustoScript_UpdateExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.ParametersBody = this.ParametersBody; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.ClusterName = this.ClusterName; + clone.DatabaseName = this.DatabaseName; + clone.Name = this.Name; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ScriptsUpdate' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ScriptsUpdate(SubscriptionId, ResourceGroupName, ClusterName, DatabaseName, Name, ParametersBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterName=ClusterName,DatabaseName=DatabaseName,Name=Name,body=ParametersBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public UpdateAzKustoScript_UpdateExpanded() + { + + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, body=ParametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ClusterName=ClusterName, DatabaseName=DatabaseName, Name=Name, body=ParametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateViaIdentity.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateViaIdentity.cs new file mode 100644 index 000000000000..693d69006be4 --- /dev/null +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateViaIdentity.cs @@ -0,0 +1,465 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Updates a database script. + /// + /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoScript_UpdateViaIdentity", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a database script.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class UpdateAzKustoScript_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript _parameter; + + /// Class representing a database script. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Class representing a database script.", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Class representing a database script.", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript) })] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript Parameter { get => this._parameter; set => this._parameter = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzKustoScript_UpdateViaIdentity + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.UpdateAzKustoScript_UpdateViaIdentity Clone() + { + var clone = new UpdateAzKustoScript_UpdateViaIdentity(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.Parameter = this.Parameter; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ScriptsUpdate' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.ScriptsUpdateViaIdentity(InputObject.Id, Parameter, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.DatabaseName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.DatabaseName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ScriptName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ScriptName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.ScriptsUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ClusterName ?? null, InputObject.DatabaseName ?? null, InputObject.ScriptName ?? null, Parameter, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public UpdateAzKustoScript_UpdateViaIdentity() + { + + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateViaIdentityExpanded.cs b/src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateViaIdentityExpanded.cs new file mode 100644 index 000000000000..a870ea6824b2 --- /dev/null +++ b/src/Kusto/generated/cmdlets/UpdateAzKustoScript_UpdateViaIdentityExpanded.cs @@ -0,0 +1,502 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; + + /// Updates a database script. + /// + /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/Clusters/{clusterName}/Databases/{databaseName}/scripts/{scriptName}" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzKustoScript_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Description(@"Updates a database script.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Generated] + public partial class UpdateAzKustoScript_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Kusto Client => Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.ClientAPI; + + /// Flag that indicates whether to continue if one of the command fails. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag that indicates whether to continue if one of the command fails.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag that indicates whether to continue if one of the command fails.", + SerializedName = @"continueOnErrors", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter ContinueOnError { get => ParametersBody.ContinueOnError ?? default(global::System.Management.Automation.SwitchParameter); set => ParametersBody.ContinueOnError = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// A unique string. If changed the script will be applied again. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A unique string. If changed the script will be applied again.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A unique string. If changed the script will be applied again.", + SerializedName = @"forceUpdateTag", + PossibleTypes = new [] { typeof(string) })] + public string ForceUpdateTag { get => ParametersBody.ForceUpdateTag ?? null; set => ParametersBody.ForceUpdateTag = value; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Script(); + + /// Class representing a database script. + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// The url to the KQL script blob file. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The url to the KQL script blob file.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The url to the KQL script blob file.", + SerializedName = @"scriptUrl", + PossibleTypes = new [] { typeof(string) })] + public string ScriptUrl { get => ParametersBody.Url ?? null; set => ParametersBody.Url = value; } + + /// The SaS token. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The SaS token.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Kusto.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The SaS token.", + SerializedName = @"scriptUrlSasToken", + PossibleTypes = new [] { typeof(string) })] + public string ScriptUrlSasToken { get => ParametersBody.UrlSasToken ?? null; set => ParametersBody.UrlSasToken = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzKustoScript_UpdateViaIdentityExpanded + public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Cmdlets.UpdateAzKustoScript_UpdateViaIdentityExpanded Clone() + { + var clone = new UpdateAzKustoScript_UpdateViaIdentityExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.ParametersBody = this.ParametersBody; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ScriptsUpdate' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.ScriptsUpdateViaIdentity(InputObject.Id, ParametersBody, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.DatabaseName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.DatabaseName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ScriptName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ScriptName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.ScriptsUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ClusterName ?? null, InputObject.DatabaseName ?? null, InputObject.ScriptName ?? null, ParametersBody, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public UpdateAzKustoScript_UpdateViaIdentityExpanded() + { + + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Kusto/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs b/src/Kusto/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs index b6c692fbb739..413eede4da8e 100644 --- a/src/Kusto/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs +++ b/src/Kusto/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs @@ -42,7 +42,7 @@ public class ExportProxyCmdlet : PSCmdlet [ValidateNotNullOrEmpty] public string DocsFolder { get; set; } - [Parameter(Mandatory = true, ParameterSetName = "Docs")] + [Parameter(Mandatory = true)] [ValidateNotNullOrEmpty] public string ExamplesFolder { get; set; } diff --git a/src/Kusto/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs b/src/Kusto/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs index 243a52ebd633..b1b78cac15d9 100644 --- a/src/Kusto/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs +++ b/src/Kusto/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs @@ -12,114 +12,180 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell { - [Cmdlet(VerbsData.Export, "Psd1")] - [DoNotExport] - public class ExportPsd1 : PSCmdlet - { - [Parameter(Mandatory = true)] - [ValidateNotNullOrEmpty] - public string ExportsFolder { get; set; } - - [Parameter(Mandatory = true)] - [ValidateNotNullOrEmpty] - public string CustomFolder { get; set; } - - [Parameter(Mandatory = true)] - [ValidateNotNullOrEmpty] - public string Psd1Path { get; set; } - - [Parameter(Mandatory = true)] - public Guid ModuleGuid { get; set; } - - private static readonly bool IsAzure = Convert.ToBoolean(@"true"); - private const string CustomFolderRelative = "./custom"; - private const string Indent = Psd1Indent; - - protected override void ProcessRecord() + [Cmdlet(VerbsData.Export, "Psd1")] + [DoNotExport] + public class ExportPsd1 : PSCmdlet { - try - { - if (!Directory.Exists(ExportsFolder)) - { - throw new ArgumentException($"Exports folder '{ExportsFolder}' does not exist"); - } + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ExportsFolder { get; set; } - if (!Directory.Exists(CustomFolder)) - { - throw new ArgumentException($"Custom folder '{CustomFolder}' does not exist"); - } + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public string CustomFolder { get; set; } - string version = Convert.ToString(@"0.1.4"); - // Validate the module version should be semantic version - // Following regex is official from https://semver.org/ - Regex rx = new Regex(@"^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$", RegexOptions.Compiled); - if (rx.Matches(version).Count != 1) - { - throw new ArgumentException("Module-version is not a valid Semantic Version"); - } + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Psd1Path { get; set; } - string previewVersion = null; - if (version.Contains('-')) - { - string[] versions = version.Split("-".ToCharArray(), 2); - version = versions[0]; - previewVersion = versions[1]; - } + [Parameter(Mandatory = true)] + public Guid ModuleGuid { get; set; } - var sb = new StringBuilder(); - sb.AppendLine("@{"); - sb.AppendLine($@"{GuidStart} = '{ModuleGuid}'"); - sb.AppendLine($@"{Indent}RootModule = '{"./Az.Kusto.psm1"}'"); - sb.AppendLine($@"{Indent}ModuleVersion = '{version}'"); - sb.AppendLine($@"{Indent}CompatiblePSEditions = 'Core', 'Desktop'"); - sb.AppendLine($@"{Indent}Author = '{"Microsoft Corporation"}'"); - sb.AppendLine($@"{Indent}CompanyName = '{"Microsoft Corporation"}'"); - sb.AppendLine($@"{Indent}Copyright = '{"Microsoft Corporation. All rights reserved."}'"); - sb.AppendLine($@"{Indent}Description = '{"Microsoft Azure PowerShell: Kusto cmdlets"}'"); - sb.AppendLine($@"{Indent}PowerShellVersion = '5.1'"); - sb.AppendLine($@"{Indent}DotNetFrameworkVersion = '4.7.2'"); - sb.AppendLine($@"{Indent}RequiredAssemblies = '{"./bin/Az.Kusto.private.dll"}'"); - - var customFormatPs1xmlFiles = Directory.GetFiles(CustomFolder) - .Where(f => f.EndsWith(".format.ps1xml")) - .Select(f => $"{CustomFolderRelative}/{Path.GetFileName(f)}"); - var formatList = customFormatPs1xmlFiles.Prepend("./Az.Kusto.format.ps1xml").ToPsList(); - sb.AppendLine($@"{Indent}FormatsToProcess = {formatList}"); - - var functionInfos = GetScriptCmdlets(ExportsFolder).ToArray(); - var cmdletsList = functionInfos.Select(fi => fi.Name).Distinct().Append("*").ToPsList(); - sb.AppendLine($@"{Indent}FunctionsToExport = {cmdletsList}"); - var aliasesList = functionInfos.SelectMany(fi => fi.ScriptBlock.Attributes).ToAliasNames().Append("*").ToPsList(); - sb.AppendLine($@"{Indent}AliasesToExport = {aliasesList}"); - - sb.AppendLine($@"{Indent}PrivateData = @{{"); - sb.AppendLine($@"{Indent}{Indent}PSData = @{{"); - - if (previewVersion != null) - { - sb.AppendLine($@"{Indent}{Indent}{Indent}Prerelease = {previewVersion}"); - } - sb.AppendLine($@"{Indent}{Indent}{Indent}Tags = {"Azure ResourceManager ARM PSModule Kusto".Split(' ').ToPsList().NullIfEmpty() ?? "''"}"); - sb.AppendLine($@"{Indent}{Indent}{Indent}LicenseUri = '{"https://aka.ms/azps-license"}'"); - sb.AppendLine($@"{Indent}{Indent}{Indent}ProjectUri = '{"https://github.com/Azure/azure-powershell"}'"); - sb.AppendLine($@"{Indent}{Indent}{Indent}ReleaseNotes = ''"); - var profilesList = ""; - if (IsAzure && !String.IsNullOrEmpty(profilesList)) + private static readonly bool IsAzure = Convert.ToBoolean(@"true"); + private const string CustomFolderRelative = "./custom"; + private const string Indent = Psd1Indent; + private const string Undefined = "undefined"; + private bool IsUndefined(string value) => string.Equals(Undefined, value, StringComparison.OrdinalIgnoreCase); + + protected override void ProcessRecord() { - sb.AppendLine($@"{Indent}{Indent}{Indent}Profiles = {profilesList}"); + try + { + if (!Directory.Exists(ExportsFolder)) + { + throw new ArgumentException($"Exports folder '{ExportsFolder}' does not exist"); + } + + if (!Directory.Exists(CustomFolder)) + { + throw new ArgumentException($"Custom folder '{CustomFolder}' does not exist"); + } + + string version = Convert.ToString(@"0.1.4"); + // Validate the module version should be semantic version + // Following regex is official from https://semver.org/ + Regex rx = new Regex(@"^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$", RegexOptions.Compiled); + if (rx.Matches(version).Count != 1) + { + throw new ArgumentException("Module-version is not a valid Semantic Version"); + } + + string previewVersion = null; + if (version.Contains('-')) + { + string[] versions = version.Split("-".ToCharArray(), 2); + version = versions[0]; + previewVersion = versions[1]; + } + + var sb = new StringBuilder(); + sb.AppendLine("@{"); + sb.AppendLine($@"{GuidStart} = '{ModuleGuid}'"); + sb.AppendLine($@"{Indent}RootModule = '{"./Az.Kusto.psm1"}'"); + sb.AppendLine($@"{Indent}ModuleVersion = '{version}'"); + sb.AppendLine($@"{Indent}CompatiblePSEditions = 'Core', 'Desktop'"); + sb.AppendLine($@"{Indent}Author = '{"Microsoft Corporation"}'"); + sb.AppendLine($@"{Indent}CompanyName = '{"Microsoft Corporation"}'"); + sb.AppendLine($@"{Indent}Copyright = '{"Microsoft Corporation. All rights reserved."}'"); + sb.AppendLine($@"{Indent}Description = '{"Microsoft Azure PowerShell: Kusto cmdlets"}'"); + sb.AppendLine($@"{Indent}PowerShellVersion = '5.1'"); + sb.AppendLine($@"{Indent}DotNetFrameworkVersion = '4.7.2'"); + + // RequiredModules + if (!IsUndefined("undefined")) + { + sb.AppendLine($@"{Indent}RequiredModules = @({"undefined"})"); + } + + // RequiredAssemblies + if (!IsUndefined("undefined")) + { + sb.AppendLine($@"{Indent}RequiredAssemblies = @({"undefined"})"); + } + else + { + sb.AppendLine($@"{Indent}RequiredAssemblies = '{"./bin/Az.Kusto.private.dll"}'"); + } + + // NestedModules + if (!IsUndefined("undefined")) + { + sb.AppendLine($@"{Indent}NestedModules = @({"undefined"})"); + } + + // FormatsToProcess + if (!IsUndefined("undefined")) + { + sb.AppendLine($@"{Indent}FormatsToProcess = @({"undefined"})"); + } + else + { + var customFormatPs1xmlFiles = Directory.GetFiles(CustomFolder) + .Where(f => f.EndsWith(".format.ps1xml")) + .Select(f => $"{CustomFolderRelative}/{Path.GetFileName(f)}"); + var formatList = customFormatPs1xmlFiles.Prepend("./Az.Kusto.format.ps1xml").ToPsList(); + sb.AppendLine($@"{Indent}FormatsToProcess = {formatList}"); + } + + // TypesToProcess + if (!IsUndefined("undefined")) + { + sb.AppendLine($@"{Indent}TypesToProcess = @({"undefined"})"); + } + + // ScriptsToProcess + if (!IsUndefined("undefined")) + { + sb.AppendLine($@"{Indent}ScriptsToProcess = @({"undefined"})"); + } + + var functionInfos = GetScriptCmdlets(ExportsFolder).ToArray(); + // FunctionsToExport + if (!IsUndefined("undefined")) + { + sb.AppendLine($@"{Indent}FunctionsToExport = @({"undefined"})"); + } + else + { + var cmdletsList = functionInfos.Select(fi => fi.Name).Distinct().Append("*").ToPsList(); + sb.AppendLine($@"{Indent}FunctionsToExport = {cmdletsList}"); + } + + // AliasesToExport + if (!IsUndefined("undefined")) + { + sb.AppendLine($@"{Indent}AliasesToExport = @({"undefined"})"); + } + else + { + var aliasesList = functionInfos.SelectMany(fi => fi.ScriptBlock.Attributes).ToAliasNames().Append("*").ToPsList(); + sb.AppendLine($@"{Indent}AliasesToExport = {aliasesList}"); + } + + // CmdletsToExport + if (!IsUndefined("undefined")) + { + sb.AppendLine($@"{Indent}CmdletsToExport = @({"undefined"})"); + } + + sb.AppendLine($@"{Indent}PrivateData = @{{"); + sb.AppendLine($@"{Indent}{Indent}PSData = @{{"); + + if (previewVersion != null) + { + sb.AppendLine($@"{Indent}{Indent}{Indent}Prerelease = {previewVersion}"); + } + sb.AppendLine($@"{Indent}{Indent}{Indent}Tags = {"Azure ResourceManager ARM PSModule Kusto".Split(' ').ToPsList().NullIfEmpty() ?? "''"}"); + sb.AppendLine($@"{Indent}{Indent}{Indent}LicenseUri = '{"https://aka.ms/azps-license"}'"); + sb.AppendLine($@"{Indent}{Indent}{Indent}ProjectUri = '{"https://github.com/Azure/azure-powershell"}'"); + sb.AppendLine($@"{Indent}{Indent}{Indent}ReleaseNotes = ''"); + var profilesList = ""; + if (IsAzure && !String.IsNullOrEmpty(profilesList)) + { + sb.AppendLine($@"{Indent}{Indent}{Indent}Profiles = {profilesList}"); + } + + sb.AppendLine($@"{Indent}{Indent}}}"); + sb.AppendLine($@"{Indent}}}"); + sb.AppendLine(@"}"); + + File.WriteAllText(Psd1Path, sb.ToString()); + } + catch (Exception ee) + { + Console.WriteLine($"${ee.GetType().Name}/{ee.StackTrace}"); + throw ee; + } } - - sb.AppendLine($@"{Indent}{Indent}}}"); - sb.AppendLine($@"{Indent}}}"); - sb.AppendLine(@"}"); - - File.WriteAllText(Psd1Path, sb.ToString()); - } - catch (Exception ee) - { - Console.WriteLine($"${ee.GetType().Name}/{ee.StackTrace}"); - throw ee; - } } - } } diff --git a/src/Kusto/generated/runtime/BuildTime/MarkdownRenderer.cs b/src/Kusto/generated/runtime/BuildTime/MarkdownRenderer.cs index 184057e7552c..32df1a422d0c 100644 --- a/src/Kusto/generated/runtime/BuildTime/MarkdownRenderer.cs +++ b/src/Kusto/generated/runtime/BuildTime/MarkdownRenderer.cs @@ -79,7 +79,7 @@ public static void WriteMarkdowns(IEnumerable variantGroups, PsMod sb.Append($"ALIASES{Environment.NewLine}{Environment.NewLine}"); foreach (var alias in markdownInfo.Aliases) { - sb.Append($"### {alias}{Environment.NewLine}{Environment.NewLine}"); + sb.Append($"{alias}{Environment.NewLine}{Environment.NewLine}"); } if (markdownInfo.ComplexInterfaceInfos.Any()) { diff --git a/src/Kusto/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs b/src/Kusto/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs index d65d8722dc5b..87c5db1a2a5c 100644 --- a/src/Kusto/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs +++ b/src/Kusto/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs @@ -113,7 +113,7 @@ internal class ModulePageMetadataOutput { public PsModuleHelpInfo ModuleInfo { get; } - private static string HelpLinkPrefix { get; } = @"https://docs.microsoft.com/en-us/powershell/module/"; + private static string HelpLinkPrefix { get; } = @"https://docs.microsoft.com/powershell/module/"; public ModulePageMetadataOutput(PsModuleHelpInfo moduleInfo) { diff --git a/src/Kusto/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/src/Kusto/generated/runtime/BuildTime/Models/PsProxyTypes.cs index 2d3b54ba16ce..6dced70ac6a9 100644 --- a/src/Kusto/generated/runtime/BuildTime/Models/PsProxyTypes.cs +++ b/src/Kusto/generated/runtime/BuildTime/Models/PsProxyTypes.cs @@ -363,7 +363,7 @@ internal class CommentInfo public string OnlineVersion { get; } public string[] RelatedLinks { get; } - private const string HelpLinkPrefix = @"https://docs.microsoft.com/en-us/powershell/module/"; + private const string HelpLinkPrefix = @"https://docs.microsoft.com/powershell/module/"; public CommentInfo(VariantGroup variantGroup) { diff --git a/src/Kusto/generated/runtime/Extensions.cs b/src/Kusto/generated/runtime/Extensions.cs index 31b029947d32..e7cb393a0352 100644 --- a/src/Kusto/generated/runtime/Extensions.cs +++ b/src/Kusto/generated/runtime/Extensions.cs @@ -50,7 +50,7 @@ internal static void AddIf(T value, string serializedName, System.Actionthe HttpResponseMessage to fetch a header from /// the header name /// the first header value as a string from an HttpReponseMessage. string.empty if there is no header value matching - internal static string GetFirstHeader(this System.Net.Http.HttpResponseMessage response, string headerName) => response.Headers.FirstOrDefault(each => headerName == each.Key).Value?.FirstOrDefault() ?? string.Empty; + internal static string GetFirstHeader(this System.Net.Http.HttpResponseMessage response, string headerName) => response.Headers.FirstOrDefault(each => string.Equals(headerName, each.Key, System.StringComparison.OrdinalIgnoreCase)).Value?.FirstOrDefault() ?? string.Empty; /// /// Sets the Synchronization Context to null, and returns an IDisposable that when disposed, diff --git a/src/Kusto/generated/runtime/PipelineMocking.cs b/src/Kusto/generated/runtime/PipelineMocking.cs index f2ea471dee7a..136f38b19bf3 100644 --- a/src/Kusto/generated/runtime/PipelineMocking.cs +++ b/src/Kusto/generated/runtime/PipelineMocking.cs @@ -81,9 +81,9 @@ public void PushScenario(string it) internal static IEnumerable> FilterHeaders(IEnumerable>> headers) => headers.Select(header => new KeyValuePair(header.Key, Blacklist.Contains(header.Key) ? Removed : new XImmutableArray(header.Value.ToArray()))); - internal static JsonNode SerializeContent(HttpContent content) => content == null ? XNull.Instance : SerializeContent(content.ReadAsByteArrayAsync().Result); + internal static JsonNode SerializeContent(HttpContent content, ref bool isBase64) => content == null ? XNull.Instance : SerializeContent(content.ReadAsByteArrayAsync().Result, ref isBase64); - internal static JsonNode SerializeContent(byte[] content) + internal static JsonNode SerializeContent(byte[] content, ref bool isBase64) { if (null == content || content.Length == 0) { @@ -102,14 +102,14 @@ internal static JsonNode SerializeContent(byte[] content) return new JsonString(System.Convert.ToBase64String(content)); } - internal static byte[] DeserializeContent(string content) + internal static byte[] DeserializeContent(string content, bool isBase64) { if (string.IsNullOrWhiteSpace(content)) { return new byte[0]; } - if (content.EndsWith("==")) + if (isBase64) { try { @@ -126,11 +126,14 @@ internal static byte[] DeserializeContent(string content) public void SaveMessage(string rqKey, HttpRequestMessage request, HttpResponseMessage response) { var messages = System.IO.File.Exists(this.recordingPath) ? Load() : new JsonObject() ?? new JsonObject(); + bool isBase64Request = false; + bool isBase64Response = false; messages[rqKey] = new JsonObject { { "Request",new JsonObject { { "Method", request.Method.Method }, { "RequestUri", request.RequestUri }, - { "Content", SerializeContent( request.Content) }, + { "Content", SerializeContent( request.Content, ref isBase64Request) }, + { "isContentBase64", isBase64Request }, { "Headers", new JsonObject(FilterHeaders(request.Headers)) }, { "ContentHeaders", request.Content == null ? new JsonObject() : new JsonObject(FilterHeaders(request.Content.Headers))} } }, @@ -138,7 +141,8 @@ public void SaveMessage(string rqKey, HttpRequestMessage request, HttpResponseMe { "StatusCode", (int)response.StatusCode}, { "Headers", new JsonObject(FilterHeaders(response.Headers))}, { "ContentHeaders", new JsonObject(FilterHeaders(response.Content.Headers))}, - { "Content", SerializeContent(response.Content) }, + { "Content", SerializeContent(response.Content, ref isBase64Response) }, + { "isContentBase64", isBase64Response }, }} }; System.IO.File.WriteAllText(this.recordingPath, messages.ToString()); @@ -176,10 +180,12 @@ public HttpResponseMessage LoadMessage(string rqKey) var respMessage = message.Property("Response"); // --------------------------- deserialize response ---------------------------------------------------------------- + bool isBase64Response = false; + respMessage.BooleanProperty("isContentBase64", ref isBase64Response); var response = new HttpResponseMessage { StatusCode = (HttpStatusCode)respMessage.NumberProperty("StatusCode", ref sc), - Content = new System.Net.Http.ByteArrayContent(DeserializeContent(respMessage.StringProperty("Content"))) + Content = new System.Net.Http.ByteArrayContent(DeserializeContent(respMessage.StringProperty("Content"), isBase64Response)) }; foreach (var each in respMessage.Property("Headers")) @@ -199,11 +205,13 @@ public HttpResponseMessage LoadMessage(string rqKey) } // --------------------------- deserialize request ---------------------------------------------------------------- + bool isBase64Request = false; + reqMessage.BooleanProperty("isContentBase64", ref isBase64Request); response.RequestMessage = new HttpRequestMessage { Method = new HttpMethod(reqMessage.StringProperty("Method")), RequestUri = new System.Uri(reqMessage.StringProperty("RequestUri")), - Content = new System.Net.Http.ByteArrayContent(DeserializeContent(reqMessage.StringProperty("Content"))) + Content = new System.Net.Http.ByteArrayContent(DeserializeContent(reqMessage.StringProperty("Content"), isBase64Request)) }; foreach (var each in reqMessage.Property("Headers")) diff --git a/src/Kusto/generated/runtime/UndeclaredResponseException.cs b/src/Kusto/generated/runtime/UndeclaredResponseException.cs index ddc786cdb586..5f08a3caa935 100644 --- a/src/Kusto/generated/runtime/UndeclaredResponseException.cs +++ b/src/Kusto/generated/runtime/UndeclaredResponseException.cs @@ -42,8 +42,13 @@ public RestException(System.Net.Http.HttpResponseMessage response) // try to parse the body as JSON, and see if a code and message are in there. var json = Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonNode.Parse(ResponseBody) as Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject; + // error message could be in properties.statusMessage + { message = If(json?.Property("properties"), out var p) + && If(p?.PropertyT("statusMessage"), out var sm) + ? (string)sm : (string)Message; } + // see if there is an error block in the body - json = json.Property("error") ?? json; + json = json?.Property("error") ?? json; { Code = If(json?.PropertyT("code"), out var c) ? (string)c : (string)StatusCode.ToString(); } { message = If(json?.PropertyT("message"), out var m) ? (string)m : (string)Message; } diff --git a/src/Kusto/help/Add-AzKustoClusterLanguageExtension.md b/src/Kusto/help/Add-AzKustoClusterLanguageExtension.md index d372e31d2b64..b3a01b353b96 100644 --- a/src/Kusto/help/Add-AzKustoClusterLanguageExtension.md +++ b/src/Kusto/help/Add-AzKustoClusterLanguageExtension.md @@ -166,7 +166,7 @@ The list of language extensions. To construct, see NOTES section for VALUE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] Parameter Sets: (All) Aliases: @@ -234,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 language extensions. diff --git a/src/Kusto/help/Add-AzKustoDatabasePrincipal.md b/src/Kusto/help/Add-AzKustoDatabasePrincipal.md index afac2c303c78..ee9af23ebcf0 100644 --- a/src/Kusto/help/Add-AzKustoDatabasePrincipal.md +++ b/src/Kusto/help/Add-AzKustoDatabasePrincipal.md @@ -141,7 +141,7 @@ The list of Kusto database principals. To construct, see NOTES section for VALUE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Parameter Sets: (All) Aliases: @@ -192,7 +192,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal ## NOTES @@ -209,9 +209,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. diff --git a/src/Kusto/help/Az.Kusto.md b/src/Kusto/help/Az.Kusto.md index c3a9b9706064..1ab3d80334e6 100644 --- a/src/Kusto/help/Az.Kusto.md +++ b/src/Kusto/help/Az.Kusto.md @@ -47,6 +47,12 @@ Gets a Kusto cluster database principalAssignment. ### [Get-AzKustoDataConnection](Get-AzKustoDataConnection.md) Returns a data connection. +### [Get-AzKustoOperationsResult](Get-AzKustoOperationsResult.md) +Returns operation results. + +### [Get-AzKustoScript](Get-AzKustoScript.md) +Gets a Kusto cluster database script. + ### [Invoke-AzKustoDataConnectionValidation](Invoke-AzKustoDataConnectionValidation.md) Checks that the data connection parameters are valid. @@ -74,6 +80,9 @@ Creates a Kusto cluster database principalAssignment. ### [New-AzKustoDataConnection](New-AzKustoDataConnection.md) Creates or updates a data connection. +### [New-AzKustoScript](New-AzKustoScript.md) +Creates a Kusto database script. + ### [Remove-AzKustoAttachedDatabaseConfiguration](Remove-AzKustoAttachedDatabaseConfiguration.md) Deletes the attached database configuration with the given name. @@ -98,6 +107,9 @@ Deletes a Kusto principalAssignment. ### [Remove-AzKustoDataConnection](Remove-AzKustoDataConnection.md) Deletes the data connection with the given name. +### [Remove-AzKustoScript](Remove-AzKustoScript.md) +Deletes a Kusto principalAssignment. + ### [Start-AzKustoCluster](Start-AzKustoCluster.md) Starts a Kusto cluster. @@ -119,6 +131,9 @@ Checks that the database principal assignment is valid and is not already in use ### [Test-AzKustoDataConnectionNameAvailability](Test-AzKustoDataConnectionNameAvailability.md) Checks that the data connection name is valid and is not already in use. +### [Test-AzKustoScriptNameAvailability](Test-AzKustoScriptNameAvailability.md) +Checks that the script name is valid and is not already in use. + ### [Update-AzKustoCluster](Update-AzKustoCluster.md) Update a Kusto cluster. @@ -128,3 +143,6 @@ Updates a database. ### [Update-AzKustoDataConnection](Update-AzKustoDataConnection.md) Updates a data connection. +### [Update-AzKustoScript](Update-AzKustoScript.md) +Updates a database script. + diff --git a/src/Kusto/help/Get-AzKustoAttachedDatabaseConfiguration.md b/src/Kusto/help/Get-AzKustoAttachedDatabaseConfiguration.md index 86345a5114d6..221f3930f986 100644 --- a/src/Kusto/help/Get-AzKustoAttachedDatabaseConfiguration.md +++ b/src/Kusto/help/Get-AzKustoAttachedDatabaseConfiguration.md @@ -160,7 +160,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration ## NOTES @@ -177,9 +177,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. ## RELATED LINKS diff --git a/src/Kusto/help/Get-AzKustoCluster.md b/src/Kusto/help/Get-AzKustoCluster.md index 9a4166df3e36..5b98828ed319 100644 --- a/src/Kusto/help/Get-AzKustoCluster.md +++ b/src/Kusto/help/Get-AzKustoCluster.md @@ -150,7 +150,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster ## NOTES @@ -167,9 +167,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. ## RELATED LINKS diff --git a/src/Kusto/help/Get-AzKustoClusterFollowerDatabase.md b/src/Kusto/help/Get-AzKustoClusterFollowerDatabase.md index 3c2ef8dc3f4c..260ddb38d82f 100644 --- a/src/Kusto/help/Get-AzKustoClusterFollowerDatabase.md +++ b/src/Kusto/help/Get-AzKustoClusterFollowerDatabase.md @@ -134,7 +134,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition ## NOTES diff --git a/src/Kusto/help/Get-AzKustoClusterLanguageExtension.md b/src/Kusto/help/Get-AzKustoClusterLanguageExtension.md index 1163473cc281..468b0e521b99 100644 --- a/src/Kusto/help/Get-AzKustoClusterLanguageExtension.md +++ b/src/Kusto/help/Get-AzKustoClusterLanguageExtension.md @@ -135,7 +135,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension ## NOTES diff --git a/src/Kusto/help/Get-AzKustoClusterPrincipalAssignment.md b/src/Kusto/help/Get-AzKustoClusterPrincipalAssignment.md index 6c997e852602..32c2f3f0de00 100644 --- a/src/Kusto/help/Get-AzKustoClusterPrincipalAssignment.md +++ b/src/Kusto/help/Get-AzKustoClusterPrincipalAssignment.md @@ -160,7 +160,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment ## NOTES @@ -177,9 +177,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. ## RELATED LINKS diff --git a/src/Kusto/help/Get-AzKustoClusterSku.md b/src/Kusto/help/Get-AzKustoClusterSku.md index df0a353e2240..bb70c1ce4b36 100644 --- a/src/Kusto/help/Get-AzKustoClusterSku.md +++ b/src/Kusto/help/Get-AzKustoClusterSku.md @@ -157,9 +157,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription ## NOTES diff --git a/src/Kusto/help/Get-AzKustoDataConnection.md b/src/Kusto/help/Get-AzKustoDataConnection.md index 35850170c2cc..744e09941267 100644 --- a/src/Kusto/help/Get-AzKustoDataConnection.md +++ b/src/Kusto/help/Get-AzKustoDataConnection.md @@ -174,7 +174,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection ## NOTES @@ -191,9 +191,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. ## RELATED LINKS diff --git a/src/Kusto/help/Get-AzKustoDatabase.md b/src/Kusto/help/Get-AzKustoDatabase.md index 27dcf585252c..61e2a015bcaa 100644 --- a/src/Kusto/help/Get-AzKustoDatabase.md +++ b/src/Kusto/help/Get-AzKustoDatabase.md @@ -160,7 +160,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase ## NOTES @@ -177,9 +177,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. ## RELATED LINKS diff --git a/src/Kusto/help/Get-AzKustoDatabasePrincipal.md b/src/Kusto/help/Get-AzKustoDatabasePrincipal.md index 823e59a7ad3b..d135c5171b2a 100644 --- a/src/Kusto/help/Get-AzKustoDatabasePrincipal.md +++ b/src/Kusto/help/Get-AzKustoDatabasePrincipal.md @@ -150,7 +150,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal ## NOTES diff --git a/src/Kusto/help/Get-AzKustoDatabasePrincipalAssignment.md b/src/Kusto/help/Get-AzKustoDatabasePrincipalAssignment.md index 6f20ed9d6b60..b60567b2b5e7 100644 --- a/src/Kusto/help/Get-AzKustoDatabasePrincipalAssignment.md +++ b/src/Kusto/help/Get-AzKustoDatabasePrincipalAssignment.md @@ -178,7 +178,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment ## NOTES @@ -195,9 +195,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. ## RELATED LINKS diff --git a/src/Kusto/help/Get-AzKustoOperationsResult.md b/src/Kusto/help/Get-AzKustoOperationsResult.md new file mode 100644 index 000000000000..721dacfc0142 --- /dev/null +++ b/src/Kusto/help/Get-AzKustoOperationsResult.md @@ -0,0 +1,162 @@ +--- +external help file: +Module Name: Az.Kusto +online version: https://docs.microsoft.com/powershell/module/az.kusto/get-azkustooperationsresult +schema: 2.0.0 +--- + +# Get-AzKustoOperationsResult + +## SYNOPSIS +Returns operation results. + +## SYNTAX + +### Get (Default) +``` +Get-AzKustoOperationsResult -Location -OperationId [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzKustoOperationsResult -InputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Returns operation results. + +## EXAMPLES + +### 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 }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Location +Azure location (region) name. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +The Guid of the operation ID + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Gets subscription credentials which uniquely identify Microsoft Azure subscription. +The subscription ID forms part of the URI for every service call. + +```yaml +Type: System.String[] +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult + +## NOTES + +ALIASES + +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. + +## RELATED LINKS + diff --git a/src/Kusto/help/Get-AzKustoScript.md b/src/Kusto/help/Get-AzKustoScript.md new file mode 100644 index 000000000000..71f1881d30d1 --- /dev/null +++ b/src/Kusto/help/Get-AzKustoScript.md @@ -0,0 +1,198 @@ +--- +external help file: +Module Name: Az.Kusto +online version: https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoscript +schema: 2.0.0 +--- + +# Get-AzKustoScript + +## SYNOPSIS +Gets a Kusto cluster database script. + +## SYNTAX + +### List (Default) +``` +Get-AzKustoScript -ClusterName -DatabaseName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzKustoScript -ClusterName -DatabaseName -Name -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzKustoScript -InputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets a Kusto cluster database script. + +## EXAMPLES + +### 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 }} + +## PARAMETERS + +### -ClusterName +The name of the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The name of the database in the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the Kusto database script. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ScriptName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group containing the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Gets subscription credentials which uniquely identify Microsoft Azure subscription. +The subscription ID forms part of the URI for every service call. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + +## NOTES + +ALIASES + +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. + +## RELATED LINKS + diff --git a/src/Kusto/help/Invoke-AzKustoDataConnectionValidation.md b/src/Kusto/help/Invoke-AzKustoDataConnectionValidation.md index 26302c4f2d0b..d64af960c856 100644 --- a/src/Kusto/help/Invoke-AzKustoDataConnectionValidation.md +++ b/src/Kusto/help/Invoke-AzKustoDataConnectionValidation.md @@ -517,7 +517,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult ## NOTES @@ -534,9 +534,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. ## RELATED LINKS diff --git a/src/Kusto/help/Invoke-AzKustoDetachClusterFollowerDatabase.md b/src/Kusto/help/Invoke-AzKustoDetachClusterFollowerDatabase.md index b9c053648881..0f906e02ccba 100644 --- a/src/Kusto/help/Invoke-AzKustoDetachClusterFollowerDatabase.md +++ b/src/Kusto/help/Invoke-AzKustoDetachClusterFollowerDatabase.md @@ -250,9 +250,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. ## RELATED LINKS diff --git a/src/Kusto/help/Invoke-AzKustoDiagnoseClusterVirtualNetwork.md b/src/Kusto/help/Invoke-AzKustoDiagnoseClusterVirtualNetwork.md index 4d440ab83d32..24e686cb9b77 100644 --- a/src/Kusto/help/Invoke-AzKustoDiagnoseClusterVirtualNetwork.md +++ b/src/Kusto/help/Invoke-AzKustoDiagnoseClusterVirtualNetwork.md @@ -204,9 +204,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. ## RELATED LINKS diff --git a/src/Kusto/help/New-AzKustoAttachedDatabaseConfiguration.md b/src/Kusto/help/New-AzKustoAttachedDatabaseConfiguration.md index 58a6697a5305..624848be48f7 100644 --- a/src/Kusto/help/New-AzKustoAttachedDatabaseConfiguration.md +++ b/src/Kusto/help/New-AzKustoAttachedDatabaseConfiguration.md @@ -16,6 +16,11 @@ Creates or updates an attached database configuration. New-AzKustoAttachedDatabaseConfiguration -ClusterName -Name -ResourceGroupName [-SubscriptionId ] [-ClusterResourceId ] [-DatabaseName ] [-DefaultPrincipalsModificationKind ] [-Location ] + [-TableLevelSharingPropertyExternalTablesToExclude ] + [-TableLevelSharingPropertyExternalTablesToInclude ] + [-TableLevelSharingPropertyMaterializedViewsToExclude ] + [-TableLevelSharingPropertyMaterializedViewsToInclude ] + [-TableLevelSharingPropertyTablesToExclude ] [-TableLevelSharingPropertyTablesToInclude ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -204,6 +209,96 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -TableLevelSharingPropertyExternalTablesToExclude +List of external tables exclude from the follower database + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TableLevelSharingPropertyExternalTablesToInclude +List of external tables to include in the follower database + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TableLevelSharingPropertyMaterializedViewsToExclude +List of materialized views exclude from the follower database + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TableLevelSharingPropertyMaterializedViewsToInclude +List of materialized views to include in the follower database + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TableLevelSharingPropertyTablesToExclude +List of tables to exclude from the follower database + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TableLevelSharingPropertyTablesToInclude +List of tables to include in the follower database + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -242,7 +337,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration ## NOTES diff --git a/src/Kusto/help/New-AzKustoCluster.md b/src/Kusto/help/New-AzKustoCluster.md index bacd99513e30..e6bb00b8c479 100644 --- a/src/Kusto/help/New-AzKustoCluster.md +++ b/src/Kusto/help/New-AzKustoCluster.md @@ -14,11 +14,11 @@ Create or update a Kusto cluster. ``` New-AzKustoCluster -Name -ResourceGroupName -Location -SkuName - -SkuTier [-SubscriptionId ] [-EnableDiskEncryption] [-EnableDoubleEncryption] - [-EnablePurge] [-EnableStreamingIngest] [-EngineType ] [-IdentityType ] - [-IdentityUserAssignedIdentity ] [-KeyVaultPropertyKeyName ] - [-KeyVaultPropertyKeyVaultUri ] [-KeyVaultPropertyKeyVersion ] - [-KeyVaultPropertyUserIdentity ] [-LanguageExtensionValue ] + -SkuTier [-SubscriptionId ] [-IfMatch ] [-IfNoneMatch ] + [-EnableDiskEncryption] [-EnableDoubleEncryption] [-EnablePurge] [-EnableStreamingIngest] + [-EngineType ] [-IdentityType ] [-IdentityUserAssignedIdentity ] + [-KeyVaultPropertyKeyName ] [-KeyVaultPropertyKeyVaultUri ] + [-KeyVaultPropertyKeyVersion ] [-KeyVaultPropertyUserIdentity ] [-OptimizedAutoscaleIsEnabled] [-OptimizedAutoscaleMaximum ] [-OptimizedAutoscaleMinimum ] [-OptimizedAutoscaleVersion ] [-SkuCapacity ] [-Tag ] [-TrustedExternalTenant ] @@ -183,8 +183,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -KeyVaultPropertyKeyName -The name of the key vault key. +### -IfMatch +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. ```yaml Type: System.String @@ -198,8 +200,9 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -KeyVaultPropertyKeyVaultUri -The Uri of the key vault. +### -IfNoneMatch +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. ```yaml Type: System.String @@ -213,8 +216,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -KeyVaultPropertyKeyVersion -The version of the key vault key. +### -KeyVaultPropertyKeyName +The name of the key vault key. ```yaml Type: System.String @@ -228,8 +231,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -KeyVaultPropertyUserIdentity -The user assigned identity (ARM resource id) that has access to the key. +### -KeyVaultPropertyKeyVaultUri +The Uri of the key vault. ```yaml Type: System.String @@ -243,12 +246,26 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -LanguageExtensionValue -The list of language extensions. -To construct, see NOTES section for LANGUAGEEXTENSIONVALUE properties and create a hash table. +### -KeyVaultPropertyKeyVersion +The version of the key vault key. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyVaultPropertyUserIdentity +The user assigned identity (ARM resource id) that has access to the key. + +```yaml +Type: System.String Parameter Sets: (All) Aliases: @@ -460,7 +477,7 @@ The cluster's external tenants. To construct, see NOTES section for TRUSTEDEXTERNALTENANT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] Parameter Sets: (All) Aliases: @@ -569,7 +586,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster ## NOTES @@ -580,9 +597,6 @@ 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. diff --git a/src/Kusto/help/New-AzKustoClusterPrincipalAssignment.md b/src/Kusto/help/New-AzKustoClusterPrincipalAssignment.md index ed7c424cb502..5639d68fa578 100644 --- a/src/Kusto/help/New-AzKustoClusterPrincipalAssignment.md +++ b/src/Kusto/help/New-AzKustoClusterPrincipalAssignment.md @@ -242,7 +242,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment ## NOTES diff --git a/src/Kusto/help/New-AzKustoDataConnection.md b/src/Kusto/help/New-AzKustoDataConnection.md index b922c500f54b..3f734104a3e4 100644 --- a/src/Kusto/help/New-AzKustoDataConnection.md +++ b/src/Kusto/help/New-AzKustoDataConnection.md @@ -471,7 +471,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection ## NOTES diff --git a/src/Kusto/help/New-AzKustoDatabase.md b/src/Kusto/help/New-AzKustoDatabase.md index 5b987ae58136..4c680f3c878d 100644 --- a/src/Kusto/help/New-AzKustoDatabase.md +++ b/src/Kusto/help/New-AzKustoDatabase.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Kusto -online version: https://docs.microsoft.com/powershell/module/az.kusto/new-azkustodatabase +online version: https://docs.microsoft.com/en-us/powershell/module/az.kusto/new-azkustodatabase schema: 2.0.0 --- @@ -23,16 +23,23 @@ Creates or updates a database. ## EXAMPLES -### 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 }} ## PARAMETERS @@ -240,7 +247,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase ## NOTES diff --git a/src/Kusto/help/New-AzKustoDatabasePrincipalAssignment.md b/src/Kusto/help/New-AzKustoDatabasePrincipalAssignment.md index 1ce194cfa0f4..7ed5cf220714 100644 --- a/src/Kusto/help/New-AzKustoDatabasePrincipalAssignment.md +++ b/src/Kusto/help/New-AzKustoDatabasePrincipalAssignment.md @@ -257,7 +257,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment ## NOTES diff --git a/src/Kusto/help/New-AzKustoScript.md b/src/Kusto/help/New-AzKustoScript.md new file mode 100644 index 000000000000..0ea9ad6eb41d --- /dev/null +++ b/src/Kusto/help/New-AzKustoScript.md @@ -0,0 +1,317 @@ +--- +external help file: +Module Name: Az.Kusto +online version: https://docs.microsoft.com/powershell/module/az.kusto/new-azkustoscript +schema: 2.0.0 +--- + +# New-AzKustoScript + +## SYNOPSIS +Creates a Kusto database script. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzKustoScript -ClusterName -DatabaseName -Name -ResourceGroupName + [-SubscriptionId ] [-ContinueOnError] [-ForceUpdateTag ] [-ScriptUrl ] + [-ScriptUrlSasToken ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### Create +``` +New-AzKustoScript -ClusterName -DatabaseName -Name -ResourceGroupName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a Kusto database script. + +## EXAMPLES + +### 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 }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterName +The name of the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ContinueOnError +Flag that indicates whether to continue if one of the command fails. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The name of the database in the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForceUpdateTag +A unique string. +If changed the script will be applied again. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the Kusto database script. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ScriptName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Class representing a database script. +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript +Parameter Sets: Create +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group containing the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScriptUrl +The url to the KQL script blob file. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScriptUrlSasToken +The SaS token. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Gets subscription credentials which uniquely identify Microsoft Azure subscription. +The subscription ID forms part of the URI for every service call. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + +## NOTES + +ALIASES + +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. + +## RELATED LINKS + diff --git a/src/Kusto/help/Remove-AzKustoAttachedDatabaseConfiguration.md b/src/Kusto/help/Remove-AzKustoAttachedDatabaseConfiguration.md index 8478778617a7..1e9be21c2b16 100644 --- a/src/Kusto/help/Remove-AzKustoAttachedDatabaseConfiguration.md +++ b/src/Kusto/help/Remove-AzKustoAttachedDatabaseConfiguration.md @@ -233,9 +233,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. ## RELATED LINKS diff --git a/src/Kusto/help/Remove-AzKustoCluster.md b/src/Kusto/help/Remove-AzKustoCluster.md index ed7061231a82..218d5fe10cdf 100644 --- a/src/Kusto/help/Remove-AzKustoCluster.md +++ b/src/Kusto/help/Remove-AzKustoCluster.md @@ -217,9 +217,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. ## RELATED LINKS diff --git a/src/Kusto/help/Remove-AzKustoClusterLanguageExtension.md b/src/Kusto/help/Remove-AzKustoClusterLanguageExtension.md index 4cc58e60e1c3..c1b8e92425da 100644 --- a/src/Kusto/help/Remove-AzKustoClusterLanguageExtension.md +++ b/src/Kusto/help/Remove-AzKustoClusterLanguageExtension.md @@ -166,7 +166,7 @@ The list of language extensions. To construct, see NOTES section for VALUE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[] Parameter Sets: (All) Aliases: @@ -234,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 language extensions. diff --git a/src/Kusto/help/Remove-AzKustoClusterPrincipalAssignment.md b/src/Kusto/help/Remove-AzKustoClusterPrincipalAssignment.md index db106360755f..39910cc8afa8 100644 --- a/src/Kusto/help/Remove-AzKustoClusterPrincipalAssignment.md +++ b/src/Kusto/help/Remove-AzKustoClusterPrincipalAssignment.md @@ -233,9 +233,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. ## RELATED LINKS diff --git a/src/Kusto/help/Remove-AzKustoDataConnection.md b/src/Kusto/help/Remove-AzKustoDataConnection.md index 93bbfa026c9e..2c81cb1a4f21 100644 --- a/src/Kusto/help/Remove-AzKustoDataConnection.md +++ b/src/Kusto/help/Remove-AzKustoDataConnection.md @@ -248,9 +248,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. ## RELATED LINKS diff --git a/src/Kusto/help/Remove-AzKustoDatabase.md b/src/Kusto/help/Remove-AzKustoDatabase.md index e16a9af74701..3e1c112e0640 100644 --- a/src/Kusto/help/Remove-AzKustoDatabase.md +++ b/src/Kusto/help/Remove-AzKustoDatabase.md @@ -233,9 +233,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. ## RELATED LINKS diff --git a/src/Kusto/help/Remove-AzKustoDatabasePrincipal.md b/src/Kusto/help/Remove-AzKustoDatabasePrincipal.md index 0716fde6e3c5..9c3ae91cc73c 100644 --- a/src/Kusto/help/Remove-AzKustoDatabasePrincipal.md +++ b/src/Kusto/help/Remove-AzKustoDatabasePrincipal.md @@ -140,7 +140,7 @@ The list of Kusto database principals. To construct, see NOTES section for VALUE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[] Parameter Sets: (All) Aliases: @@ -191,7 +191,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal ## NOTES @@ -208,9 +208,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. diff --git a/src/Kusto/help/Remove-AzKustoDatabasePrincipalAssignment.md b/src/Kusto/help/Remove-AzKustoDatabasePrincipalAssignment.md index 594ffa0ba4e6..fd271272ca9a 100644 --- a/src/Kusto/help/Remove-AzKustoDatabasePrincipalAssignment.md +++ b/src/Kusto/help/Remove-AzKustoDatabasePrincipalAssignment.md @@ -248,9 +248,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. ## RELATED LINKS diff --git a/src/Kusto/help/Remove-AzKustoScript.md b/src/Kusto/help/Remove-AzKustoScript.md new file mode 100644 index 000000000000..3545d62e32a9 --- /dev/null +++ b/src/Kusto/help/Remove-AzKustoScript.md @@ -0,0 +1,270 @@ +--- +external help file: +Module Name: Az.Kusto +online version: https://docs.microsoft.com/powershell/module/az.kusto/remove-azkustoscript +schema: 2.0.0 +--- + +# Remove-AzKustoScript + +## SYNOPSIS +Deletes a Kusto principalAssignment. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzKustoScript -ClusterName -DatabaseName -Name -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzKustoScript -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a Kusto principalAssignment. + +## EXAMPLES + +### 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 }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterName +The name of the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The name of the database in the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the Kusto database script. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ScriptName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group containing the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Gets subscription credentials which uniquely identify Microsoft Azure subscription. +The subscription ID forms part of the URI for every service call. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +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. + +## RELATED LINKS + diff --git a/src/Kusto/help/Start-AzKustoCluster.md b/src/Kusto/help/Start-AzKustoCluster.md index a3dcae0b55e1..7b6624761641 100644 --- a/src/Kusto/help/Start-AzKustoCluster.md +++ b/src/Kusto/help/Start-AzKustoCluster.md @@ -217,9 +217,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. ## RELATED LINKS diff --git a/src/Kusto/help/Stop-AzKustoCluster.md b/src/Kusto/help/Stop-AzKustoCluster.md index 31db0ad6790f..6ab88783ee53 100644 --- a/src/Kusto/help/Stop-AzKustoCluster.md +++ b/src/Kusto/help/Stop-AzKustoCluster.md @@ -217,9 +217,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. ## RELATED LINKS diff --git a/src/Kusto/help/Test-AzKustoClusterNameAvailability.md b/src/Kusto/help/Test-AzKustoClusterNameAvailability.md index 3411bfb3efcd..bbb5c7b02e6f 100644 --- a/src/Kusto/help/Test-AzKustoClusterNameAvailability.md +++ b/src/Kusto/help/Test-AzKustoClusterNameAvailability.md @@ -14,14 +14,14 @@ Checks that the cluster name is valid and is not already in use. ### CheckExpanded (Default) ``` -Test-AzKustoClusterNameAvailability -Location -Name -Type [-SubscriptionId ] +Test-AzKustoClusterNameAvailability -Location -Name [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ### CheckViaIdentityExpanded ``` -Test-AzKustoClusterNameAvailability -InputObject -Name -Type - [-DefaultProfile ] [-Confirm] [-WhatIf] [] +Test-AzKustoClusterNameAvailability -InputObject -Name [-DefaultProfile ] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -85,7 +85,7 @@ Accept wildcard characters: False ``` ### -Location -Azure location. +Azure location (region) name. ```yaml Type: System.String @@ -130,21 +130,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Type -The type of resource, Microsoft.Kusto/clusters. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -185,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult ## NOTES @@ -202,9 +187,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. ## RELATED LINKS diff --git a/src/Kusto/help/Test-AzKustoClusterPrincipalAssignmentNameAvailability.md b/src/Kusto/help/Test-AzKustoClusterPrincipalAssignmentNameAvailability.md index af7480d0e328..e5b2a69c868c 100644 --- a/src/Kusto/help/Test-AzKustoClusterPrincipalAssignmentNameAvailability.md +++ b/src/Kusto/help/Test-AzKustoClusterPrincipalAssignmentNameAvailability.md @@ -15,14 +15,14 @@ Checks that the principal assignment name is valid and is not already in use. ### CheckExpanded (Default) ``` Test-AzKustoClusterPrincipalAssignmentNameAvailability -ClusterName -ResourceGroupName - -Name -Type [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + -Name [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ### CheckViaIdentityExpanded ``` Test-AzKustoClusterPrincipalAssignmentNameAvailability -InputObject -Name - -Type [-DefaultProfile ] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -146,21 +146,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Type -The type of resource, Microsoft.Kusto/Clusters/principalAssignments. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -201,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult ## NOTES @@ -218,9 +203,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. ## RELATED LINKS diff --git a/src/Kusto/help/Test-AzKustoDataConnectionNameAvailability.md b/src/Kusto/help/Test-AzKustoDataConnectionNameAvailability.md index 1e062a6a0074..40fef5447f5a 100644 --- a/src/Kusto/help/Test-AzKustoDataConnectionNameAvailability.md +++ b/src/Kusto/help/Test-AzKustoDataConnectionNameAvailability.md @@ -15,13 +15,13 @@ Checks that the data connection name is valid and is not already in use. ### CheckExpanded (Default) ``` Test-AzKustoDataConnectionNameAvailability -ClusterName -DatabaseName - -ResourceGroupName -Name -Type [-SubscriptionId ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] + -ResourceGroupName -Name [-SubscriptionId ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] ``` ### CheckViaIdentityExpanded ``` -Test-AzKustoDataConnectionNameAvailability -InputObject -Name -Type +Test-AzKustoDataConnectionNameAvailability -InputObject -Name [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` @@ -161,21 +161,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Type -The type of resource, Microsoft.Kusto/Clusters/Databases/dataConnections. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -216,7 +201,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult ## NOTES @@ -233,9 +218,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. ## RELATED LINKS diff --git a/src/Kusto/help/Test-AzKustoDatabaseNameAvailability.md b/src/Kusto/help/Test-AzKustoDatabaseNameAvailability.md index 4c74d521bc93..4de47727b096 100644 --- a/src/Kusto/help/Test-AzKustoDatabaseNameAvailability.md +++ b/src/Kusto/help/Test-AzKustoDatabaseNameAvailability.md @@ -201,7 +201,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult ## NOTES @@ -218,9 +218,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. ## RELATED LINKS diff --git a/src/Kusto/help/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.md b/src/Kusto/help/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.md index 7204fe456b1d..5f128cae5f9b 100644 --- a/src/Kusto/help/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.md +++ b/src/Kusto/help/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.md @@ -15,14 +15,14 @@ Checks that the database principal assignment is valid and is not already in use ### CheckExpanded (Default) ``` Test-AzKustoDatabasePrincipalAssignmentNameAvailability -ClusterName -DatabaseName - -ResourceGroupName -Name -Type [-SubscriptionId ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] + -ResourceGroupName -Name [-SubscriptionId ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] ``` ### CheckViaIdentityExpanded ``` Test-AzKustoDatabasePrincipalAssignmentNameAvailability -InputObject -Name - -Type [-DefaultProfile ] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -161,21 +161,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Type -The type of resource, Microsoft.Kusto/Clusters/Databases/principalAssignments. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Type -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -216,7 +201,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICheckNameResult +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult ## NOTES @@ -233,9 +218,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. ## RELATED LINKS diff --git a/src/Kusto/help/Test-AzKustoScriptNameAvailability.md b/src/Kusto/help/Test-AzKustoScriptNameAvailability.md new file mode 100644 index 000000000000..19220dbcce0b --- /dev/null +++ b/src/Kusto/help/Test-AzKustoScriptNameAvailability.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: Az.Kusto +online version: https://docs.microsoft.com/powershell/module/az.kusto/test-azkustoscriptnameavailability +schema: 2.0.0 +--- + +# Test-AzKustoScriptNameAvailability + +## SYNOPSIS +Checks that the script name is valid and is not already in use. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzKustoScriptNameAvailability -ClusterName -DatabaseName -ResourceGroupName + -Name [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzKustoScriptNameAvailability -InputObject -Name [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Checks that the script name is valid and is not already in use. + +## EXAMPLES + +### 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 }} + +## PARAMETERS + +### -ClusterName +The name of the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The name of the database in the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity +Parameter Sets: CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Script name. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group containing the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Gets subscription credentials which uniquely identify Microsoft Azure subscription. +The subscription ID forms part of the URI for every service call. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICheckNameResult + +## NOTES + +ALIASES + +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. + +## RELATED LINKS + diff --git a/src/Kusto/help/Update-AzKustoCluster.md b/src/Kusto/help/Update-AzKustoCluster.md index a8f2dabe861f..8b5a2a787b13 100644 --- a/src/Kusto/help/Update-AzKustoCluster.md +++ b/src/Kusto/help/Update-AzKustoCluster.md @@ -15,12 +15,11 @@ Update a Kusto cluster. ### UpdateExpanded (Default) ``` Update-AzKustoCluster -Name -ResourceGroupName [-SubscriptionId ] - [-EnableDiskEncryption] [-EnableDoubleEncryption] [-EnablePurge] [-EnableStreamingIngest] + [-IfMatch ] [-EnableDiskEncryption] [-EnableDoubleEncryption] [-EnablePurge] [-EnableStreamingIngest] [-EngineType ] [-IdentityType ] [-IdentityUserAssignedIdentity ] [-KeyVaultPropertyKeyName ] [-KeyVaultPropertyKeyVaultUri ] - [-KeyVaultPropertyKeyVersion ] [-KeyVaultPropertyUserIdentity ] - [-LanguageExtensionValue ] [-Location ] [-OptimizedAutoscaleIsEnabled] - [-OptimizedAutoscaleMaximum ] [-OptimizedAutoscaleMinimum ] + [-KeyVaultPropertyKeyVersion ] [-KeyVaultPropertyUserIdentity ] [-Location ] + [-OptimizedAutoscaleIsEnabled] [-OptimizedAutoscaleMaximum ] [-OptimizedAutoscaleMinimum ] [-OptimizedAutoscaleVersion ] [-SkuCapacity ] [-SkuName ] [-SkuTier ] [-Tag ] [-TrustedExternalTenant ] [-VirtualNetworkConfigurationDataManagementPublicIPId ] @@ -30,15 +29,14 @@ Update-AzKustoCluster -Name -ResourceGroupName [-SubscriptionI ### UpdateViaIdentityExpanded ``` -Update-AzKustoCluster -InputObject [-EnableDiskEncryption] [-EnableDoubleEncryption] - [-EnablePurge] [-EnableStreamingIngest] [-EngineType ] [-IdentityType ] - [-IdentityUserAssignedIdentity ] [-KeyVaultPropertyKeyName ] - [-KeyVaultPropertyKeyVaultUri ] [-KeyVaultPropertyKeyVersion ] - [-KeyVaultPropertyUserIdentity ] [-LanguageExtensionValue ] - [-Location ] [-OptimizedAutoscaleIsEnabled] [-OptimizedAutoscaleMaximum ] - [-OptimizedAutoscaleMinimum ] [-OptimizedAutoscaleVersion ] [-SkuCapacity ] - [-SkuName ] [-SkuTier ] [-Tag ] - [-TrustedExternalTenant ] +Update-AzKustoCluster -InputObject [-IfMatch ] [-EnableDiskEncryption] + [-EnableDoubleEncryption] [-EnablePurge] [-EnableStreamingIngest] [-EngineType ] + [-IdentityType ] [-IdentityUserAssignedIdentity ] + [-KeyVaultPropertyKeyName ] [-KeyVaultPropertyKeyVaultUri ] + [-KeyVaultPropertyKeyVersion ] [-KeyVaultPropertyUserIdentity ] [-Location ] + [-OptimizedAutoscaleIsEnabled] [-OptimizedAutoscaleMaximum ] [-OptimizedAutoscaleMinimum ] + [-OptimizedAutoscaleVersion ] [-SkuCapacity ] [-SkuName ] + [-SkuTier ] [-Tag ] [-TrustedExternalTenant ] [-VirtualNetworkConfigurationDataManagementPublicIPId ] [-VirtualNetworkConfigurationEnginePublicIPId ] [-VirtualNetworkConfigurationSubnetId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] @@ -68,18 +66,8 @@ Location Name Type Zone -------- ---- ---- ---- East US testnewkustocluster Microsoft.Kusto/Clusters ``` -The above command updates the cluster "testnewkustocluster" found in the resource group "testrg" with a customer managed key. - -### Example 3: Update Cluster with TrustedExternalTenant -```powershell -PS C:\> Update-AzKustoCluster -ResourceGroupName testrg -Name testnewkustocluster -TrustedExternalTenant @(@{value="12345678-1234-1234-1234-123456789012"}) -Location Name Type Zone --------- ---- ---- ---- -East US testnewkustocluster Microsoft.Kusto/Clusters -``` - -The above command updates the cluster "testnewkustocluster" found in the resource group "testrg" with the provided Trusted External Tenant. +The above command updates the cluster "testnewkustocluster" found in the resource group "testrg" with a customer managed key. ## PARAMETERS @@ -221,6 +209,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IfMatch +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. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -InputObject Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table. @@ -297,22 +302,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -LanguageExtensionValue -The list of language extensions. -To construct, see NOTES section for LANGUAGEEXTENSIONVALUE properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location Resource location. @@ -514,7 +503,7 @@ The cluster's external tenants. To construct, see NOTES section for TRUSTEDEXTERNALTENANT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[] Parameter Sets: (All) Aliases: @@ -610,7 +599,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster ## NOTES @@ -627,14 +616,13 @@ 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. -LANGUAGEEXTENSIONVALUE : The list of language extensions. - - `[Name ]`: The language extension name. - TRUSTEDEXTERNALTENANT : The cluster's external tenants. - `[Value ]`: GUID representing an external tenant. diff --git a/src/Kusto/help/Update-AzKustoDataConnection.md b/src/Kusto/help/Update-AzKustoDataConnection.md index ee600c9f46f3..72bae85687b5 100644 --- a/src/Kusto/help/Update-AzKustoDataConnection.md +++ b/src/Kusto/help/Update-AzKustoDataConnection.md @@ -534,7 +534,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection ## NOTES @@ -551,9 +551,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. ## RELATED LINKS diff --git a/src/Kusto/help/Update-AzKustoDatabase.md b/src/Kusto/help/Update-AzKustoDatabase.md index 4ff7dc0ca901..39b0647dd4ba 100644 --- a/src/Kusto/help/Update-AzKustoDatabase.md +++ b/src/Kusto/help/Update-AzKustoDatabase.md @@ -307,7 +307,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase ## NOTES @@ -324,9 +324,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. ## RELATED LINKS diff --git a/src/Kusto/help/Update-AzKustoScript.md b/src/Kusto/help/Update-AzKustoScript.md new file mode 100644 index 000000000000..c516a3f95551 --- /dev/null +++ b/src/Kusto/help/Update-AzKustoScript.md @@ -0,0 +1,361 @@ +--- +external help file: +Module Name: Az.Kusto +online version: https://docs.microsoft.com/powershell/module/az.kusto/update-azkustoscript +schema: 2.0.0 +--- + +# Update-AzKustoScript + +## SYNOPSIS +Updates a database script. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzKustoScript -ClusterName -DatabaseName -Name -ResourceGroupName + [-SubscriptionId ] [-ContinueOnError] [-ForceUpdateTag ] [-ScriptUrl ] + [-ScriptUrlSasToken ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### Update +``` +Update-AzKustoScript -ClusterName -DatabaseName -Name -ResourceGroupName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaIdentity +``` +Update-AzKustoScript -InputObject -Parameter [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzKustoScript -InputObject [-ContinueOnError] [-ForceUpdateTag ] + [-ScriptUrl ] [-ScriptUrlSasToken ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates a database script. + +## EXAMPLES + +### 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 }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterName +The name of the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ContinueOnError +Flag that indicates whether to continue if one of the command fails. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The name of the database in the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForceUpdateTag +A unique string. +If changed the script will be applied again. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity +Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the Kusto database script. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: ScriptName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Class representing a database script. +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript +Parameter Sets: Update, UpdateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group containing the Kusto cluster. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScriptUrl +The url to the KQL script blob file. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScriptUrlSasToken +The SaS token. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Gets subscription credentials which uniquely identify Microsoft Azure subscription. +The subscription ID forms part of the URI for every service call. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript + +## NOTES + +ALIASES + +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. + +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. + +## RELATED LINKS + diff --git a/src/Kusto/internal/Get-AzKustoOperation.ps1 b/src/Kusto/internal/Get-AzKustoOperation.ps1 index 838cbf004815..b0f7a3cee41d 100644 --- a/src/Kusto/internal/Get-AzKustoOperation.ps1 +++ b/src/Kusto/internal/Get-AzKustoOperation.ps1 @@ -28,12 +28,12 @@ PS C:\> {{ Add code here }} {{ Add output here }} .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation .Link -https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustooperation +https://docs.microsoft.com/powershell/module/az.kusto/get-azkustooperation #> function Get-AzKustoOperation { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] diff --git a/src/Kusto/internal/Invoke-AzKustoDataConnectionValidation.ps1 b/src/Kusto/internal/Invoke-AzKustoDataConnectionValidation.ps1 index d44a31cafd8f..1bcabd62a38e 100644 --- a/src/Kusto/internal/Invoke-AzKustoDataConnectionValidation.ps1 +++ b/src/Kusto/internal/Invoke-AzKustoDataConnectionValidation.ps1 @@ -59,11 +59,11 @@ ErrorMessage event hub resource id and consumer group tuple provided are already used .Inputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation .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 @@ -75,20 +75,22 @@ 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. PARAMETER : Class representing an data connection validation. - Kind : Kind of the endpoint for the data connection [DataConnectionName ]: The name of the data connection. + [Kind ]: Kind of the endpoint for the data connection [Location ]: Resource location. .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='DataExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Data', Mandatory)] @@ -132,7 +134,7 @@ param( [Parameter(ParameterSetName='Data', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='DataViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation] # Class representing an data connection validation. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -146,9 +148,9 @@ param( [Parameter(ParameterSetName='DataExpanded')] [Parameter(ParameterSetName='DataViaIdentityExpanded')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind])] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind])] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind] # Kind of the endpoint for the data connection ${Kind}, diff --git a/src/Kusto/internal/New-AzKustoDataConnection.ps1 b/src/Kusto/internal/New-AzKustoDataConnection.ps1 index 001a79189920..82de173dfde9 100644 --- a/src/Kusto/internal/New-AzKustoDataConnection.ps1 +++ b/src/Kusto/internal/New-AzKustoDataConnection.ps1 @@ -38,22 +38,22 @@ Kind Location Name Type IotHub East US testnewkustocluster/mykustodatabase/myiothubdc Microsoft.Kusto/Clusters/Databases/DataConnections .Inputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection .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 an data connection. - Kind : Kind of the endpoint for the data connection + Kind : Kind of the endpoint for the data connection [Location ]: Resource location. .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='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -91,15 +91,15 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection] # Class representing an data connection. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind])] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind])] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind] # Kind of the endpoint for the data connection ${Kind}, diff --git a/src/Kusto/internal/New-AzKustoDatabase.ps1 b/src/Kusto/internal/New-AzKustoDatabase.ps1 index a7a0977ea446..070a15159ca2 100644 --- a/src/Kusto/internal/New-AzKustoDatabase.ps1 +++ b/src/Kusto/internal/New-AzKustoDatabase.ps1 @@ -19,16 +19,18 @@ 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 }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase .Notes COMPLEX PARAMETER PROPERTIES @@ -38,10 +40,10 @@ PARAMETER : Class representing a Kusto database. Kind : Kind of the database [Location ]: Resource location. .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(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -73,7 +75,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase] # Class representing a Kusto database. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/Kusto/internal/ProxyCmdletDefinitions.ps1 b/src/Kusto/internal/ProxyCmdletDefinitions.ps1 index db181204cf89..a71f82857b3b 100644 --- a/src/Kusto/internal/ProxyCmdletDefinitions.ps1 +++ b/src/Kusto/internal/ProxyCmdletDefinitions.ps1 @@ -28,12 +28,12 @@ PS C:\> {{ Add code here }} {{ Add output here }} .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation .Link -https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustooperation +https://docs.microsoft.com/powershell/module/az.kusto/get-azkustooperation #> function Get-AzKustoOperation { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IOperation])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperation])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] @@ -180,11 +180,11 @@ ErrorMessage event hub resource id and consumer group tuple provided are already used .Inputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation .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 @@ -196,20 +196,22 @@ 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. PARAMETER : Class representing an data connection validation. - Kind : Kind of the endpoint for the data connection [DataConnectionName ]: The name of the data connection. + [Kind ]: Kind of the endpoint for the data connection [Location ]: Resource location. .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='DataExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Data', Mandatory)] @@ -253,7 +255,7 @@ param( [Parameter(ParameterSetName='Data', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='DataViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidation] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidation] # Class representing an data connection validation. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -267,9 +269,9 @@ param( [Parameter(ParameterSetName='DataExpanded')] [Parameter(ParameterSetName='DataViaIdentityExpanded')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind])] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind])] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind] # Kind of the endpoint for the data connection ${Kind}, @@ -402,16 +404,18 @@ 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 }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase .Notes COMPLEX PARAMETER PROPERTIES @@ -421,10 +425,10 @@ PARAMETER : Class representing a Kusto database. Kind : Kind of the database [Location ]: Resource location. .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(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -456,7 +460,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase] # Class representing a Kusto database. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -613,22 +617,22 @@ Kind Location Name Type IotHub East US testnewkustocluster/mykustodatabase/myiothubdc Microsoft.Kusto/Clusters/Databases/DataConnections .Inputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection .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 an data connection. - Kind : Kind of the endpoint for the data connection + Kind : Kind of the endpoint for the data connection [Location ]: Resource location. .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='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -666,15 +670,15 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection] # Class representing an data connection. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind])] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind])] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind] # Kind of the endpoint for the data connection ${Kind}, @@ -837,11 +841,11 @@ Kind Location Name Type ReadOnlyFollowing East US myfollowercluster/mykustodatabase Microsoft.Kusto/Clusters/Databases .Inputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase .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 @@ -853,19 +857,21 @@ 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. PARAMETER : Class representing a Kusto database. Kind : Kind of the database [Location ]: Resource location. .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='Update', Mandatory)] @@ -910,7 +916,7 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase] # Class representing a Kusto database. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -1092,11 +1098,11 @@ Kind Location Name Type IotHub East US testnewkustocluster/mykustodatabase/myiothubdc Microsoft.Kusto/Clusters/Databases/DataConnections .Inputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection .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 @@ -1108,19 +1114,21 @@ 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. PARAMETER : Class representing an data connection. - Kind : Kind of the endpoint for the data connection + Kind : Kind of the endpoint for the data connection [Location ]: Resource location. .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='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] @@ -1172,16 +1180,16 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection] # Class representing an data connection. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind])] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind])] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind] # Kind of the endpoint for the data connection ${Kind}, diff --git a/src/Kusto/internal/Update-AzKustoDataConnection.ps1 b/src/Kusto/internal/Update-AzKustoDataConnection.ps1 index 2868e21ac13b..43b7d1c2cb4d 100644 --- a/src/Kusto/internal/Update-AzKustoDataConnection.ps1 +++ b/src/Kusto/internal/Update-AzKustoDataConnection.ps1 @@ -59,11 +59,11 @@ Kind Location Name Type IotHub East US testnewkustocluster/mykustodatabase/myiothubdc Microsoft.Kusto/Clusters/Databases/DataConnections .Inputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection .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 @@ -75,19 +75,21 @@ 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. PARAMETER : Class representing an data connection. - Kind : Kind of the endpoint for the data connection + Kind : Kind of the endpoint for the data connection [Location ]: Resource location. .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='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] @@ -139,16 +141,16 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection] # Class representing an data connection. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind])] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind])] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.Kind] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Support.DataConnectionKind] # Kind of the endpoint for the data connection ${Kind}, diff --git a/src/Kusto/internal/Update-AzKustoDatabase.ps1 b/src/Kusto/internal/Update-AzKustoDatabase.ps1 index a69bb0d7b940..bb53c8758819 100644 --- a/src/Kusto/internal/Update-AzKustoDatabase.ps1 +++ b/src/Kusto/internal/Update-AzKustoDatabase.ps1 @@ -52,11 +52,11 @@ Kind Location Name Type ReadOnlyFollowing East US myfollowercluster/mykustodatabase Microsoft.Kusto/Clusters/Databases .Inputs -Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase +Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase .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 @@ -68,19 +68,21 @@ 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. PARAMETER : Class representing a Kusto database. Kind : Kind of the database [Location ]: Resource location. .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='Update', Mandatory)] @@ -125,7 +127,7 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase] + [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase] # Class representing a Kusto database. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/Kusto/readme.md b/src/Kusto/readme.md index 98abf30ef645..3ffe6dfc59b7 100644 --- a/src/Kusto/readme.md +++ b/src/Kusto/readme.md @@ -17,7 +17,7 @@ This directory contains the PowerShell module for the Kusto service. This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. ## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.8.1 or greater +- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.2.3 or greater ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -53,7 +53,7 @@ require: - $(this-folder)/../readme.azure.noprofile.md # lock the commit input-file: - - https://github.com/Azure/azure-rest-api-specs/blob/95fe440d70409ec80238fe76175f4061ba8e073c/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/kusto.json + - https://github.com/Azure/azure-rest-api-specs/blob/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2021-01-01/kusto.json ``` @@ -128,5 +128,5 @@ directive: # Correct some generated code - from: source-file-csharp where: $ - transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection Property', 'public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection Property'); + transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection Property', 'public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection Property'); ``` diff --git a/src/Kusto/run-module.ps1 b/src/Kusto/run-module.ps1 index f9e0e157ded9..3527d5f234ec 100644 --- a/src/Kusto/run-module.ps1 +++ b/src/Kusto/run-module.ps1 @@ -24,6 +24,8 @@ if(-not $Isolated) { $isAzure = $true if($isAzure) { . (Join-Path $PSScriptRoot 'check-dependencies.ps1') -Isolated -Accounts + # Load the latest version of Az.Accounts installed + Import-Module -Name Az.Accounts -RequiredVersion (Get-Module -Name Az.Accounts -ListAvailable | Sort-Object -Property Version -Descending)[0].Version } $localModulesPath = Join-Path $PSScriptRoot 'generated\modules' diff --git a/src/Kusto/test-module.ps1 b/src/Kusto/test-module.ps1 index b917edd8ecb5..974412da0b42 100644 --- a/src/Kusto/test-module.ps1 +++ b/src/Kusto/test-module.ps1 @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- -param([switch]$Isolated, [switch]$Live, [switch]$Record, [switch]$Playback) +param([switch]$Isolated, [switch]$Live, [switch]$Record, [switch]$Playback, [switch]$RegenerateSupportModule) $ErrorActionPreference = 'Stop' if(-not $Isolated) { @@ -24,10 +24,12 @@ if(-not $Isolated) { $ProgressPreference = 'SilentlyContinue' $baseName = $PSScriptRoot.BaseName $requireResourceModule = (($baseName -ne "Resources") -and ($Record.IsPresent -or $Live.IsPresent)) -. (Join-Path $PSScriptRoot 'check-dependencies.ps1') -Isolated -Accounts:$false -Pester -Resources:$requireResourceModule +. (Join-Path $PSScriptRoot 'check-dependencies.ps1') -Isolated -Accounts:$false -Pester -Resources:$requireResourceModule -RegenerateSupportModule:$RegenerateSupportModule . ("$PSScriptRoot\test\utils.ps1") if ($requireResourceModule) { + # Load the latest Az.Accounts installed + Import-Module -Name Az.Accounts -RequiredVersion (Get-Module -Name Az.Accounts -ListAvailable | Sort-Object -Property Version -Descending)[0].Version $resourceModulePSD = Get-Item -Path (Join-Path $HOME '.PSSharedModules\Resources\Az.Resources.TestSupport.psd1') Import-Module -Name $resourceModulePSD.FullName } diff --git a/src/Kusto/test/Add-AzKustoClusterLanguageExtension.Recording.json b/src/Kusto/test/Add-AzKustoClusterLanguageExtension.Recording.json index c02137509be4..ed78e9782984 100644 --- a/src/Kusto/test/Add-AzKustoClusterLanguageExtension.Recording.json +++ b/src/Kusto/test/Add-AzKustoClusterLanguageExtension.Recording.json @@ -1,9 +1,10 @@ { - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/addLanguageExtensions?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+AddExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/addLanguageExtensions?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/addLanguageExtensions?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/addLanguageExtensions?api-version=2021-01-01", "Content": "{\r\n \"value\": [\r\n {\r\n \"languageExtensionName\": \"R\"\r\n }\r\n ]\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,81 +15,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "7a946465-d03e-41fb-82a5-d4f891ab1e24" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "ee8b49db-fa9d-481f-bd1d-0e471a3c041a" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "a33e90a7-df53-400f-8fff-0286ae446a14" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174900Z:a33e90a7-df53-400f-8fff-0286ae446a14" ], + "x-ms-correlation-request-id": [ "4ab52514-918e-4143-851d-2d245e75a556" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111043Z:4ab52514-918e-4143-851d-2d245e75a556" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:48:59 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "104", "105" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "dd9ad6eb-5e70-4988-a082-ed4c0c5c9d41" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "63b90df7-99bd-4398-a239-34a7849e1f30" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174931Z:63b90df7-99bd-4398-a239-34a7849e1f30" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:49:30 GMT" ] + "Date": [ "Tue, 18 May 2021 11:10:43 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -96,40 +57,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], - "x-ms-request-id": [ "32284db3-7b25-46e6-aceb-f4aa02c829a1" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "4de9ae91-35d5-4d60-ab0b-d13c3b2194fc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175001Z:4de9ae91-35d5-4d60-ab0b-d13c3b2194fc" ], + "x-ms-request-id": [ "0c47c877-80e5-4cd9-aeb1-57ad5d91f53d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "37ed1d70-c36b-4af4-924b-eba272c87036" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111114Z:37ed1d70-c36b-4af4-924b-eba272c87036" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:50:00 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:11:13 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"name\":\"ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:10:43.6142039Z\",\"endTime\":\"2021-05-18T11:10:46.1141287Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c602acdb-a174-49fc-b953-6f8765256b94\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -137,40 +98,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "c3a55ca8-0879-4502-948e-a2e9fd761923" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3d8f4be3-113d-4c2c-b342-ff13260ae7c8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175031Z:3d8f4be3-113d-4c2c-b342-ff13260ae7c8" ], + "x-ms-request-id": [ "989df577-21ba-4a69-8797-d07643d1a3b4" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "1f7ca14c-7c4c-4fb0-be39-068239ecf730" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111144Z:1f7ca14c-7c4c-4fb0-be39-068239ecf730" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:50:30 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:11:44 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"name\":\"ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:10:43.6142039Z\",\"endTime\":\"2021-05-18T11:10:46.1141287Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c602acdb-a174-49fc-b953-6f8765256b94\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -178,40 +139,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "09205dfc-1b2a-40ea-b40d-5841aa95eb41" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "daad68f0-e268-4d6b-8501-50e3b86aeaf6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175101Z:daad68f0-e268-4d6b-8501-50e3b86aeaf6" ], + "x-ms-request-id": [ "8bb2799d-3379-4438-ad72-4093e61baefe" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "1163c5f0-957d-4cd2-b58f-da2054c616f8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111215Z:1163c5f0-957d-4cd2-b58f-da2054c616f8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:51:00 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:12:14 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"name\":\"ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:10:43.6142039Z\",\"endTime\":\"2021-05-18T11:10:46.1141287Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c602acdb-a174-49fc-b953-6f8765256b94\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -219,40 +180,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "9f8c4de3-58b8-45e2-a66b-aee933028540" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3820dde2-19c6-4bf6-972e-b3b6f2783e44" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175132Z:3820dde2-19c6-4bf6-972e-b3b6f2783e44" ], + "x-ms-request-id": [ "f78558df-c425-4077-97a4-20c3e11efdde" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "b6f68a7b-efa5-4c07-bba3-1c1927392ad6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111245Z:b6f68a7b-efa5-4c07-bba3-1c1927392ad6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:51:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:12:45 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"name\":\"ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:10:43.6142039Z\",\"endTime\":\"2021-05-18T11:10:46.1141287Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c602acdb-a174-49fc-b953-6f8765256b94\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -260,40 +221,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "c510606a-523e-42c8-bb32-e9f287138359" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ec30567f-25ce-45ed-983f-2ad10fd53e08" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175202Z:ec30567f-25ce-45ed-983f-2ad10fd53e08" ], + "x-ms-request-id": [ "0375df4e-86cf-439d-9e61-9c0ded7ec351" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], + "x-ms-correlation-request-id": [ "0ae5d9c1-475b-46c0-bbd4-49a0cd9402dc" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111315Z:0ae5d9c1-475b-46c0-bbd4-49a0cd9402dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:52:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:13:14 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"name\":\"ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:10:43.6142039Z\",\"endTime\":\"2021-05-18T11:10:46.1141287Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c602acdb-a174-49fc-b953-6f8765256b94\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -301,40 +262,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "f8fec5ab-8f77-4cd7-aa52-e49b4c2a66ac" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "30419a8e-b7b4-4fbb-858f-560dd183b931" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175232Z:30419a8e-b7b4-4fbb-858f-560dd183b931" ], + "x-ms-request-id": [ "d63a9263-b149-42a1-87bf-0e04c0e85d43" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], + "x-ms-correlation-request-id": [ "b1880551-3e78-4b3d-b863-3f8da3182d1d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111346Z:b1880551-3e78-4b3d-b863-3f8da3182d1d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:52:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:13:45 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"name\":\"ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:10:43.6142039Z\",\"endTime\":\"2021-05-18T11:10:46.1141287Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c602acdb-a174-49fc-b953-6f8765256b94\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -342,40 +303,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "bedb0611-06e4-44af-8cd4-3a990cf8d962" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "95d72913-2950-4c04-ba74-f30b1116939d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175302Z:95d72913-2950-4c04-ba74-f30b1116939d" ], + "x-ms-request-id": [ "fdcd9c3c-d5ed-42cc-a115-215cefb64b79" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "293" ], + "x-ms-correlation-request-id": [ "9f782a86-14f4-40e7-ad63-1879a6615405" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111416Z:9f782a86-14f4-40e7-ad63-1879a6615405" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:53:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:14:16 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"name\":\"ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:10:43.6142039Z\",\"endTime\":\"2021-05-18T11:10:46.1141287Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c602acdb-a174-49fc-b953-6f8765256b94\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -383,40 +344,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "613b7f49-510e-492a-9a90-186fa7db1fa2" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c3ba4701-3d16-40bb-8803-53e38d390aea" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175333Z:c3ba4701-3d16-40bb-8803-53e38d390aea" ], + "x-ms-request-id": [ "3b895f39-81ce-41e9-a7be-1df97ab679d8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "292" ], + "x-ms-correlation-request-id": [ "547e211c-467b-44c1-9a63-42e37f3bab1b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111446Z:547e211c-467b-44c1-9a63-42e37f3bab1b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:53:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:14:46 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"name\":\"ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:10:43.6142039Z\",\"endTime\":\"2021-05-18T11:10:46.1141287Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c602acdb-a174-49fc-b953-6f8765256b94\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -424,40 +385,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "510f6a99-ad21-4457-abb7-74b0375a2b6d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "34092873-eb88-4840-9bd6-de09fe3c16ad" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175403Z:34092873-eb88-4840-9bd6-de09fe3c16ad" ], + "x-ms-request-id": [ "6874994e-f268-4877-8573-ad62cf987af3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "291" ], + "x-ms-correlation-request-id": [ "2d683265-5a63-422c-8e46-37c21f6d483c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111517Z:2d683265-5a63-422c-8e46-37c21f6d483c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:54:02 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:15:16 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"name\":\"ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:10:43.6142039Z\",\"endTime\":\"2021-05-18T11:10:46.1141287Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c602acdb-a174-49fc-b953-6f8765256b94\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+12": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -465,40 +426,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "b3c0892a-128f-458d-bb99-c21d167360aa" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "863496dd-4bf2-47e4-8925-3b1593bd2d2c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175433Z:863496dd-4bf2-47e4-8925-3b1593bd2d2c" ], + "x-ms-request-id": [ "d6382fed-c50e-4a62-9850-d6661f8e1a30" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "05e8888f-6933-42ef-8635-b024441e3d5a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111548Z:05e8888f-6933-42ef-8635-b024441e3d5a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:54:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:15:47 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "504" ], + "Content-Length": [ "507" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"name\":\"ac0277ef-90f0-4aec-82cc-6a859bf7cd69\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-18T11:10:43.6142039Z\",\"endTime\":\"2021-05-18T11:15:21.7180006Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c602acdb-a174-49fc-b953-6f8765256b94\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+13": { + "[NoDescription]+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01\u0026operationResultResponseType=Location+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ac0277ef-90f0-4aec-82cc-6a859bf7cd69?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "2233ce74-c3cf-4cf8-b3ef-5b5679701082" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -506,39 +467,38 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "2fde0fae-5da5-4051-9b1c-4cc474696f87" ], - "x-ms-request-id": [ "dc7eeba3-358c-4c9f-8bc4-57b2c9b548e4" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "f93c26f4-fb5d-4184-843f-404846c8af05" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175503Z:2fde0fae-5da5-4051-9b1c-4cc474696f87" ], + "x-ms-correlation-request-id": [ "1e59a148-a85c-42a2-b7f2-bb24fb4bab61" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111548Z:1e59a148-a85c-42a2-b7f2-bb24fb4bab61" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:55:03 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:15:47 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+14": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "be1878e5-c7da-41be-9774-f9dc7e6648bc" ], + "CommandName": [ "Get-AzKustoCluster" ], + "FullCommandName": [ "Get-AzKustoCluster_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -547,81 +507,78 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "b4d294ef-2fa5-4868-9a45-8185554bae44" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3b5c970a-22e9-4113-82f1-4191d8f2c7be" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175534Z:3b5c970a-22e9-4113-82f1-4191d8f2c7be" ], + "x-ms-request-id": [ "95a5c6a3-88c0-4467-a6b9-1ecc2effcd2d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "2754d4f1-99d9-40b5-9e81-81880c6154b9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111549Z:2754d4f1-99d9-40b5-9e81-81880c6154b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:55:34 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:15:48 GMT" ], + "ETag": [ "\"2021-05-18T11:15:21.0929980Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "504" ], + "Content-Length": [ "904" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-18T11:15:21.0929980Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[{\"languageExtensionName\":\"R\"},{\"languageExtensionName\":\"PYTHON\"}]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+15": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/addLanguageExtensions?api-version=2021-01-01+2": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", - "Content": null, + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/addLanguageExtensions?api-version=2021-01-01", + "Content": "{\r\n \"value\": [\r\n {\r\n \"languageExtensionName\": \"PYTHON\"\r\n }\r\n ]\r\n}", + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "78" ] } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "e6b83b61-c29c-471e-87a7-1a9bd0b3dd10" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "23f72235-4881-41df-a890-990d754d3b2a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175604Z:23f72235-4881-41df-a890-990d754d3b2a" ], + "x-ms-request-id": [ "9e922631-2a16-4590-a569-6f8e3e86aeff" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "d6091d6c-1021-4fd1-bc72-28e877f893ec" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111550Z:d6091d6c-1021-4fd1-bc72-28e877f893ec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:56:04 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:15:49 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+16": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -629,40 +586,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "e00f669d-fb05-480b-9d40-3051a586f61b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "dee0191e-913e-4fa1-8880-c634906faa2d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175635Z:dee0191e-913e-4fa1-8880-c634906faa2d" ], + "x-ms-request-id": [ "ebb41305-d9a6-448b-891f-560b1727ced1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "207d93fa-0288-4120-9700-8676d34800a6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111620Z:207d93fa-0288-4120-9700-8676d34800a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:56:35 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:16:20 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"name\":\"5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:15:49.8903127Z\",\"endTime\":\"2021-05-18T11:15:52.3434289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fe613006-262d-4d4a-90a6-e6f2592cb430\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+17": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -670,40 +627,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "f71b2470-b344-42ed-9426-d44a755a458b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b091e1fb-eb32-44ab-b5f3-83766d6344d0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175705Z:b091e1fb-eb32-44ab-b5f3-83766d6344d0" ], + "x-ms-request-id": [ "d4b58b16-5312-41cd-8654-b992b5961f5a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "c83ec6b0-4962-46aa-b982-df865a98de67" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111650Z:c83ec6b0-4962-46aa-b982-df865a98de67" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:57:05 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:16:50 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"name\":\"5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:15:49.8903127Z\",\"endTime\":\"2021-05-18T11:15:52.3434289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fe613006-262d-4d4a-90a6-e6f2592cb430\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+18": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -711,40 +668,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "f3ebdaee-60e9-49ae-b63f-32b80b1f1c59" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "288f9d60-d700-44f7-9c03-2f2492721b3e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175735Z:288f9d60-d700-44f7-9c03-2f2492721b3e" ], + "x-ms-request-id": [ "b8f18a05-42ed-4908-8f79-3afba059ab12" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "1854b358-6317-4086-88e3-6e6da95fb194" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111720Z:1854b358-6317-4086-88e3-6e6da95fb194" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:57:35 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:17:20 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"name\":\"5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:15:49.8903127Z\",\"endTime\":\"2021-05-18T11:15:52.3434289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fe613006-262d-4d4a-90a6-e6f2592cb430\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+19": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121", "122" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -752,40 +709,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "84546bab-8799-44c5-b5ab-079a42acc59c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "75da524d-85e9-4ba8-8f6f-f3f58a22e573" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175806Z:75da524d-85e9-4ba8-8f6f-f3f58a22e573" ], + "x-ms-request-id": [ "d299a2ae-2762-4d28-831a-0c47df2a19b8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "8cd0e83f-a106-4045-9439-2eecaa2204c6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111751Z:8cd0e83f-a106-4045-9439-2eecaa2204c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:58:06 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:17:50 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"name\":\"5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:15:49.8903127Z\",\"endTime\":\"2021-05-18T11:15:52.3434289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fe613006-262d-4d4a-90a6-e6f2592cb430\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+20": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -793,40 +750,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "0a11d217-8a2b-4f1a-9df9-88c272acd442" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "75dc5ab9-b768-45a8-b373-efedb630d9ad" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175836Z:75dc5ab9-b768-45a8-b373-efedb630d9ad" ], + "x-ms-request-id": [ "5a486abb-060b-4789-a1eb-2ffb5ed39be9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "bbe954ac-b655-48ac-940c-00c9ecd5edea" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111822Z:bbe954ac-b655-48ac-940c-00c9ecd5edea" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:58:36 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:18:21 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"name\":\"5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:15:49.8903127Z\",\"endTime\":\"2021-05-18T11:15:52.3434289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fe613006-262d-4d4a-90a6-e6f2592cb430\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+21": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -834,40 +791,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "4dc5eee7-ada8-42be-8d86-c832416b1069" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "2aec3db0-6997-4502-933b-ec81d9f166b1" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175906Z:2aec3db0-6997-4502-933b-ec81d9f166b1" ], + "x-ms-request-id": [ "db1c272d-c2ab-41de-8ef6-bc9c5c03efd7" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "8e55a926-f197-4604-ad76-f6b74351be81" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111852Z:8e55a926-f197-4604-ad76-f6b74351be81" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:59:06 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:18:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:49:04.0206564Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"name\":\"5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:15:49.8903127Z\",\"endTime\":\"2021-05-18T11:15:52.3434289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fe613006-262d-4d4a-90a6-e6f2592cb430\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18+22": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -875,79 +832,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "2ece0c3a-2e94-40a9-9ff1-47c0cb46ac32" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ae23d514-ebf5-4939-aff4-694bf2e27144" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175936Z:ae23d514-ebf5-4939-aff4-694bf2e27144" ], + "x-ms-request-id": [ "4f0fc63e-63ba-4d35-a629-825092b6ca4e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "cc6d0c03-b38e-431f-86dc-8c0e2cd54c4a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111922Z:cc6d0c03-b38e-431f-86dc-8c0e2cd54c4a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:59:36 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:19:21 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "507" ], + "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"name\":\"cd728265-ac06-417f-8d6d-fa7772c4adcd\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T17:49:00.7393967Z\",\"endTime\":\"2020-10-26T17:59:14.4290808Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"b93f5237-e26b-4440-bbad-47a5e38410e6\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18\u0026operationResultResponseType=Location+23": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/cd728265-ac06-417f-8d6d-fa7772c4adcd?api-version=2020-09-18\u0026operationResultResponseType=Location", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126" ], - "x-ms-client-request-id": [ "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64", "78a56ce9-3640-4b9a-af72-639e4d170e64" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded", "Add-AzKustoClusterLanguageExtension_AddExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "833df0bd-8d65-40ab-b0f6-87489ce74abb" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-correlation-request-id": [ "ac82c609-fcf8-40de-836c-49b4540b327f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175937Z:ac82c609-fcf8-40de-836c-49b4540b327f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:59:36 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"name\":\"5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:15:49.8903127Z\",\"endTime\":\"2021-05-18T11:15:52.3434289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fe613006-262d-4d4a-90a6-e6f2592cb430\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "127" ], - "x-ms-client-request-id": [ "d2a8baf9-6ed6-46ec-a0cf-2ef5515effed" ], - "CommandName": [ "Get-AzKustoCluster" ], - "FullCommandName": [ "Get-AzKustoCluster_Get" ], + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -955,77 +873,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "df95b2fb-70b6-4715-9bec-850a4ddadd33" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a3b923c7-e505-4de8-af05-735ae6fa0f7d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175937Z:a3b923c7-e505-4de8-af05-735ae6fa0f7d" ], + "x-ms-request-id": [ "7fa8d571-b065-4e7f-a77e-b1320bf7052b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "cbe142b5-609c-4b5d-8de8-3353692b0351" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T111953Z:cbe142b5-609c-4b5d-8de8-3353692b0351" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:59:36 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:19:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "841" ], + "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[{\"languageExtensionName\":\"R\"}]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/addLanguageExtensions?api-version=2020-09-18+2": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/addLanguageExtensions?api-version=2020-09-18", - "Content": "{\r\n \"value\": [\r\n {\r\n \"languageExtensionName\": \"PYTHON\"\r\n }\r\n ]\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "78" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "5dba14e9-9bed-4857-bf4e-a95c854b2f82" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "3e715ac4-cc47-4e8a-aaa6-94e222556f2c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T175937Z:3e715ac4-cc47-4e8a-aaa6-94e222556f2c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:59:37 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"name\":\"5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:15:49.8903127Z\",\"endTime\":\"2021-05-18T11:15:52.3434289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fe613006-262d-4d4a-90a6-e6f2592cb430\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "128", "129" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1033,40 +914,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "9b095966-9f47-47bc-bc9c-a2b2a97b2d21" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "837e4781-f0fe-45fb-ab24-1946ffd61cd9" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "065e9c17-3846-45cc-b880-f78469a8b81a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180008Z:065e9c17-3846-45cc-b880-f78469a8b81a" ], + "x-ms-correlation-request-id": [ "e8de9e2a-b171-4281-a603-cbdba9371fbf" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T112023Z:e8de9e2a-b171-4281-a603-cbdba9371fbf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:00:07 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:20:22 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"name\":\"5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"status\":\"Running\",\"startTime\":\"2021-05-18T11:15:49.8903127Z\",\"endTime\":\"2021-05-18T11:15:52.3434289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fe613006-262d-4d4a-90a6-e6f2592cb430\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "128", "129", "130" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1074,40 +955,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "535b2ac9-0304-491a-a3da-c119f0bcba9b" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "6e79fc58-d2a0-4078-9a3b-fff7bb5c0cb8" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3959daea-6240-4596-8978-be81742ddd01" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180038Z:3959daea-6240-4596-8978-be81742ddd01" ], + "x-ms-correlation-request-id": [ "14e5cad0-4058-47ff-9f34-09e938818fc6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T112054Z:14e5cad0-4058-47ff-9f34-09e938818fc6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:00:38 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:20:54 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "504" ], + "Content-Length": [ "507" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"name\":\"5bd8741c-6412-46a5-ac22-c0526ddf88e1\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-18T11:15:49.8903127Z\",\"endTime\":\"2021-05-18T11:20:28.5707598Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fe613006-262d-4d4a-90a6-e6f2592cb430\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01\u0026operationResultResponseType=Location+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5bd8741c-6412-46a5-ac22-c0526ddf88e1?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "53b94834-d6a4-4098-84a4-41eb92e8e351" ], + "CommandName": [ "Add-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1115,679 +996,23 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d3d66754-517e-4399-b617-1dab0a4f2cfc" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "92c7c054-e1b2-46e7-bc34-d4616e945122" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "cf38f6d7-4c36-4e9f-81fd-506d2d54e230" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180108Z:cf38f6d7-4c36-4e9f-81fd-506d2d54e230" ], + "x-ms-correlation-request-id": [ "d43d6941-37bf-4442-b10a-1a3f40aebebf" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T112054Z:d43d6941-37bf-4442-b10a-1a3f40aebebf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:01:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "e4e90336-fc67-4e05-b2d9-d58c821cb03d" ], - "x-ms-request-id": [ "6299d4c4-f8f7-4d1b-b56b-044fc655cca4" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180139Z:e4e90336-fc67-4e05-b2d9-d58c821cb03d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:01:38 GMT" ] + "Date": [ "Tue, 18 May 2021 11:20:54 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "58763c8f-96a9-4c37-9341-c4f485bdfff8" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9375abbd-051c-421f-98cb-01df8c33dfd7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180209Z:9375abbd-051c-421f-98cb-01df8c33dfd7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:02:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "904071b0-a1b6-4887-bc9f-c656745b4d0b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "4cf0be10-08cc-4f63-96a7-715c4b61e5a3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180240Z:4cf0be10-08cc-4f63-96a7-715c4b61e5a3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:02:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "ab660b3d-632a-49fa-a656-36e57c593e74" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3d661525-6440-4dc3-b872-6ab9ddcc1b1c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180310Z:3d661525-6440-4dc3-b872-6ab9ddcc1b1c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:03:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "4ca71d95-1070-4ee9-9d18-cfb1108a8025" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e5dd3b2b-42a1-436b-9498-3dfb1d06e103" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180340Z:e5dd3b2b-42a1-436b-9498-3dfb1d06e103" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:03:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "09c0cd75-1eee-4a11-b323-1874e9026c02" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "67b2a35b-533e-4028-b761-c5fa88313ee5" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180411Z:67b2a35b-533e-4028-b761-c5fa88313ee5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:04:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "2a987012-294f-4635-8878-226b84ebcc1e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "6e53a4e7-6ec8-4ad3-8fb3-336026bd2908" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180441Z:6e53a4e7-6ec8-4ad3-8fb3-336026bd2908" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:04:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138", "139" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "c9048fa8-4c94-4d9b-90b6-ddb6ad117771" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b9d33a22-8189-4d60-949e-f6fe94bc0c27" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180511Z:b9d33a22-8189-4d60-949e-f6fe94bc0c27" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:05:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "140" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "e98aa671-8524-4a1a-8aaa-bff1b7d13c2e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "da1741ab-14cb-42ae-acfc-a8ab24f8c757" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180541Z:da1741ab-14cb-42ae-acfc-a8ab24f8c757" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:05:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "140", "141" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "aa7e49af-5227-4309-b0cd-68f4ee13da21" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "420de1a9-a12b-48cf-8740-6b37f60d0b95" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180612Z:420de1a9-a12b-48cf-8740-6b37f60d0b95" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:06:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "140", "141", "142" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "b0827dc0-38cf-434b-96d9-9db21295b5bb" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ba007774-e9c6-414d-a4e8-8bb9e7d11153" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180642Z:ba007774-e9c6-414d-a4e8-8bb9e7d11153" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:06:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "140", "141", "142", "143" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "a0f83a4e-9563-43fa-b9b4-ad151651d2d4" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "aa9111cb-2727-43ec-bec0-c1d98812b54f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180712Z:aa9111cb-2727-43ec-bec0-c1d98812b54f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:07:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "140", "141", "142", "143", "144" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "caa9546f-412c-4228-ab94-3a2e5b9407fb" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "372a42e0-e3d4-489e-bb47-43004fc4275b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180743Z:372a42e0-e3d4-489e-bb47-43004fc4275b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:07:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+19": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "140", "141", "142", "143", "144", "145" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "aa5e0f33-15f7-4c4d-97fe-dd03b98d4754" ], - "x-ms-request-id": [ "68f3987a-404f-416a-ba07-531cbe363ffe" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180813Z:aa5e0f33-15f7-4c4d-97fe-dd03b98d4754" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Running\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T17:59:41.2107379Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18+20": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "140", "141", "142", "143", "144", "145", "146" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "8c684863-aa46-43bb-a8b0-6a92a5b9e475" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e3fc66f4-742d-4f36-ad71-ed66a50c0315" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180844Z:e3fc66f4-742d-4f36-ad71-ed66a50c0315" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "507" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"name\":\"7ae1b8f5-8dc9-439d-b6dc-2069a80a4439\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T17:59:37.8045463Z\",\"endTime\":\"2020-10-26T18:08:42.8346147Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"f3cee370-04e2-4158-a4d0-bf92f2432056\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" - } - }, - "Add-AzKustoClusterLanguageExtension+[NoContext]+AddViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18\u0026operationResultResponseType=Location+21": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7ae1b8f5-8dc9-439d-b6dc-2069a80a4439?api-version=2020-09-18\u0026operationResultResponseType=Location", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "140", "141", "142", "143", "144", "145", "146", "147" ], - "x-ms-client-request-id": [ "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e", "9515c3b9-20d1-40b4-b5b4-c1db1190620e" ], - "CommandName": [ "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension", "Add-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded", "Add-AzKustoClusterLanguageExtension_AddViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "55b8d8dc-63a5-43db-9c54-9e1b0d33d233" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-correlation-request-id": [ "e90c771a-a5ca-487d-a7e3-4102123940a4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180844Z:e90c771a-a5ca-487d-a7e3-4102123940a4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:43 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Add-AzKustoClusterLanguageExtension.Tests.ps1 b/src/Kusto/test/Add-AzKustoClusterLanguageExtension.Tests.ps1 index 568b77e66509..4171a248a703 100644 --- a/src/Kusto/test/Add-AzKustoClusterLanguageExtension.Tests.ps1 +++ b/src/Kusto/test/Add-AzKustoClusterLanguageExtension.Tests.ps1 @@ -1,17 +1,20 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Add-AzKustoClusterLanguageExtension.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName + Describe 'Add-AzKustoClusterLanguageExtension' { + BeforeAll{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Add-AzKustoClusterLanguageExtension.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'AddExpanded' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/Az.Kusto-TestResults.xml b/src/Kusto/test/Az.Kusto-TestResults.xml deleted file mode 100644 index a52dd6cf0a38..000000000000 --- a/src/Kusto/test/Az.Kusto-TestResults.xml +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoAttachedDatabaseConfiguration.Recording.json b/src/Kusto/test/Get-AzKustoAttachedDatabaseConfiguration.Recording.json index afc08a9ae534..6778b32c2fb2 100644 --- a/src/Kusto/test/Get-AzKustoAttachedDatabaseConfiguration.Recording.json +++ b/src/Kusto/test/Get-AzKustoAttachedDatabaseConfiguration.Recording.json @@ -1,12 +1,13 @@ { - "Get-AzKustoAttachedDatabaseConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/attachedDatabaseConfigurations?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/attachedDatabaseConfigurations?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/attachedDatabaseConfigurations?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/attachedDatabaseConfigurations?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "148" ], - "x-ms-client-request-id": [ "e07c964c-6b35-4adf-a153-ab8593dd89f5" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "7715c90a-7ba4-4296-b804-d10d6549fc51" ], "CommandName": [ "Get-AzKustoAttachedDatabaseConfiguration" ], "FullCommandName": [ "Get-AzKustoAttachedDatabaseConfiguration_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,35 +20,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "b8ee0210-e18e-4fd8-ad17-fcf5a62bb030" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7314aeb6-f3aa-408a-ba7d-5571cb06deb7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180845Z:7314aeb6-f3aa-408a-ba7d-5571cb06deb7" ], + "x-ms-request-id": [ "c12f2093-5599-4db1-98a0-53ac6da9bcd5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "7d38d419-3229-495b-b8a8-b49c014e262e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T114253Z:7d38d419-3229-495b-b8a8-b49c014e262e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:42:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "682" ], + "Content-Length": [ "717" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfa0obls\",\"name\":\"testfclustera0obls/testdbconfa0obls\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"databaseName\":\"testdatabasemlhoe5\",\"attachedDatabaseNames\":[\"testdatabasemlhoe5\"],\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Succeeded\"}}]}" + "Content": "{\"value\":[{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfzu7bam\",\"name\":\"testfclusterzu7bam/testdbconfzu7bam\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"databaseName\":\"testdatabaseqlp6ob\",\"attachedDatabaseNames\":[\"testdatabaseqlp6ob\"],\"defaultPrincipalsModificationKind\":\"Union\",\"tableLevelSharingProperties\":null,\"provisioningState\":\"Succeeded\"}}]}", + "isContentBase64": false } }, - "Get-AzKustoAttachedDatabaseConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfa0obls?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfzu7bam?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfa0obls?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfzu7bam?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "149" ], - "x-ms-client-request-id": [ "d3a57786-a4b6-4e34-9d8a-9c96bef0d77e" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "3b80a229-29a5-4d3a-b8e3-70f7372f7f88" ], "CommandName": [ "Get-AzKustoAttachedDatabaseConfiguration" ], "FullCommandName": [ "Get-AzKustoAttachedDatabaseConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,26 +61,25 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "9df333f7-0aec-4fd5-917a-a5915da8e959" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "31516d3c-bcfb-4119-b899-7f8ce4f755c7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180846Z:31516d3c-bcfb-4119-b899-7f8ce4f755c7" ], + "x-ms-request-id": [ "f1bc65ec-7bfc-4bc6-a943-de626a227f98" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "17c54098-423d-46e4-be00-deda9cad9400" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T114254Z:17c54098-423d-46e4-be00-deda9cad9400" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:42:53 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "680" ], + "Content-Length": [ "715" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfa0obls\",\"name\":\"testfclustera0obls/testdbconfa0obls\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"databaseName\":\"testdatabasemlhoe5\",\"attachedDatabaseNames\":[\"testdatabasemlhoe5\"],\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfzu7bam\",\"name\":\"testfclusterzu7bam/testdbconfzu7bam\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"databaseName\":\"testdatabaseqlp6ob\",\"attachedDatabaseNames\":[\"testdatabaseqlp6ob\"],\"defaultPrincipalsModificationKind\":\"Union\",\"tableLevelSharingProperties\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoAttachedDatabaseConfiguration.Tests.ps1 b/src/Kusto/test/Get-AzKustoAttachedDatabaseConfiguration.Tests.ps1 index 230dd81fd69c..343585760365 100644 --- a/src/Kusto/test/Get-AzKustoAttachedDatabaseConfiguration.Tests.ps1 +++ b/src/Kusto/test/Get-AzKustoAttachedDatabaseConfiguration.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoAttachedDatabaseConfiguration.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Get-AzKustoAttachedDatabaseConfiguration' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoAttachedDatabaseConfiguration.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'List' { $subscriptionId = $env.SubscriptionId $location = $env.location diff --git a/src/Kusto/test/Get-AzKustoCluster.Recording.json b/src/Kusto/test/Get-AzKustoCluster.Recording.json index 20f3ef5f5831..8bb0fbb1405f 100644 --- a/src/Kusto/test/Get-AzKustoCluster.Recording.json +++ b/src/Kusto/test/Get-AzKustoCluster.Recording.json @@ -1,12 +1,13 @@ { - "Get-AzKustoCluster+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "150" ], - "x-ms-client-request-id": [ "40bdd6dc-aafc-42c3-ad69-113440daf9d1" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "d32a2607-670d-4229-b5ac-72dbf5113942" ], "CommandName": [ "Get-AzKustoCluster" ], "FullCommandName": [ "Get-AzKustoCluster_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,36 +20,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e12692ed-6227-4fec-9b45-0c93439b7c89" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "918ad6a4-99e9-4dbb-9220-4e1bf361b7f4" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a19079d4-3ebe-485e-8328-7b4b6fa1edf3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180846Z:a19079d4-3ebe-485e-8328-7b4b6fa1edf3" ], + "x-ms-correlation-request-id": [ "1327ca16-ed9f-4fbf-aea1-356e25b215c4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T104803Z:1327ca16-ed9f-4fbf-aea1-356e25b215c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:46 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 10:48:03 GMT" ], + "ETag": [ "\"2021-05-12T16:39:15.3491708Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "876" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[{\"languageExtensionName\":\"PYTHON\"},{\"languageExtensionName\":\"R\"}]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-12T16:39:15.3491708Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Get-AzKustoCluster+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/clusters?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/clusters?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/clusters?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/clusters?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "151" ], - "x-ms-client-request-id": [ "0e3129ae-5b54-4a99-ba21-ed6d7d62c506" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "49a53586-60e5-4ff6-819a-ea42ed22e796" ], "CommandName": [ "Get-AzKustoCluster" ], "FullCommandName": [ "Get-AzKustoCluster_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -61,25 +62,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "b0727441-790d-4ae3-b6fb-8d3b927248d1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "bc2cf989-c6e5-459b-a1b4-aa689882aa0c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "6c99f56c-2519-456b-9469-67af70778d3a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180847Z:6c99f56c-2519-456b-9469-67af70778d3a" ], + "x-ms-correlation-request-id": [ "da40cf4c-b3d4-442c-ae73-406175bc6091" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T104805Z:da40cf4c-b3d4-442c-ae73-406175bc6091" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:46 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 10:48:05 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "2518" ], + "Content-Length": [ "2538" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[{\"languageExtensionName\":\"PYTHON\"},{\"languageExtensionName\":\"R\"}]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls\",\"name\":\"testfclustera0obls\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testfclustera0obls.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testfclustera0obls.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie\",\"name\":\"testclusterojskie\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterojskie.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterojskie.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}]}" + "Content": "{\"value\":[{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-12T16:39:15.3491708Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam\",\"name\":\"testfclusterzu7bam\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-12T16:39:15.3491708Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testfclusterzu7bam.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testfclusterzu7bam.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq\",\"name\":\"testclusters3vznq\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-12T15:35:39.1256346Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusters3vznq.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusters3vznq.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}]}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoCluster.Tests.ps1 b/src/Kusto/test/Get-AzKustoCluster.Tests.ps1 index 8cddb1177b4a..bf8aa85307a7 100644 --- a/src/Kusto/test/Get-AzKustoCluster.Tests.ps1 +++ b/src/Kusto/test/Get-AzKustoCluster.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoCluster.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Get-AzKustoCluster' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoCluster.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'Get' { $clusterGetItem = Get-AzKustoCluster -ResourceGroupName $env.resourceGroupName -Name $env.clusterName Validate_Cluster $clusterGetItem $env.clusterName $env.location "Running" "Succeeded" $env.resourceType $env.skuName $env.skuTier $env.capacity diff --git a/src/Kusto/test/Get-AzKustoClusterFollowerDatabase.Recording.json b/src/Kusto/test/Get-AzKustoClusterFollowerDatabase.Recording.json index a04b724a85f5..e56b49d1d1d7 100644 --- a/src/Kusto/test/Get-AzKustoClusterFollowerDatabase.Recording.json +++ b/src/Kusto/test/Get-AzKustoClusterFollowerDatabase.Recording.json @@ -1,12 +1,13 @@ { - "Get-AzKustoClusterFollowerDatabase+[NoContext]+List+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/listFollowerDatabases?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/listFollowerDatabases?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/listFollowerDatabases?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/listFollowerDatabases?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "152" ], - "x-ms-client-request-id": [ "c5934e82-a71d-4eaa-85d6-e9d574c3fc79" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "5114d605-af5a-470b-9cce-ff3833c58447" ], "CommandName": [ "Get-AzKustoClusterFollowerDatabase" ], "FullCommandName": [ "Get-AzKustoClusterFollowerDatabase_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,25 +20,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-request-id": [ "01237214-f59d-414c-803e-d53e71414f4d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d218a0c8-8983-4650-b3c8-c2ec75b58910" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180847Z:d218a0c8-8983-4650-b3c8-c2ec75b58910" ], + "x-ms-request-id": [ "4d197ec8-a47b-4043-81b1-6dcffc724899" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "eb0ca92f-4abf-4a03-8c8c-49dd75e0bbab" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115441Z:eb0ca92f-4abf-4a03-8c8c-49dd75e0bbab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:47 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:54:40 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "263" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls\",\"attachedDatabaseConfigurationName\":\"testdbconfa0obls\",\"databaseName\":\"testdatabasemlhoe5\"}]}" + "Content": "{\"value\":[{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam\",\"attachedDatabaseConfigurationName\":\"testdbconfzu7bam\",\"databaseName\":\"testdatabaseqlp6ob\"}]}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoClusterFollowerDatabase.Tests.ps1 b/src/Kusto/test/Get-AzKustoClusterFollowerDatabase.Tests.ps1 index 9998b7a00244..90c8a777d7d6 100644 --- a/src/Kusto/test/Get-AzKustoClusterFollowerDatabase.Tests.ps1 +++ b/src/Kusto/test/Get-AzKustoClusterFollowerDatabase.Tests.ps1 @@ -1,19 +1,21 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoClusterFollowerDatabase.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName Describe 'Get-AzKustoClusterFollowerDatabase' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoClusterFollowerDatabase.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'List' { $subscriptionId = $env.SubscriptionId $resourceGroupName = $env.resourceGroupName diff --git a/src/Kusto/test/Get-AzKustoClusterLanguageExtension.Recording.json b/src/Kusto/test/Get-AzKustoClusterLanguageExtension.Recording.json index 2a23aae6a7bf..95059b37e630 100644 --- a/src/Kusto/test/Get-AzKustoClusterLanguageExtension.Recording.json +++ b/src/Kusto/test/Get-AzKustoClusterLanguageExtension.Recording.json @@ -1,12 +1,13 @@ { - "Get-AzKustoClusterLanguageExtension+[NoContext]+List+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/listLanguageExtensions?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/listLanguageExtensions?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/listLanguageExtensions?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/listLanguageExtensions?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "153" ], - "x-ms-client-request-id": [ "d0067116-5fbd-4f85-80c6-dec4fc7ef1fd" ], + "x-ms-unique-id": [ "441" ], + "x-ms-client-request-id": [ "fbdc4781-dae4-4669-80c6-e0391953acfe" ], "CommandName": [ "Get-AzKustoClusterLanguageExtension" ], "FullCommandName": [ "Get-AzKustoClusterLanguageExtension_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,25 +20,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-request-id": [ "309d45ac-b770-4c45-b0e6-581c465d0e7f" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "07eb0b64-ab96-45fe-914e-2e68fdbee45a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180848Z:07eb0b64-ab96-45fe-914e-2e68fdbee45a" ], + "x-ms-request-id": [ "689128f2-11ec-4117-98b9-ea351eb4d2b1" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "29d2489b-7b16-4ef3-81e1-78d028962992" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160010Z:29d2489b-7b16-4ef3-81e1-78d028962992" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:00:10 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "76" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"languageExtensionName\":\"PYTHON\"},{\"languageExtensionName\":\"R\"}]}" + "Content": "{\"value\":[{\"languageExtensionName\":\"PYTHON\"},{\"languageExtensionName\":\"R\"}]}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoClusterLanguageExtension.Tests.ps1 b/src/Kusto/test/Get-AzKustoClusterLanguageExtension.Tests.ps1 index 97db72f37c5d..9a2c591754ee 100644 --- a/src/Kusto/test/Get-AzKustoClusterLanguageExtension.Tests.ps1 +++ b/src/Kusto/test/Get-AzKustoClusterLanguageExtension.Tests.ps1 @@ -1,17 +1,20 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoClusterLanguageExtension.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Get-AzKustoClusterLanguageExtension' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoClusterLanguageExtension.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'List' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/Get-AzKustoClusterPrincipalAssignment.Recording.json b/src/Kusto/test/Get-AzKustoClusterPrincipalAssignment.Recording.json index 7c94bc32518e..99e0bf70570f 100644 --- a/src/Kusto/test/Get-AzKustoClusterPrincipalAssignment.Recording.json +++ b/src/Kusto/test/Get-AzKustoClusterPrincipalAssignment.Recording.json @@ -1,12 +1,13 @@ { - "Get-AzKustoClusterPrincipalAssignment+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/principalAssignments?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/principalAssignments?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/principalAssignments?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/principalAssignments?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "154" ], - "x-ms-client-request-id": [ "efb14252-1609-4823-ba16-4cc2890ab28d" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "a215e5b6-b8f5-4074-98c0-8b0eb8f22f4c" ], "CommandName": [ "Get-AzKustoClusterPrincipalAssignment" ], "FullCommandName": [ "Get-AzKustoClusterPrincipalAssignment_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,35 +20,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "240be7d3-9fd8-436c-9a17-2e60dae5113c" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "c55da5b9-208b-4059-92c0-2be60c3f0963" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "1cc9e8c6-b579-4063-8f47-c9605bbba45e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180851Z:1cc9e8c6-b579-4063-8f47-c9605bbba45e" ], + "x-ms-correlation-request-id": [ "d7316970-aac9-46d0-9014-c05c38f48f4f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115514Z:d7316970-aac9-46d0-9014-c05c38f48f4f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:51 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:55:13 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "591" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/KustoClientsScenarioTest\",\"name\":\"testclustermlhoe5/KustoClientsScenarioTest\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"role\":\"AllDatabasesViewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"KustoClientsScenarioTest\",\"provisioningState\":\"Succeeded\"}}]}" + "Content": "{\"value\":[{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/KustoClientsScenarioTest\",\"name\":\"testclusterqlp6ob/KustoClientsScenarioTest\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"role\":\"AllDatabasesViewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"KustoClientsScenarioTest\",\"provisioningState\":\"Succeeded\"}}]}", + "isContentBase64": false } }, - "Get-AzKustoClusterPrincipalAssignment+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/KustoClientsScenarioTest?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/KustoClientsScenarioTest?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/KustoClientsScenarioTest?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/KustoClientsScenarioTest?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "155" ], - "x-ms-client-request-id": [ "8e43228f-3a14-4d28-945a-11c6d8352be5" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "9a0b06cb-b3d2-45a8-a829-442ddeef5104" ], "CommandName": [ "Get-AzKustoClusterPrincipalAssignment" ], "FullCommandName": [ "Get-AzKustoClusterPrincipalAssignment_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,26 +61,25 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "044da3d2-9933-4aab-821a-fcc858b87198" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "68e8683b-da29-4de4-b079-a6f6ee102625" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ed8f7003-03d1-4fec-a626-260946d16b51" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180852Z:ed8f7003-03d1-4fec-a626-260946d16b51" ], + "x-ms-correlation-request-id": [ "2ab2ea93-52d0-424c-a9a7-9092cfb1f35b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115515Z:2ab2ea93-52d0-424c-a9a7-9092cfb1f35b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:51 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:55:14 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "589" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/KustoClientsScenarioTest\",\"name\":\"testclustermlhoe5/KustoClientsScenarioTest\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"role\":\"AllDatabasesViewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"KustoClientsScenarioTest\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/KustoClientsScenarioTest\",\"name\":\"testclusterqlp6ob/KustoClientsScenarioTest\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"role\":\"AllDatabasesViewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"KustoClientsScenarioTest\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoClusterPrincipalAssignment.Tests.ps1 b/src/Kusto/test/Get-AzKustoClusterPrincipalAssignment.Tests.ps1 index 547abf555d77..852a86793bcf 100644 --- a/src/Kusto/test/Get-AzKustoClusterPrincipalAssignment.Tests.ps1 +++ b/src/Kusto/test/Get-AzKustoClusterPrincipalAssignment.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoClusterPrincipalAssignment.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Get-AzKustoClusterPrincipalAssignment' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoClusterPrincipalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'List' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/Get-AzKustoClusterSku.Recording.json b/src/Kusto/test/Get-AzKustoClusterSku.Recording.json index 858acf9a0d08..b92ef61783bd 100644 --- a/src/Kusto/test/Get-AzKustoClusterSku.Recording.json +++ b/src/Kusto/test/Get-AzKustoClusterSku.Recording.json @@ -1,12 +1,13 @@ { - "Get-AzKustoClusterSku+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/skus?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/skus?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/skus?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/skus?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "156" ], - "x-ms-client-request-id": [ "e08eff1f-53ba-41e7-83e3-2d7518840470" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "6a9dd2bf-31cf-469b-be34-1f1cf0617762" ], "CommandName": [ "Get-AzKustoClusterSku" ], "FullCommandName": [ "Get-AzKustoClusterSku_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,32 +20,34 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-request-id": [ "3000309d-1ca9-4ce4-a439-51e5fe201d82" ], - "x-ms-correlation-request-id": [ "3000309d-1ca9-4ce4-a439-51e5fe201d82" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180852Z:3000309d-1ca9-4ce4-a439-51e5fe201d82" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-request-id": [ "23f67c97-6235-4074-ab36-95ba917ea913" ], + "x-ms-correlation-request-id": [ "23f67c97-6235-4074-ab36-95ba917ea913" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115521Z:23f67c97-6235-4074-ab36-95ba917ea913" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:52 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:55:21 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "104983" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "100396" ] + "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E64i_v3\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"southafricawest\"],\"locationInfo\":[{\"location\":\"southafricawest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricawest\"],\"locationInfo\":[{\"location\":\"southafricawest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricawest\"],\"locationInfo\":[{\"location\":\"southafricawest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricawest\"],\"locationInfo\":[{\"location\":\"southafricawest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricawest\"],\"locationInfo\":[{\"location\":\"southafricawest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E64i_v3\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E64i_v3\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]}]}" + "Content": "{\"value\":[{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiacentral\"],\"locationInfo\":[{\"location\":\"australiacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"australiaeast\"],\"locationInfo\":[{\"location\":\"australiaeast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"australiasoutheast\"],\"locationInfo\":[{\"location\":\"australiasoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"brazilsouth\"],\"locationInfo\":[{\"location\":\"brazilsouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"brazilsoutheast\"],\"locationInfo\":[{\"location\":\"brazilsoutheast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[\"1\",\"3\",\"2\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[\"1\",\"3\",\"2\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[\"1\",\"3\",\"2\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[\"1\",\"3\",\"2\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[\"1\",\"3\",\"2\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[\"1\",\"3\",\"2\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[\"1\",\"3\",\"2\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[\"1\",\"3\",\"2\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadacentral\"],\"locationInfo\":[{\"location\":\"canadacentral\",\"zones\":[\"1\",\"3\",\"2\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"canadaeast\"],\"locationInfo\":[{\"location\":\"canadaeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"centralindia\"],\"locationInfo\":[{\"location\":\"centralindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"centralus\"],\"locationInfo\":[{\"location\":\"centralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"eastasia\"],\"locationInfo\":[{\"location\":\"eastasia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E64i_v3\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E80ids_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"eastus\"],\"locationInfo\":[{\"location\":\"eastus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"eastus2\"],\"locationInfo\":[{\"location\":\"eastus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francecentral\"],\"locationInfo\":[{\"location\":\"francecentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"francesouth\"],\"locationInfo\":[{\"location\":\"francesouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"germanywestcentral\"],\"locationInfo\":[{\"location\":\"germanywestcentral\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"japaneast\"],\"locationInfo\":[{\"location\":\"japaneast\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"japanwest\"],\"locationInfo\":[{\"location\":\"japanwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"koreacentral\"],\"locationInfo\":[{\"location\":\"koreacentral\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"koreasouth\"],\"locationInfo\":[{\"location\":\"koreasouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northcentralus\"],\"locationInfo\":[{\"location\":\"northcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"northeurope\"],\"locationInfo\":[{\"location\":\"northeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwayeast\"],\"locationInfo\":[{\"location\":\"norwayeast\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"norwaywest\"],\"locationInfo\":[{\"location\":\"norwaywest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"norwaywest\"],\"locationInfo\":[{\"location\":\"norwaywest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"norwaywest\"],\"locationInfo\":[{\"location\":\"norwaywest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"norwaywest\"],\"locationInfo\":[{\"location\":\"norwaywest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"norwaywest\"],\"locationInfo\":[{\"location\":\"norwaywest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwaywest\"],\"locationInfo\":[{\"location\":\"norwaywest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwaywest\"],\"locationInfo\":[{\"location\":\"norwaywest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwaywest\"],\"locationInfo\":[{\"location\":\"norwaywest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"norwaywest\"],\"locationInfo\":[{\"location\":\"norwaywest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southafricanorth\"],\"locationInfo\":[{\"location\":\"southafricanorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"southafricawest\"],\"locationInfo\":[{\"location\":\"southafricawest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricawest\"],\"locationInfo\":[{\"location\":\"southafricawest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricawest\"],\"locationInfo\":[{\"location\":\"southafricawest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricawest\"],\"locationInfo\":[{\"location\":\"southafricawest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"southafricawest\"],\"locationInfo\":[{\"location\":\"southafricawest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E64i_v3\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"southcentralus\"],\"locationInfo\":[{\"location\":\"southcentralus\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southindia\"],\"locationInfo\":[{\"location\":\"southindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"southeastasia\"],\"locationInfo\":[{\"location\":\"southeastasia\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"switzerlandnorth\"],\"locationInfo\":[{\"location\":\"switzerlandnorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uaenorth\"],\"locationInfo\":[{\"location\":\"uaenorth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"uksouth\"],\"locationInfo\":[{\"location\":\"uksouth\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"ukwest\"],\"locationInfo\":[{\"location\":\"ukwest\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westcentralus\"],\"locationInfo\":[{\"location\":\"westcentralus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"westeurope\"],\"locationInfo\":[{\"location\":\"westeurope\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westindia\"],\"locationInfo\":[{\"location\":\"westindia\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"westus\"],\"locationInfo\":[{\"location\":\"westus\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E64i_v3\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"westus2\"],\"locationInfo\":[{\"location\":\"westus2\",\"zones\":[\"2\",\"1\",\"3\"],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"westus3\"],\"locationInfo\":[{\"location\":\"westus3\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"westus3\"],\"locationInfo\":[{\"location\":\"westus3\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"westus3\"],\"locationInfo\":[{\"location\":\"westus3\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"westus3\"],\"locationInfo\":[{\"location\":\"westus3\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"westus3\"],\"locationInfo\":[{\"location\":\"westus3\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus3\"],\"locationInfo\":[{\"location\":\"westus3\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus3\"],\"locationInfo\":[{\"location\":\"westus3\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus3\"],\"locationInfo\":[{\"location\":\"westus3\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"westus3\"],\"locationInfo\":[{\"location\":\"westus3\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_D11_v2\",\"tier\":\"Basic\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E64i_v3\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E80ids_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]},{\"resourceType\":\"clusters\",\"name\":\"Dev(No SLA)_Standard_E2a_v4\",\"tier\":\"Basic\",\"locations\":[\"eastus2euap\"],\"locationInfo\":[{\"location\":\"eastus2euap\",\"zones\":[],\"zoneDetails\":[]}],\"restrictions\":[]}]}", + "isContentBase64": false } }, - "Get-AzKustoClusterSku+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/skus?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/skus?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/skus?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/skus?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "157" ], - "x-ms-client-request-id": [ "4a08001d-fccc-4abe-8db2-e5a956641370" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "2a9ddd2f-39c7-4655-82d4-98f27eaa320f" ], "CommandName": [ "Get-AzKustoClusterSku" ], "FullCommandName": [ "Get-AzKustoClusterSku_List1" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -57,25 +60,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-request-id": [ "33071295-9d7c-43ff-843e-e9cb26715989" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bd24c3d0-3412-45ab-b888-39757b287dcc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180853Z:bd24c3d0-3412-45ab-b888-39757b287dcc" ], + "x-ms-request-id": [ "25587cd7-3ee9-4a90-b1d5-2e874c6856e7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "80895434-e6df-4e5b-b6cf-849d1bd1c1f4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115522Z:80895434-e6df-4e5b-b6cf-849d1bd1c1f4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:52 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:55:21 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "5951" ], + "Content-Length": [ "6258" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":8,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":16,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[]}]},\"capacity\":{\"minimum\":2,\"maximum\":16,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E64i_v3\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_D32d_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}}]}" + "Content": "{\"value\":[{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":8,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":16,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_D13_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_D14_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_DS13_v2+1TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_DS13_v2+2TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_DS14_v2+3TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_DS14_v2+4TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_L4s\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[]}]},\"capacity\":{\"minimum\":2,\"maximum\":16,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_L8s\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_L16s\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_L8s_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_L16s_v2\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E64i_v3\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E80ids_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E2a_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E4a_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E8a_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E16a_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E8as_v4+1TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E8as_v4+2TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E16as_v4+3TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_E16as_v4+4TB_PS\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}},{\"resourceType\":\"Microsoft.Kusto/clusters\",\"sku\":{\"name\":\"Standard_D32d_v4\",\"tier\":\"Standard\",\"locationInfo\":[{\"location\":\"East US\",\"zones\":[\"useast-AZ01\",\"useast-AZ02\",\"useast-AZ03\"]}]},\"capacity\":{\"minimum\":2,\"maximum\":1000,\"default\":2,\"scaleType\":\"Automatic\"}}]}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoClusterSku.Tests.ps1 b/src/Kusto/test/Get-AzKustoClusterSku.Tests.ps1 index f5eb7d683cae..5a6340866969 100644 --- a/src/Kusto/test/Get-AzKustoClusterSku.Tests.ps1 +++ b/src/Kusto/test/Get-AzKustoClusterSku.Tests.ps1 @@ -1,20 +1,21 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoClusterSku.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Get-AzKustoClusterSku' { + BeforeAll{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoClusterSku.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'List' { [array]$clusterSku = Get-AzKustoClusterSku - $clusterSku.Count | Should -Be 493 + $clusterSku.Count | Should -Be 530 } It 'List1' { @@ -22,6 +23,6 @@ Describe 'Get-AzKustoClusterSku' { $clusterName = $env.clusterName [array]$clusterSku = Get-AzKustoClusterSku -ResourceGroupName $resourceGroupName -ClusterName $clusterName - $clusterSku.Count | Should -Be 23 + $clusterSku.Count | Should -Be 24 } } diff --git a/src/Kusto/test/Get-AzKustoDataConnection.Recording.json b/src/Kusto/test/Get-AzKustoDataConnection.Recording.json index e5b8daa3be42..9aa7a183fc34 100644 --- a/src/Kusto/test/Get-AzKustoDataConnection.Recording.json +++ b/src/Kusto/test/Get-AzKustoDataConnection.Recording.json @@ -1,12 +1,13 @@ { - "Get-AzKustoDataConnection+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnections?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnections?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnections?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnections?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "163" ], - "x-ms-client-request-id": [ "213c090b-d373-4216-8a68-86a869fd727b" ], + "x-ms-unique-id": [ "435" ], + "x-ms-client-request-id": [ "de0b9c54-b8cb-4a53-b9ba-7be1a87ada3f" ], "CommandName": [ "Get-AzKustoDataConnection" ], "FullCommandName": [ "Get-AzKustoDataConnection_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,35 +20,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "3d89bae0-6d6e-46e0-bb04-3dd78fe56911" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "4d5660df-8faf-4a08-a6e0-a1ff55b4c807" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180900Z:4d5660df-8faf-4a08-a6e0-a1ff55b4c807" ], + "x-ms-request-id": [ "14267674-cd0b-4d4b-88b4-7b75bfe9d82f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "291" ], + "x-ms-correlation-request-id": [ "c6ebd96f-cb6c-49df-8c94-2cf4c49e0c52" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T152636Z:c6ebd96f-cb6c-49df-8c94-2cf4c49e0c52" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:09:00 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:26:36 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "2490" ], + "Content-Length": [ "2601" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5g\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"ignoreFirstRecord\":false,\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":\"\",\"mappingRuleName\":\"\",\"dataFormat\":\"\",\"eventSystemProperties\":[],\"compression\":\"None\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5h\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"tableName\":\"\",\"mappingRuleName\":\"\",\"dataFormat\":\"\",\"eventSystemProperties\":[],\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Succeeded\"}}]}" + "Content": "{\"value\":[{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obg\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"ignoreFirstRecord\":false,\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"compression\":\"None\",\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obh\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"sharedAccessPolicyName\":\"registryRead\",\"ManagedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}]}", + "isContentBase64": false } }, - "Get-AzKustoDataConnection+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "164" ], - "x-ms-client-request-id": [ "fb36c5f2-2fd0-4c1d-95e0-79e182dd809a" ], + "x-ms-unique-id": [ "436" ], + "x-ms-client-request-id": [ "e55b0c2b-28d6-43c1-9b8c-15cd682a2719" ], "CommandName": [ "Get-AzKustoDataConnection" ], "FullCommandName": [ "Get-AzKustoDataConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,26 +61,25 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "a03619fa-617e-49e5-9c6a-2d17a34bec43" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a9d54fc6-0aa1-4052-bf14-c4589879a881" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180901Z:a9d54fc6-0aa1-4052-bf14-c4589879a881" ], + "x-ms-request-id": [ "56f12a2d-5ff0-47e1-89f1-067e46e08eb4" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "f1f799c0-d1cc-4f4d-88a9-158ebd9b9314" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T152637Z:f1f799c0-d1cc-4f4d-88a9-158ebd9b9314" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:09:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:26:37 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "768" ], + "Content-Length": [ "807" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":\"\",\"mappingRuleName\":\"\",\"dataFormat\":\"\",\"eventSystemProperties\":[],\"compression\":\"None\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"compression\":\"None\",\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoDataConnection.Tests.ps1 b/src/Kusto/test/Get-AzKustoDataConnection.Tests.ps1 index 497cb3bfbbb3..af81e5371416 100644 --- a/src/Kusto/test/Get-AzKustoDataConnection.Tests.ps1 +++ b/src/Kusto/test/Get-AzKustoDataConnection.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoDataConnection.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Get-AzKustoDataConnection' { + BeforeAll { + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoDataConnection.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'List' { $subscriptionId = $env.SubscriptionId $location = $env.locationfordc diff --git a/src/Kusto/test/Get-AzKustoDatabase.Recording.json b/src/Kusto/test/Get-AzKustoDatabase.Recording.json index 3ba9755d1014..37591404e6ca 100644 --- a/src/Kusto/test/Get-AzKustoDatabase.Recording.json +++ b/src/Kusto/test/Get-AzKustoDatabase.Recording.json @@ -1,12 +1,13 @@ { - "Get-AzKustoDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "158" ], - "x-ms-client-request-id": [ "620b1f2f-7456-4836-9977-d2d0c372a5a7" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "04fc6d14-14d0-480b-b014-a376cca7cd05" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,36 +20,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "39223d26-4c90-4e40-ad3f-75c69abb9bc5" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "70d2626e-3c79-44d7-80d7-0104b4a7436f" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "61bdba72-be61-4486-b400-510e58300135" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180853Z:61bdba72-be61-4486-b400-510e58300135" ], + "x-ms-correlation-request-id": [ "feea4d83-9d05-48a0-925a-46c49c4d3bc5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115529Z:feea4d83-9d05-48a0-925a-46c49c4d3bc5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:55:28 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "518" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Get-AzKustoDatabase+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "159" ], - "x-ms-client-request-id": [ "d1f56f3b-4a22-4e73-af58-c8b5df26fd09" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "5ddb0971-49cc-478e-ae40-2ae56a1df5ba" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -61,26 +62,25 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "bf1c7c41-fae2-420a-88b6-de3f22cda96b" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "fb568f41-d5d1-4fc3-8ec5-af970a4dcba3" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "af2c74e0-982a-423a-b8c8-aa03174f03a9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180854Z:af2c74e0-982a-423a-b8c8-aa03174f03a9" ], + "x-ms-correlation-request-id": [ "65b622a5-1ccf-4ebb-93a2-2f0961076fd3" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115530Z:65b622a5-1ccf-4ebb-93a2-2f0961076fd3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:55:29 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "518" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoDatabase.Tests.ps1 b/src/Kusto/test/Get-AzKustoDatabase.Tests.ps1 index 5149889a6e21..1657ed8cc16f 100644 --- a/src/Kusto/test/Get-AzKustoDatabase.Tests.ps1 +++ b/src/Kusto/test/Get-AzKustoDatabase.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoDatabase.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Get-AzKustoDatabase' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoDatabase.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'List' { $softDeletePeriodInDays = Get-Soft-Delete-Period-In-Days $hotCachePeriodInDays = Get-Hot-Cache-Period-In-Days diff --git a/src/Kusto/test/Get-AzKustoDatabasePrincipal.Recording.json b/src/Kusto/test/Get-AzKustoDatabasePrincipal.Recording.json index 28b9c993c128..3c76df33f98d 100644 --- a/src/Kusto/test/Get-AzKustoDatabasePrincipal.Recording.json +++ b/src/Kusto/test/Get-AzKustoDatabasePrincipal.Recording.json @@ -1,12 +1,13 @@ { - "Get-AzKustoDatabasePrincipal+[NoContext]+List+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/listPrincipals?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/listPrincipals?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/listPrincipals?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/listPrincipals?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "160" ], - "x-ms-client-request-id": [ "c3622b32-0dbc-4443-a9e4-ab12510e056c" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "080c08cf-88aa-4846-baf4-d2029f2af557" ], "CommandName": [ "Get-AzKustoDatabasePrincipal" ], "FullCommandName": [ "Get-AzKustoDatabasePrincipal_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,25 +20,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-request-id": [ "646865fa-c488-4e3b-9a88-ceb81da3a1dc" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "1edef66e-48f0-4300-9413-2d2b4a9c6640" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180855Z:1edef66e-48f0-4300-9413-2d2b4a9c6640" ], + "x-ms-request-id": [ "efea7070-60e3-4a33-8292-a6e74b274940" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "b9f0340d-3605-4898-ab9c-8e7cfabe38ff" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115607Z:b9f0340d-3605-4898-ab9c-8e7cfabe38ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:54 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:56:07 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "464" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"name\":\"KustoClientsScenarioTest\",\"role\":\"Viewer\",\"type\":\"App\",\"fqn\":\"aadapp=713c3475-5021-4f3b-a650-eaa9a83f25a4;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"\",\"appId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"tenantName\":\"Microsoft\"},{\"name\":\"Assaf Taubenfeld\",\"role\":\"Admin\",\"type\":\"User\",\"fqn\":\"aaduser=53d8fc23-618e-49fa-ae3f-ae65cc60aa37;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"astauben@microsoft.com\",\"appId\":\"\",\"tenantName\":\"Microsoft\"}]}" + "Content": "{\"value\":[{\"name\":\"KustoClientsScenarioTest\",\"role\":\"Viewer\",\"type\":\"App\",\"fqn\":\"aadapp=713c3475-5021-4f3b-a650-eaa9a83f25a4;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"\",\"appId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"tenantName\":\"Microsoft\"},{\"name\":\"Assaf Taubenfeld\",\"role\":\"Admin\",\"type\":\"User\",\"fqn\":\"aaduser=53d8fc23-618e-49fa-ae3f-ae65cc60aa37;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"astauben@microsoft.com\",\"appId\":\"\",\"tenantName\":\"Microsoft\"}]}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoDatabasePrincipal.Tests.ps1 b/src/Kusto/test/Get-AzKustoDatabasePrincipal.Tests.ps1 index 00f8b4d4feaf..1088c1d417c2 100644 --- a/src/Kusto/test/Get-AzKustoDatabasePrincipal.Tests.ps1 +++ b/src/Kusto/test/Get-AzKustoDatabasePrincipal.Tests.ps1 @@ -1,17 +1,20 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoDatabasePrincipal.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Get-AzKustoDatabasePrincipal' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoDatabasePrincipal.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'List' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/Get-AzKustoDatabasePrincipalAssignment.Recording.json b/src/Kusto/test/Get-AzKustoDatabasePrincipalAssignment.Recording.json index 99de63d23eb9..cccabd4bbf73 100644 --- a/src/Kusto/test/Get-AzKustoDatabasePrincipalAssignment.Recording.json +++ b/src/Kusto/test/Get-AzKustoDatabasePrincipalAssignment.Recording.json @@ -1,12 +1,13 @@ { - "Get-AzKustoDatabasePrincipalAssignment+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/principalAssignments?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+List+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/principalAssignments?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/principalAssignments?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/principalAssignments?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "161" ], - "x-ms-client-request-id": [ "9660b306-da3e-48dc-8e3d-ae0d9983fc8f" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "7fd87c77-8a56-4ba7-965b-c96a131e8b8e" ], "CommandName": [ "Get-AzKustoDatabasePrincipalAssignment" ], "FullCommandName": [ "Get-AzKustoDatabasePrincipalAssignment_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,35 +20,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "78ed6c16-e37d-4c3c-a673-ee95687cac90" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "6f0266fe-6ddf-405c-ae22-ebec0dbf6c0a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180855Z:6f0266fe-6ddf-405c-ae22-ebec0dbf6c0a" ], + "x-ms-request-id": [ "6fa0a832-ef3c-40d9-aaba-8d3de7c82e2f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "1eeecfa1-35b1-488b-897f-e3ccd0c49652" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115619Z:1eeecfa1-35b1-488b-897f-e3ccd0c49652" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:55 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:56:19 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "1265" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/KustoClientsScenarioTest\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5/KustoClientsScenarioTest\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"role\":\"Viewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"KustoClientsScenarioTest\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/f54522c3-55c4-4468-900f-0cc0822e8834\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5/f54522c3-55c4-4468-900f-0cc0822e8834\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"astauben@microsoft.com\",\"role\":\"Admin\",\"principalType\":\"User\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"Assaf Taubenfeld\",\"provisioningState\":\"Succeeded\"}}]}" + "Content": "{\"value\":[{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/KustoClientsScenarioTest\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob/KustoClientsScenarioTest\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"role\":\"Viewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"KustoClientsScenarioTest\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/62320b59-ddfb-4a96-9c45-6212ce15cc72\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob/62320b59-ddfb-4a96-9c45-6212ce15cc72\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"astauben@microsoft.com\",\"role\":\"Admin\",\"principalType\":\"User\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"Assaf Taubenfeld\",\"provisioningState\":\"Succeeded\"}}]}", + "isContentBase64": false } }, - "Get-AzKustoDatabasePrincipalAssignment+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/KustoClientsScenarioTest?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/KustoClientsScenarioTest?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/KustoClientsScenarioTest?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/KustoClientsScenarioTest?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "162" ], - "x-ms-client-request-id": [ "00e845f8-1dea-4ee8-9a8f-b09249d9530f" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "8a3a22ec-1642-4744-819c-59e5a2754e85" ], "CommandName": [ "Get-AzKustoDatabasePrincipalAssignment" ], "FullCommandName": [ "Get-AzKustoDatabasePrincipalAssignment_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,26 +61,25 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "06fe2914-c62f-4eab-b251-184a99bff1ee" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "877b355c-f559-4403-afea-ac76c5dd7640" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180856Z:877b355c-f559-4403-afea-ac76c5dd7640" ], + "x-ms-request-id": [ "bd92fb85-72b3-46d4-b208-a85681383896" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "e1493e02-6501-4af0-9e14-fdc3ee25d7ef" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115620Z:e1493e02-6501-4af0-9e14-fdc3ee25d7ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:08:55 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:56:20 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "635" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/KustoClientsScenarioTest\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5/KustoClientsScenarioTest\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"role\":\"Viewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"KustoClientsScenarioTest\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/KustoClientsScenarioTest\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob/KustoClientsScenarioTest\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"role\":\"Viewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"KustoClientsScenarioTest\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Get-AzKustoDatabasePrincipalAssignment.Tests.ps1 b/src/Kusto/test/Get-AzKustoDatabasePrincipalAssignment.Tests.ps1 index 4ecce2175811..41d822309f52 100644 --- a/src/Kusto/test/Get-AzKustoDatabasePrincipalAssignment.Tests.ps1 +++ b/src/Kusto/test/Get-AzKustoDatabasePrincipalAssignment.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoDatabasePrincipalAssignment.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Get-AzKustoDatabasePrincipalAssignment' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoDatabasePrincipalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'List' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/Get-AzKustoOperationsResult.Tests.ps1 b/src/Kusto/test/Get-AzKustoOperationsResult.Tests.ps1 new file mode 100644 index 000000000000..60855cf82110 --- /dev/null +++ b/src/Kusto/test/Get-AzKustoOperationsResult.Tests.ps1 @@ -0,0 +1,25 @@ +Describe 'Get-AzKustoOperationsResult' { + BeforeAll { + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoOperationsResult.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Kusto/test/Get-AzKustoScript.Tests.ps1 b/src/Kusto/test/Get-AzKustoScript.Tests.ps1 new file mode 100644 index 000000000000..7a3667548d11 --- /dev/null +++ b/src/Kusto/test/Get-AzKustoScript.Tests.ps1 @@ -0,0 +1,29 @@ +Describe 'Get-AzKustoScript' { + BeforeAll { + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzKustoScript.Recording.jso' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Kusto/test/Invoke-AzKustoDataConnectionValidation.Recording.json b/src/Kusto/test/Invoke-AzKustoDataConnectionValidation.Recording.json index ce5f08dae4e5..7067cfa6c271 100644 --- a/src/Kusto/test/Invoke-AzKustoDataConnectionValidation.Recording.json +++ b/src/Kusto/test/Invoke-AzKustoDataConnectionValidation.Recording.json @@ -1,9 +1,10 @@ { - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataExpandedEventHub+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+DataExpandedEventHub+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"kind\": \"EventHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"compression\": \"None\",\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionmlhoe546xdyp\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventHub\",\r\n \"properties\": {\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\r\n \"consumerGroup\": \"$Default\",\r\n \"compression\": \"None\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionqlp6ob9u4t7o\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,40 +15,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/3c19f2d1-5b51-49d5-a2ef-adca743f47bf?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "bd989caf-4eec-4b7e-8691-307f491ef8dc" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/3c19f2d1-5b51-49d5-a2ef-adca743f47bf?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-correlation-request-id": [ "14f4edbf-7c1c-4488-a961-7caef867ae8b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180903Z:14f4edbf-7c1c-4488-a961-7caef867ae8b" ], + "x-ms-request-id": [ "3cfed2d2-ea4e-4576-9cfa-2c8e543cd158" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/af23341a-b17d-49e3-bbdb-9ad623c4dd77?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "01e143ab-5bf7-416b-af1e-3120678b6e2b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115721Z:01e143ab-5bf7-416b-af1e-3120678b6e2b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:09:02 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:57:21 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/af23341a-b17d-49e3-bbdb-9ad623c4dd77?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/3c19f2d1-5b51-49d5-a2ef-adca743f47bf?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+DataExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/af23341a-b17d-49e3-bbdb-9ad623c4dd77?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/3c19f2d1-5b51-49d5-a2ef-adca743f47bf?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/af23341a-b17d-49e3-bbdb-9ad623c4dd77?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "165", "166" ], - "x-ms-client-request-id": [ "83c1e833-b7c6-4475-b8ab-c45c5641fd5c", "83c1e833-b7c6-4475-b8ab-c45c5641fd5c" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data", "Invoke-AzKustoDataConnectionValidation_Data" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "9290b0f8-c059-4da5-bd46-f7fea65f80dd" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -55,40 +57,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "a70736d1-8f4c-4bb8-aebb-5ec6e5c365cd" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f1d45f83-18a5-476f-906e-c246a67cdc6b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180933Z:f1d45f83-18a5-476f-906e-c246a67cdc6b" ], + "x-ms-request-id": [ "7ea68c63-e4ec-4712-be07-f2e1a0c7c5fa" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "41635e74-2e80-4ad2-986b-e4347a87a27a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115752Z:41635e74-2e80-4ad2-986b-e4347a87a27a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:09:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:57:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "458" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/3c19f2d1-5b51-49d5-a2ef-adca743f47bf\",\"name\":\"3c19f2d1-5b51-49d5-a2ef-adca743f47bf\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:09:02.8544101Z\",\"endTime\":\"2020-10-26T18:09:11.5426741Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/af23341a-b17d-49e3-bbdb-9ad623c4dd77\",\"name\":\"af23341a-b17d-49e3-bbdb-9ad623c4dd77\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T11:57:21.6048093Z\",\"endTime\":\"2021-05-13T11:57:27.4177738Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/3c19f2d1-5b51-49d5-a2ef-adca743f47bf?api-version=2020-09-18\u0026operationResultResponseType=Location+3": { + "[NoDescription]+[NoContext]+DataExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/af23341a-b17d-49e3-bbdb-9ad623c4dd77?api-version=2021-01-01\u0026operationResultResponseType=Location+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/3c19f2d1-5b51-49d5-a2ef-adca743f47bf?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/af23341a-b17d-49e3-bbdb-9ad623c4dd77?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "165", "166", "167" ], - "x-ms-client-request-id": [ "83c1e833-b7c6-4475-b8ab-c45c5641fd5c", "83c1e833-b7c6-4475-b8ab-c45c5641fd5c", "83c1e833-b7c6-4475-b8ab-c45c5641fd5c" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data", "Invoke-AzKustoDataConnectionValidation_Data", "Invoke-AzKustoDataConnectionValidation_Data" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "9290b0f8-c059-4da5-bd46-f7fea65f80dd" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -96,32 +98,32 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "f3e35037-46ed-4099-b6ea-d1276fca7157" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "dba8a891-8f5f-4e8d-8678-23412abd2392" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180933Z:dba8a891-8f5f-4e8d-8678-23412abd2392" ], + "x-ms-request-id": [ "5d2807aa-01e5-4f27-96b8-6b5b0303d7b3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "694a63fe-9347-4d15-a1df-429eba1986df" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115752Z:694a63fe-9347-4d15-a1df-429eba1986df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:09:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:57:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "103" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}" + "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataExpandedEventGrid+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+DataExpandedEventGrid+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"kind\": \"EventGrid\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\r\n \"storageAccountResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionmlhoe5pjs9o1\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventGrid\",\r\n \"properties\": {\r\n \"storageAccountResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\r\n \"consumerGroup\": \"$Default\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionqlp6obksghcq\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -132,40 +134,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/38c1e104-49f5-4e66-81b0-c14c19ba15e3?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "f275a294-c37a-42b2-a8fd-673cd2f71689" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/38c1e104-49f5-4e66-81b0-c14c19ba15e3?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-correlation-request-id": [ "a8e4a347-f75e-45a3-b7ea-58e9aafa9abd" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T180934Z:a8e4a347-f75e-45a3-b7ea-58e9aafa9abd" ], + "x-ms-request-id": [ "73ec31f8-6a8d-495d-834b-e718d65e796c" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/f0e836b8-4324-45dd-a934-fe3fb0cb9841?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "27753f08-eb23-4e1d-9c39-b05421db9ddc" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115753Z:27753f08-eb23-4e1d-9c39-b05421db9ddc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:09:33 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:57:53 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/f0e836b8-4324-45dd-a934-fe3fb0cb9841?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/38c1e104-49f5-4e66-81b0-c14c19ba15e3?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+DataExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/f0e836b8-4324-45dd-a934-fe3fb0cb9841?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/38c1e104-49f5-4e66-81b0-c14c19ba15e3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/f0e836b8-4324-45dd-a934-fe3fb0cb9841?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "168", "169" ], - "x-ms-client-request-id": [ "9c8c46f3-9206-4cc8-9356-013d1d8a5eb8", "9c8c46f3-9206-4cc8-9356-013d1d8a5eb8" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data", "Invoke-AzKustoDataConnectionValidation_Data" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "c8cd4a12-18a7-4cae-9cd1-10f414f0d314" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -173,40 +176,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "b1239aa1-de6f-4cd3-99a1-046eac447b5a" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5f3b1e8f-b6ef-4082-bb90-83e02a202aee" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181005Z:5f3b1e8f-b6ef-4082-bb90-83e02a202aee" ], + "x-ms-request-id": [ "dfc729a1-99c9-42cb-a8b9-b481bddde692" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "8d22138b-18b9-4f59-8275-d42cd1f67edb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115824Z:8d22138b-18b9-4f59-8275-d42cd1f67edb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:10:04 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:58:23 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "519" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/38c1e104-49f5-4e66-81b0-c14c19ba15e3\",\"name\":\"38c1e104-49f5-4e66-81b0-c14c19ba15e3\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:09:34.4485381Z\",\"endTime\":\"2020-10-26T18:09:37.9491945Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"},{\"ErrorMessage\":\"BlobStorageEventType {0} is not supported\"}]}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/f0e836b8-4324-45dd-a934-fe3fb0cb9841\",\"name\":\"f0e836b8-4324-45dd-a934-fe3fb0cb9841\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T11:57:53.7038614Z\",\"endTime\":\"2021-05-13T11:57:58.9073642Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"},{\"ErrorMessage\":\"BlobStorageEventType {0} is not supported\"}]}}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/38c1e104-49f5-4e66-81b0-c14c19ba15e3?api-version=2020-09-18\u0026operationResultResponseType=Location+3": { + "[NoDescription]+[NoContext]+DataExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/f0e836b8-4324-45dd-a934-fe3fb0cb9841?api-version=2021-01-01\u0026operationResultResponseType=Location+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/38c1e104-49f5-4e66-81b0-c14c19ba15e3?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/f0e836b8-4324-45dd-a934-fe3fb0cb9841?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "168", "169", "170" ], - "x-ms-client-request-id": [ "9c8c46f3-9206-4cc8-9356-013d1d8a5eb8", "9c8c46f3-9206-4cc8-9356-013d1d8a5eb8", "9c8c46f3-9206-4cc8-9356-013d1d8a5eb8" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data", "Invoke-AzKustoDataConnectionValidation_Data", "Invoke-AzKustoDataConnectionValidation_Data" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "c8cd4a12-18a7-4cae-9cd1-10f414f0d314" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -214,32 +217,32 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "b257c8a1-aea1-45ce-b909-164e77c53f9e" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "00006490-fca2-48ac-bfda-ccbd6809fe54" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181005Z:00006490-fca2-48ac-bfda-ccbd6809fe54" ], + "x-ms-request-id": [ "09129747-5955-4a18-8ba3-ccd39038be0a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "ec7c998b-397e-4eb9-a0ec-666951e67682" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115824Z:ec7c998b-397e-4eb9-a0ec-666951e67682" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:10:05 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:58:23 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "164" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"},{\"ErrorMessage\":\"BlobStorageEventType {0} is not supported\"}]}" + "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"},{\"ErrorMessage\":\"BlobStorageEventType {0} is not supported\"}]}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataExpandedIotHub+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+DataExpandedIotHub+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"kind\": \"IotHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"consumerGroup\": \"$Default\",\r\n \"iotHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\r\n \"sharedAccessPolicyName\": \"registryRead\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionmlhoe5gl478b\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"IotHub\",\r\n \"properties\": {\r\n \"iotHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\r\n \"consumerGroup\": \"$Default\",\r\n \"sharedAccessPolicyName\": \"registryRead\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionqlp6ob5gj291\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -250,40 +253,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/994a2481-27fa-4d57-a059-1af2b68167a7?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "48cc9e30-ab05-47c5-b39d-8a8dcbc23604" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/994a2481-27fa-4d57-a059-1af2b68167a7?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], - "x-ms-correlation-request-id": [ "151ba6ee-f06e-4594-9e42-b0984fa6bd83" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181006Z:151ba6ee-f06e-4594-9e42-b0984fa6bd83" ], + "x-ms-request-id": [ "a46cf93e-d2c6-4cde-9377-364125244824" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/8e775b45-896f-4f22-82ec-b9a6ed063983?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-correlation-request-id": [ "5f145dd1-81b5-4701-ad72-00c5f1465757" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115825Z:5f145dd1-81b5-4701-ad72-00c5f1465757" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:10:06 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:58:24 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/8e775b45-896f-4f22-82ec-b9a6ed063983?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/994a2481-27fa-4d57-a059-1af2b68167a7?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+DataExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/8e775b45-896f-4f22-82ec-b9a6ed063983?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/994a2481-27fa-4d57-a059-1af2b68167a7?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/8e775b45-896f-4f22-82ec-b9a6ed063983?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "171", "172" ], - "x-ms-client-request-id": [ "f5f06ad1-8643-4742-b079-b3d7cc031aa2", "f5f06ad1-8643-4742-b079-b3d7cc031aa2" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data", "Invoke-AzKustoDataConnectionValidation_Data" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "192a3fa4-a556-4edb-b634-b90a0ca1d9b8" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -291,40 +295,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "285604f5-ce36-4299-bfe1-7878d184393d" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8ce9e482-3b36-49b1-86a8-30b09ec78620" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181036Z:8ce9e482-3b36-49b1-86a8-30b09ec78620" ], + "x-ms-request-id": [ "ce726bdb-c977-4d7b-8eac-49ba36a66123" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], + "x-ms-correlation-request-id": [ "a0727d73-df12-41b5-88e4-242195ab3583" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115856Z:a0727d73-df12-41b5-88e4-242195ab3583" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:10:36 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:58:55 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "457" ], + "Content-Length": [ "458" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/994a2481-27fa-4d57-a059-1af2b68167a7\",\"name\":\"994a2481-27fa-4d57-a059-1af2b68167a7\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:10:06.0633952Z\",\"endTime\":\"2020-10-26T18:10:09.485565Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/8e775b45-896f-4f22-82ec-b9a6ed063983\",\"name\":\"8e775b45-896f-4f22-82ec-b9a6ed063983\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T11:58:25.6382363Z\",\"endTime\":\"2021-05-13T11:58:29.3884126Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/994a2481-27fa-4d57-a059-1af2b68167a7?api-version=2020-09-18\u0026operationResultResponseType=Location+3": { + "[NoDescription]+[NoContext]+DataExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/8e775b45-896f-4f22-82ec-b9a6ed063983?api-version=2021-01-01\u0026operationResultResponseType=Location+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/994a2481-27fa-4d57-a059-1af2b68167a7?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/8e775b45-896f-4f22-82ec-b9a6ed063983?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "171", "172", "173" ], - "x-ms-client-request-id": [ "f5f06ad1-8643-4742-b079-b3d7cc031aa2", "f5f06ad1-8643-4742-b079-b3d7cc031aa2", "f5f06ad1-8643-4742-b079-b3d7cc031aa2" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data", "Invoke-AzKustoDataConnectionValidation_Data", "Invoke-AzKustoDataConnectionValidation_Data" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "192a3fa4-a556-4edb-b634-b90a0ca1d9b8" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_Data" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -332,35 +336,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "261a4a72-cfa9-4b72-8faa-f905723b9ea6" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b89073d7-1d8a-4d0d-9bfa-9578aae5efa6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181037Z:b89073d7-1d8a-4d0d-9bfa-9578aae5efa6" ], + "x-ms-request-id": [ "fa0ff547-9db8-4513-bc28-c7d7fd398cc2" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], + "x-ms-correlation-request-id": [ "2d997474-d6ba-433e-95f2-5ddb9bc35dfb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115856Z:2d997474-d6ba-433e-95f2-5ddb9bc35dfb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:10:36 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:58:55 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "103" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}" + "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "174" ], - "x-ms-client-request-id": [ "d6de2ea9-8f22-4ba9-9c6d-9c39cc49eb57" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "4ed95c73-ea51-4bca-82a4-58efed9c4362" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -373,33 +377,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "482bb543-eb04-49a3-8e85-99b2f37256bc" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], - "x-ms-request-id": [ "6bd925b2-9ebd-4251-b2eb-6eb653294b1b" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "665b0fd8-8bed-4778-bbf9-cdf2e4ba0cd7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181037Z:665b0fd8-8bed-4778-bbf9-cdf2e4ba0cd7" ], + "x-ms-correlation-request-id": [ "6c8b7a73-7a7e-4aad-8056-07df812a33f4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115857Z:6c8b7a73-7a7e-4aad-8056-07df812a33f4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:10:37 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:58:56 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "529" ], + "Content-Length": [ "536" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest\",\"name\":\"eventgridclienttest/databasetest\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":3650,\"softDeletePeriod\":\"P3650D\",\"hotCachePeriodInDays\":31,\"hotCachePeriod\":\"P31D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest\",\"name\":\"eventgridclienttest/databasetest\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":3650,\"softDeletePeriod\":\"P3650D\",\"hotCachePeriodInDays\":31,\"hotCachePeriod\":\"P31D\",\"statistics\":{\"size\":10497512.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedEventHub+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedEventHub+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"kind\": \"EventHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"compression\": \"None\",\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionmlhoe546xdyp\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventHub\",\r\n \"properties\": {\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\r\n \"consumerGroup\": \"$Default\",\r\n \"compression\": \"None\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionqlp6ob9u4t7o\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -410,40 +414,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/a081ba71-5ed8-4c9f-bb30-aca01391b594?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "472ab7da-0752-48b0-878d-ef2c2b042626" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/a081ba71-5ed8-4c9f-bb30-aca01391b594?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], - "x-ms-correlation-request-id": [ "f7aadfa3-6690-48b5-878e-1caa4f8953bb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181038Z:f7aadfa3-6690-48b5-878e-1caa4f8953bb" ], + "x-ms-request-id": [ "0953b1bc-544d-4b5b-ba23-7f8dd6e1bd9e" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/555d7ca2-2bbd-439f-9451-38fceac21d5c?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], + "x-ms-correlation-request-id": [ "162cb51b-92e8-4af0-a262-01a0cb38722b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115858Z:162cb51b-92e8-4af0-a262-01a0cb38722b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:10:38 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:58:58 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/555d7ca2-2bbd-439f-9451-38fceac21d5c?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/a081ba71-5ed8-4c9f-bb30-aca01391b594?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/555d7ca2-2bbd-439f-9451-38fceac21d5c?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/a081ba71-5ed8-4c9f-bb30-aca01391b594?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/555d7ca2-2bbd-439f-9451-38fceac21d5c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "175", "176" ], - "x-ms-client-request-id": [ "d1ddeecf-8114-4d24-a6d3-33064275d86c", "d1ddeecf-8114-4d24-a6d3-33064275d86c" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity", "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "548a1e84-ac63-4f51-8197-dcab5aa2bc1e" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -451,40 +456,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "2407051a-cc94-4083-99f8-787e13619a4a" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ba670c16-c660-41bd-9938-892f5629da68" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181108Z:ba670c16-c660-41bd-9938-892f5629da68" ], + "x-ms-request-id": [ "31eb192f-151b-42ac-bf7e-86c586af8bca" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "293" ], + "x-ms-correlation-request-id": [ "4bb395fd-e04b-4cac-acd1-5e7287acb7d7" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115928Z:4bb395fd-e04b-4cac-acd1-5e7287acb7d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:11:08 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:59:27 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "458" ], + "Content-Length": [ "457" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/a081ba71-5ed8-4c9f-bb30-aca01391b594\",\"name\":\"a081ba71-5ed8-4c9f-bb30-aca01391b594\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:10:38.1751333Z\",\"endTime\":\"2020-10-26T18:10:41.9880058Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/555d7ca2-2bbd-439f-9451-38fceac21d5c\",\"name\":\"555d7ca2-2bbd-439f-9451-38fceac21d5c\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T11:58:58.1502102Z\",\"endTime\":\"2021-05-13T11:59:01.869193Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/a081ba71-5ed8-4c9f-bb30-aca01391b594?api-version=2020-09-18\u0026operationResultResponseType=Location+4": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/555d7ca2-2bbd-439f-9451-38fceac21d5c?api-version=2021-01-01\u0026operationResultResponseType=Location+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/a081ba71-5ed8-4c9f-bb30-aca01391b594?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/555d7ca2-2bbd-439f-9451-38fceac21d5c?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "175", "176", "177" ], - "x-ms-client-request-id": [ "d1ddeecf-8114-4d24-a6d3-33064275d86c", "d1ddeecf-8114-4d24-a6d3-33064275d86c", "d1ddeecf-8114-4d24-a6d3-33064275d86c" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity", "Invoke-AzKustoDataConnectionValidation_DataViaIdentity", "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "548a1e84-ac63-4f51-8197-dcab5aa2bc1e" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -492,35 +497,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "ba2c71de-2853-4397-8f5c-cf3e625e6501" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ec881cfc-4f6d-4755-bdbb-214f8b612c19" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181109Z:ec881cfc-4f6d-4755-bdbb-214f8b612c19" ], + "x-ms-request-id": [ "71f4c3c7-b199-4126-9264-2818a64f79b0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "292" ], + "x-ms-correlation-request-id": [ "e3e23821-08b6-49f6-b28f-fc55c735dbaf" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115929Z:e3e23821-08b6-49f6-b28f-fc55c735dbaf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:11:08 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:59:29 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "103" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}" + "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "178" ], - "x-ms-client-request-id": [ "4911373f-5fcb-4c3a-a569-d711cbaae069" ], + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "114041f7-6ab0-4006-a29d-97d6ae05262b" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -533,33 +538,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "194b60c5-c50d-46d4-b1ba-d5738cdef113" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], - "x-ms-request-id": [ "8f7b0412-5e52-45e3-9823-b572266116c1" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "674f31fc-7c0c-4fa5-996b-4bc8f9e77500" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181110Z:674f31fc-7c0c-4fa5-996b-4bc8f9e77500" ], + "x-ms-correlation-request-id": [ "0f8cbba2-5a13-4702-8aac-4f03e0f65693" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115929Z:0f8cbba2-5a13-4702-8aac-4f03e0f65693" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:11:09 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:59:29 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "529" ], + "Content-Length": [ "536" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest\",\"name\":\"eventgridclienttest/databasetest\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":3650,\"softDeletePeriod\":\"P3650D\",\"hotCachePeriodInDays\":31,\"hotCachePeriod\":\"P31D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest\",\"name\":\"eventgridclienttest/databasetest\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":3650,\"softDeletePeriod\":\"P3650D\",\"hotCachePeriodInDays\":31,\"hotCachePeriod\":\"P31D\",\"statistics\":{\"size\":10497512.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedEventGrid+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedEventGrid+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"kind\": \"EventGrid\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\r\n \"storageAccountResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionmlhoe5pjs9o1\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventGrid\",\r\n \"properties\": {\r\n \"storageAccountResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\r\n \"consumerGroup\": \"$Default\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionqlp6obksghcq\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -570,40 +575,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/74abfb3e-22fd-4bf7-9322-9b3b54ca9c0e?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "19dc123d-4655-4d2f-b531-3c70d60910c9" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/74abfb3e-22fd-4bf7-9322-9b3b54ca9c0e?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], - "x-ms-correlation-request-id": [ "9e889f8a-3fb4-4fb6-b0eb-dd2da30000d3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181110Z:9e889f8a-3fb4-4fb6-b0eb-dd2da30000d3" ], + "x-ms-request-id": [ "996396db-8e50-49ca-9c82-acb7e39a4cf2" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/cdc7dfb8-49e1-44ed-b0f1-720fe3362c0f?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], + "x-ms-correlation-request-id": [ "e5ac00d1-cbb4-4f44-8a90-f0eb2dde7ec1" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T115930Z:e5ac00d1-cbb4-4f44-8a90-f0eb2dde7ec1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:11:10 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 11:59:30 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/cdc7dfb8-49e1-44ed-b0f1-720fe3362c0f?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/74abfb3e-22fd-4bf7-9322-9b3b54ca9c0e?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/cdc7dfb8-49e1-44ed-b0f1-720fe3362c0f?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/74abfb3e-22fd-4bf7-9322-9b3b54ca9c0e?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/cdc7dfb8-49e1-44ed-b0f1-720fe3362c0f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "179", "180" ], - "x-ms-client-request-id": [ "a8b1b3de-b170-47e9-8097-bc1570ce5d37", "a8b1b3de-b170-47e9-8097-bc1570ce5d37" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity", "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "e4c54f7a-a9c8-4d3d-978b-70c02fff88ae" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -611,40 +617,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "1f135c76-2ef6-418e-b706-1d48b6ee7757" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "12196b59-c45c-492a-af40-36e18aad2844" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181141Z:12196b59-c45c-492a-af40-36e18aad2844" ], + "x-ms-request-id": [ "ae08b3d4-57de-43f9-ab65-68a77d792a3e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "291" ], + "x-ms-correlation-request-id": [ "9efcd9b2-b238-4b12-a7ac-93ff6d56709f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120001Z:9efcd9b2-b238-4b12-a7ac-93ff6d56709f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:11:40 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:00:00 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "519" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/74abfb3e-22fd-4bf7-9322-9b3b54ca9c0e\",\"name\":\"74abfb3e-22fd-4bf7-9322-9b3b54ca9c0e\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:11:10.7285427Z\",\"endTime\":\"2020-10-26T18:11:15.5101459Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"},{\"ErrorMessage\":\"BlobStorageEventType {0} is not supported\"}]}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/cdc7dfb8-49e1-44ed-b0f1-720fe3362c0f\",\"name\":\"cdc7dfb8-49e1-44ed-b0f1-720fe3362c0f\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T11:59:30.6901154Z\",\"endTime\":\"2021-05-13T11:59:33.3934349Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"},{\"ErrorMessage\":\"BlobStorageEventType {0} is not supported\"}]}}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/74abfb3e-22fd-4bf7-9322-9b3b54ca9c0e?api-version=2020-09-18\u0026operationResultResponseType=Location+4": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/cdc7dfb8-49e1-44ed-b0f1-720fe3362c0f?api-version=2021-01-01\u0026operationResultResponseType=Location+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/74abfb3e-22fd-4bf7-9322-9b3b54ca9c0e?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/cdc7dfb8-49e1-44ed-b0f1-720fe3362c0f?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "179", "180", "181" ], - "x-ms-client-request-id": [ "a8b1b3de-b170-47e9-8097-bc1570ce5d37", "a8b1b3de-b170-47e9-8097-bc1570ce5d37", "a8b1b3de-b170-47e9-8097-bc1570ce5d37" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity", "Invoke-AzKustoDataConnectionValidation_DataViaIdentity", "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "40" ], + "x-ms-client-request-id": [ "e4c54f7a-a9c8-4d3d-978b-70c02fff88ae" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -652,35 +658,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "534ed5a7-f20b-4843-a916-1c817cb0970d" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "fc269039-5b4a-4efc-812b-309a13a7b786" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181141Z:fc269039-5b4a-4efc-812b-309a13a7b786" ], + "x-ms-request-id": [ "5a22b970-6a30-4385-b081-51288ffef8fc" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "bc82a9c1-a452-4a41-b332-c7c74a341693" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120001Z:bc82a9c1-a452-4a41-b332-c7c74a341693" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:11:40 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:00:00 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "164" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"},{\"ErrorMessage\":\"BlobStorageEventType {0} is not supported\"}]}" + "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"},{\"ErrorMessage\":\"BlobStorageEventType {0} is not supported\"}]}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "182" ], - "x-ms-client-request-id": [ "123e4379-4cf6-465b-9910-696aba7c445b" ], + "x-ms-unique-id": [ "41" ], + "x-ms-client-request-id": [ "15d0fe5f-87b3-4e4c-8190-00f2d2f5506d" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -693,33 +699,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a11bf5f1-2932-4cf4-bc06-3ecc317d3173" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], - "x-ms-request-id": [ "eb24d67f-454f-4792-a9d8-e41ea3300fcf" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "85c24522-ccff-4ca3-bf2a-c689a95e487b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181142Z:85c24522-ccff-4ca3-bf2a-c689a95e487b" ], + "x-ms-correlation-request-id": [ "7824a2af-848f-4ecb-861c-b3ccc0646440" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120002Z:7824a2af-848f-4ecb-861c-b3ccc0646440" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:11:41 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:00:01 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "529" ], + "Content-Length": [ "536" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest\",\"name\":\"eventgridclienttest/databasetest\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":3650,\"softDeletePeriod\":\"P3650D\",\"hotCachePeriodInDays\":31,\"hotCachePeriod\":\"P31D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest\",\"name\":\"eventgridclienttest/databasetest\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":3650,\"softDeletePeriod\":\"P3650D\",\"hotCachePeriodInDays\":31,\"hotCachePeriod\":\"P31D\",\"statistics\":{\"size\":10497512.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedIotHub+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedIotHub+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"kind\": \"IotHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"consumerGroup\": \"$Default\",\r\n \"iotHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\r\n \"sharedAccessPolicyName\": \"registryRead\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionmlhoe5gl478b\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/dataConnectionValidation?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"IotHub\",\r\n \"properties\": {\r\n \"iotHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\r\n \"consumerGroup\": \"$Default\",\r\n \"sharedAccessPolicyName\": \"registryRead\"\r\n }\r\n },\r\n \"dataConnectionName\": \"testdataconnectionqlp6ob5gj291\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -730,40 +736,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/2d791a35-be73-435e-87d2-c9746b1c7702?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "c5bb7016-8acc-4cc2-a7ef-8359fab57648" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/2d791a35-be73-435e-87d2-c9746b1c7702?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], - "x-ms-correlation-request-id": [ "321c4581-8c1e-46ef-8793-648586a26b98" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181143Z:321c4581-8c1e-46ef-8793-648586a26b98" ], + "x-ms-request-id": [ "cc165a6a-6efc-45c3-8ce3-7c48e605f322" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/31a344e5-8cd8-49f7-9d4f-be7f198365b7?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], + "x-ms-correlation-request-id": [ "ef72bb5f-06e3-4d10-aa00-b11a61e91c77" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120003Z:ef72bb5f-06e3-4d10-aa00-b11a61e91c77" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:11:42 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:00:02 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/31a344e5-8cd8-49f7-9d4f-be7f198365b7?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/2d791a35-be73-435e-87d2-c9746b1c7702?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/31a344e5-8cd8-49f7-9d4f-be7f198365b7?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/2d791a35-be73-435e-87d2-c9746b1c7702?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/31a344e5-8cd8-49f7-9d4f-be7f198365b7?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "183", "184" ], - "x-ms-client-request-id": [ "1504cd47-88b8-4772-a811-ce3856d932ad", "1504cd47-88b8-4772-a811-ce3856d932ad" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity", "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "43" ], + "x-ms-client-request-id": [ "3bd347a9-8052-4bef-beb9-d12d1098230d" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -771,40 +778,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "9c6314bb-4019-4e39-a96c-fd6e745e1515" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "836e3009-0370-4e7f-825e-163acf34fe0f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181213Z:836e3009-0370-4e7f-825e-163acf34fe0f" ], + "x-ms-request-id": [ "3d20d9ba-cae8-4336-9634-b348318c0088" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "49374d40-9930-4642-9ee9-a6412ec9a908" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120033Z:49374d40-9930-4642-9ee9-a6412ec9a908" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:12:13 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:00:33 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "457" ], + "Content-Length": [ "458" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/2d791a35-be73-435e-87d2-c9746b1c7702\",\"name\":\"2d791a35-be73-435e-87d2-c9746b1c7702\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:11:43.138516Z\",\"endTime\":\"2020-10-26T18:11:46.9982182Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/31a344e5-8cd8-49f7-9d4f-be7f198365b7\",\"name\":\"31a344e5-8cd8-49f7-9d4f-be7f198365b7\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:00:03.1758235Z\",\"endTime\":\"2021-05-13T12:00:06.8947774Z\",\"percentComplete\":1.0,\"properties\":{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}}", + "isContentBase64": false } }, - "Invoke-AzKustoDataConnectionValidation+[NoContext]+DataViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/2d791a35-be73-435e-87d2-c9746b1c7702?api-version=2020-09-18\u0026operationResultResponseType=Location+4": { + "[NoDescription]+[NoContext]+DataViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/31a344e5-8cd8-49f7-9d4f-be7f198365b7?api-version=2021-01-01\u0026operationResultResponseType=Location+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/2d791a35-be73-435e-87d2-c9746b1c7702?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/31a344e5-8cd8-49f7-9d4f-be7f198365b7?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "183", "184", "185" ], - "x-ms-client-request-id": [ "1504cd47-88b8-4772-a811-ce3856d932ad", "1504cd47-88b8-4772-a811-ce3856d932ad", "1504cd47-88b8-4772-a811-ce3856d932ad" ], - "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation", "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], - "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity", "Invoke-AzKustoDataConnectionValidation_DataViaIdentity", "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "44" ], + "x-ms-client-request-id": [ "3bd347a9-8052-4bef-beb9-d12d1098230d" ], + "CommandName": [ "Az.Kusto.internal\\Invoke-AzKustoDataConnectionValidation" ], + "FullCommandName": [ "Invoke-AzKustoDataConnectionValidation_DataViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -812,25 +819,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "0405b07d-2b3c-4b91-bd26-e149b62a89bb" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b662764c-f278-4b15-ba74-210fc2bf4e50" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181214Z:b662764c-f278-4b15-ba74-210fc2bf4e50" ], + "x-ms-request-id": [ "a87672a4-de20-4922-b8a4-fb97a519133e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "cd45c517-3c4b-4a71-9259-cd7fe19141bb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120034Z:cd45c517-3c4b-4a71-9259-cd7fe19141bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:12:13 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:00:33 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "103" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}" + "Content": "{\"Value\":[{\"ErrorMessage\":\"event hub resource id and consumer group tuple provided are already used\"}]}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Invoke-AzKustoDataConnectionValidation.Tests.ps1 b/src/Kusto/test/Invoke-AzKustoDataConnectionValidation.Tests.ps1 index de3a2ff00637..2bed5f83e7f2 100644 --- a/src/Kusto/test/Invoke-AzKustoDataConnectionValidation.Tests.ps1 +++ b/src/Kusto/test/Invoke-AzKustoDataConnectionValidation.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzKustoDataConnectionValidation.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Invoke-AzKustoDataConnectionValidation' { + BeforeAll { + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzKustoDataConnectionValidation.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'DataExpandedEventHub' { $subscriptionId = $env.SubscriptionId $location = $env.locationfordc diff --git a/src/Kusto/test/Invoke-AzKustoDetachClusterFollowerDatabase.Recording.json b/src/Kusto/test/Invoke-AzKustoDetachClusterFollowerDatabase.Recording.json index edbe351140e6..659eaafd2ea4 100644 --- a/src/Kusto/test/Invoke-AzKustoDetachClusterFollowerDatabase.Recording.json +++ b/src/Kusto/test/Invoke-AzKustoDetachClusterFollowerDatabase.Recording.json @@ -1,9 +1,10 @@ { - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+DetachExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadWrite\",\r\n \"location\": \"East US\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadWrite\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,41 +15,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "fd4af96b-9fd9-4dae-94eb-f3e55b9397a3" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/394aaad6-9fbf-4efd-9098-257215625c69?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "283780ad-b2dd-4b47-a84d-39568e965c81" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181215Z:283780ad-b2dd-4b47-a84d-39568e965c81" ], + "x-ms-request-id": [ "5bb0b184-0819-494d-9a98-95e7b483bb9e" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3609afc8-4548-4858-8d9c-e31c84cd182c?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-correlation-request-id": [ "c10145dc-10b7-4b53-9c48-7ae9cc9e6ac6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120043Z:c10145dc-10b7-4b53-9c48-7ae9cc9e6ac6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:12:15 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:00:43 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "363" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp\",\"name\":\"testclustermlhoe5/testdatabase46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o\",\"name\":\"testclusterqlp6ob/testdatabase9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/394aaad6-9fbf-4efd-9098-257215625c69?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3609afc8-4548-4858-8d9c-e31c84cd182c?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/394aaad6-9fbf-4efd-9098-257215625c69?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3609afc8-4548-4858-8d9c-e31c84cd182c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "186", "187" ], - "x-ms-client-request-id": [ "4f1b1f87-5c28-4000-90fe-e0a4b7c65cd0", "4f1b1f87-5c28-4000-90fe-e0a4b7c65cd0" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "46" ], + "x-ms-client-request-id": [ "424fa197-5c59-4a2b-bfe5-63ea2505678b" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -56,40 +58,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-request-id": [ "0aa040a1-e080-406d-a48e-43901f6de542" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e26fa513-3012-4230-944b-df0c9aa6fec3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181246Z:e26fa513-3012-4230-944b-df0c9aa6fec3" ], + "x-ms-request-id": [ "ca149a5d-457d-46d5-9f50-e589fe3b54c3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "b29c97bf-dd0f-49fd-ae4c-3cfce9319804" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120114Z:b29c97bf-dd0f-49fd-ae4c-3cfce9319804" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:12:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:01:13 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/394aaad6-9fbf-4efd-9098-257215625c69\",\"name\":\"394aaad6-9fbf-4efd-9098-257215625c69\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:12:15.6594177Z\",\"endTime\":\"2020-10-26T18:12:17.7062498Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"2ee5201d-ad12-4324-9f28-ee50284985a3\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3609afc8-4548-4858-8d9c-e31c84cd182c\",\"name\":\"3609afc8-4548-4858-8d9c-e31c84cd182c\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:00:43.6499892Z\",\"endTime\":\"2021-05-13T12:00:45.6500068Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"05026d34-e840-4c1c-a3b3-d6c67ea45a90\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "186", "187", "188" ], - "x-ms-client-request-id": [ "4f1b1f87-5c28-4000-90fe-e0a4b7c65cd0", "4f1b1f87-5c28-4000-90fe-e0a4b7c65cd0", "4f1b1f87-5c28-4000-90fe-e0a4b7c65cd0" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "47" ], + "x-ms-client-request-id": [ "424fa197-5c59-4a2b-bfe5-63ea2505678b" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -97,33 +99,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "bcdd2eaa-ca40-4128-aab4-bd3f9f07dbd9" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], - "x-ms-request-id": [ "16393d1d-07c9-4b61-b0ff-2e8952334294" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "6a5e16ca-de30-42b0-bb17-71323c38d3c2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181246Z:6a5e16ca-de30-42b0-bb17-71323c38d3c2" ], + "x-ms-correlation-request-id": [ "5c388f15-11d1-4e1d-bc0c-d13f92f6176b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120114Z:5c388f15-11d1-4e1d-bc0c-d13f92f6176b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:12:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:01:13 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp\",\"name\":\"testclustermlhoe5/testdatabase46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o\",\"name\":\"testclusterqlp6ob/testdatabase9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+DetachExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o?api-version=2021-01-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\r\n \"databaseName\": \"testdatabase46xdyp\",\r\n \"defaultPrincipalsModificationKind\": \"Union\"\r\n },\r\n \"location\": \"East US\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"databaseName\": \"testdatabase9u4t7o\",\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\r\n \"defaultPrincipalsModificationKind\": \"Union\"\r\n },\r\n \"location\": \"East US\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -134,41 +136,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "831efc92-949c-4682-839a-246862f4e55d" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/43e96e88-acc5-4619-a07b-9ef20b599989?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "fc2fac0d-5026-4083-993a-a782b9f04aeb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181247Z:fc2fac0d-5026-4083-993a-a782b9f04aeb" ], + "x-ms-request-id": [ "1c8aea8b-a1e4-44c1-b0be-1fe577438964" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/1f83439e-eda0-43d8-958d-a8fb0d31fa86?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-correlation-request-id": [ "0e84d671-632a-479c-bb0c-2e3ffcf175bf" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120116Z:0e84d671-632a-479c-bb0c-2e3ffcf175bf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:12:46 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:01:16 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "622" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp\",\"name\":\"testfclustera0obls/testdbconf46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"databaseName\":\"testdatabase46xdyp\",\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o\",\"name\":\"testfclusterzu7bam/testdbconf9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"properties\":{\"databaseName\":\"testdatabase9u4t7o\",\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/43e96e88-acc5-4619-a07b-9ef20b599989?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/1f83439e-eda0-43d8-958d-a8fb0d31fa86?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/43e96e88-acc5-4619-a07b-9ef20b599989?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/1f83439e-eda0-43d8-958d-a8fb0d31fa86?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "189", "190" ], - "x-ms-client-request-id": [ "b9c9e8c6-1036-44ee-9265-935176cf4f6a", "b9c9e8c6-1036-44ee-9265-935176cf4f6a" ], - "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration" ], - "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "49" ], + "x-ms-client-request-id": [ "57d55db9-6b8f-4a0b-aa96-775ac92ece50" ], + "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration" ], + "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -176,40 +179,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], - "x-ms-request-id": [ "c5098133-d3d3-480c-9725-be5c46e3472a" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "dd193b12-0063-474a-86b7-2f71edbd6cac" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181317Z:dd193b12-0063-474a-86b7-2f71edbd6cac" ], + "x-ms-request-id": [ "d3fb3e1a-b54a-4da8-aedd-152ba399e00b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "2f7023ef-bd4a-4346-9b27-4879e857fa28" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120146Z:2f7023ef-bd4a-4346-9b27-4879e857fa28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:13:16 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:01:45 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "503" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/43e96e88-acc5-4619-a07b-9ef20b599989\",\"name\":\"43e96e88-acc5-4619-a07b-9ef20b599989\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:12:47.0062799Z\",\"endTime\":\"2020-10-26T18:12:56.662618Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"0af879fe-9298-44b6-8547-32a2f936fd34\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/1f83439e-eda0-43d8-958d-a8fb0d31fa86\",\"name\":\"1f83439e-eda0-43d8-958d-a8fb0d31fa86\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:01:15.9155613Z\",\"endTime\":\"2021-05-13T12:01:19.462536Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"347e826d-423f-46fb-a87a-5067d739d2e3\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "189", "190", "191" ], - "x-ms-client-request-id": [ "b9c9e8c6-1036-44ee-9265-935176cf4f6a", "b9c9e8c6-1036-44ee-9265-935176cf4f6a", "b9c9e8c6-1036-44ee-9265-935176cf4f6a" ], - "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration" ], - "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "50" ], + "x-ms-client-request-id": [ "57d55db9-6b8f-4a0b-aa96-775ac92ece50" ], + "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration" ], + "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -217,33 +220,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], - "x-ms-request-id": [ "4613432f-fde0-499e-9d87-2e79eca6f677" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3f757a48-ac8e-4cb0-8b83-87c3f1463677" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181317Z:3f757a48-ac8e-4cb0-8b83-87c3f1463677" ], + "x-ms-request-id": [ "d602d01e-b708-4f10-8a79-b17a86874928" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "c001874f-a3be-4519-98e8-73988d338003" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120147Z:c001874f-a3be-4519-98e8-73988d338003" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:13:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:01:46 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "680" ], + "Content-Length": [ "715" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp\",\"name\":\"testfclustera0obls/testdbconf46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"databaseName\":\"testdatabase46xdyp\",\"attachedDatabaseNames\":[\"testdatabase46xdyp\"],\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o\",\"name\":\"testfclusterzu7bam/testdbconf9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"databaseName\":\"testdatabase9u4t7o\",\"attachedDatabaseNames\":[\"testdatabase9u4t7o\"],\"defaultPrincipalsModificationKind\":\"Union\",\"tableLevelSharingProperties\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/detachFollowerDatabases?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+DetachExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/detachFollowerDatabases?api-version=2021-01-01+7": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/detachFollowerDatabases?api-version=2020-09-18", - "Content": "{\r\n \"attachedDatabaseConfigurationName\": \"testdbconf46xdyp\",\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/detachFollowerDatabases?api-version=2021-01-01", + "Content": "{\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam\",\r\n \"attachedDatabaseConfigurationName\": \"testdbconf9u4t7o\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -254,40 +257,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a4163b42-c10d-43c9-a257-edab27437441?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "0a50295b-9e01-4cf6-9228-d172c70b0538" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a4163b42-c10d-43c9-a257-edab27437441?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], - "x-ms-correlation-request-id": [ "8034ebcc-a0ac-47a6-a8ec-244f6935ff64" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181318Z:8034ebcc-a0ac-47a6-a8ec-244f6935ff64" ], + "x-ms-request-id": [ "841b9c16-2d60-4980-a216-2a96d79c33fc" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f5fa8f4f-4577-413e-8c56-353c3003fa5e?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "3a1443c3-2a63-498f-85f7-7f2e897a2f85" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120449Z:3a1443c3-2a63-498f-85f7-7f2e897a2f85" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:13:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:04:48 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f5fa8f4f-4577-413e-8c56-353c3003fa5e?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a4163b42-c10d-43c9-a257-edab27437441?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f5fa8f4f-4577-413e-8c56-353c3003fa5e?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a4163b42-c10d-43c9-a257-edab27437441?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f5fa8f4f-4577-413e-8c56-353c3003fa5e?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "192", "193" ], - "x-ms-client-request-id": [ "f57535b6-1afb-47a9-b4f3-b1d2c5d51117", "f57535b6-1afb-47a9-b4f3-b1d2c5d51117" ], - "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase", "Invoke-AzKustoDetachClusterFollowerDatabase" ], - "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded", "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "52" ], + "x-ms-client-request-id": [ "8837a252-b41c-425c-a2d1-6630613f2b03" ], + "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase" ], + "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -295,40 +299,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "276" ], - "x-ms-request-id": [ "f9155ea3-4a15-495f-a590-293502b027fa" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "26121a9b-cf24-4487-9c48-1f9ec54d731f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181348Z:26121a9b-cf24-4487-9c48-1f9ec54d731f" ], + "x-ms-request-id": [ "ba30df69-c7fc-45b1-a443-7e80d9df4816" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "f22c3346-407d-4e5f-b431-3e659635d7f5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120519Z:f22c3346-407d-4e5f-b431-3e659635d7f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:13:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:05:19 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "503" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a4163b42-c10d-43c9-a257-edab27437441\",\"name\":\"a4163b42-c10d-43c9-a257-edab27437441\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:13:18.2498314Z\",\"endTime\":\"2020-10-26T18:13:21.765459Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseDetach\",\"RootActivityId\":\"ec601bff-ef36-4e49-81fe-e8164cba08a4\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f5fa8f4f-4577-413e-8c56-353c3003fa5e\",\"name\":\"f5fa8f4f-4577-413e-8c56-353c3003fa5e\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:04:48.859752Z\",\"endTime\":\"2021-05-13T12:04:51.1410238Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseDetach\",\"RootActivityId\":\"f31d889e-e5c5-437c-97b8-8f3141885717\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a4163b42-c10d-43c9-a257-edab27437441?api-version=2020-09-18\u0026operationResultResponseType=Location+9": { + "[NoDescription]+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f5fa8f4f-4577-413e-8c56-353c3003fa5e?api-version=2021-01-01\u0026operationResultResponseType=Location+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a4163b42-c10d-43c9-a257-edab27437441?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f5fa8f4f-4577-413e-8c56-353c3003fa5e?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "192", "193", "194" ], - "x-ms-client-request-id": [ "f57535b6-1afb-47a9-b4f3-b1d2c5d51117", "f57535b6-1afb-47a9-b4f3-b1d2c5d51117", "f57535b6-1afb-47a9-b4f3-b1d2c5d51117" ], - "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase", "Invoke-AzKustoDetachClusterFollowerDatabase", "Invoke-AzKustoDetachClusterFollowerDatabase" ], - "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded", "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded", "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "53" ], + "x-ms-client-request-id": [ "8837a252-b41c-425c-a2d1-6630613f2b03" ], + "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase" ], + "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -336,33 +340,34 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e61fdcea-3c86-4664-961c-9a95777d1f63" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "275" ], - "x-ms-correlation-request-id": [ "b5be8be7-4022-4e61-8e2c-848b5b73c034" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181348Z:b5be8be7-4022-4e61-8e2c-848b5b73c034" ], + "x-ms-request-id": [ "122d6a3a-e147-451e-9f85-e2f3bf96e559" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "df255899-e2f4-44d2-aea9-5f8a11229bb4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120519Z:df255899-e2f4-44d2-aea9-5f8a11229bb4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:13:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:05:19 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+DetachExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+10": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "195" ], - "x-ms-client-request-id": [ "43bc0491-814a-49c2-9793-cdaf206fa02c" ], + "x-ms-unique-id": [ "54" ], + "x-ms-client-request-id": [ "518a25a1-65fb-417a-a049-ea64a4da3472" ], "CommandName": [ "Remove-AzKustoDatabase" ], "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -375,40 +380,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c589b437-87b7-440d-b026-8cb153120829?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c589b437-87b7-440d-b026-8cb153120829?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/466d6bf1-1615-497a-a3a1-956a19658422?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-request-id": [ "69ac828f-6063-4666-a355-df70cf6bf64c" ], - "x-ms-correlation-request-id": [ "69ac828f-6063-4666-a355-df70cf6bf64c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181349Z:69ac828f-6063-4666-a355-df70cf6bf64c" ], + "x-ms-request-id": [ "5643750f-8bb6-4a2f-9c43-4781fe8dd5f6" ], + "x-ms-correlation-request-id": [ "5643750f-8bb6-4a2f-9c43-4781fe8dd5f6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120520Z:5643750f-8bb6-4a2f-9c43-4781fe8dd5f6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:13:49 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:05:20 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/466d6bf1-1615-497a-a3a1-956a19658422?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c589b437-87b7-440d-b026-8cb153120829?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/466d6bf1-1615-497a-a3a1-956a19658422?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c589b437-87b7-440d-b026-8cb153120829?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/466d6bf1-1615-497a-a3a1-956a19658422?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "195", "196" ], - "x-ms-client-request-id": [ "43bc0491-814a-49c2-9793-cdaf206fa02c", "43bc0491-814a-49c2-9793-cdaf206fa02c" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "55" ], + "x-ms-client-request-id": [ "518a25a1-65fb-417a-a049-ea64a4da3472" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -416,40 +422,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "274" ], - "x-ms-request-id": [ "209f5a1c-4814-4d06-96eb-8bb2c7de4e14" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "78309356-c255-45dc-b0cd-2f0afa527f33" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181419Z:78309356-c255-45dc-b0cd-2f0afa527f33" ], + "x-ms-request-id": [ "69b7d148-0b20-4ca4-b2c7-71c668083029" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "3afb73de-7b30-4d0f-b420-56a83aa64e72" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120550Z:3afb73de-7b30-4d0f-b420-56a83aa64e72" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:14:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:05:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/c589b437-87b7-440d-b026-8cb153120829\",\"name\":\"c589b437-87b7-440d-b026-8cb153120829\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:13:49.2188177Z\",\"endTime\":\"2020-10-26T18:13:52.4533106Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"fbe15521-1eab-4ece-a1b5-58afbf274824\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/466d6bf1-1615-497a-a3a1-956a19658422\",\"name\":\"466d6bf1-1615-497a-a3a1-956a19658422\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:05:20.0942243Z\",\"endTime\":\"2021-05-13T12:05:22.1098535Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"c31ad77a-4d22-4d13-866d-7b5ea15a247c\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c589b437-87b7-440d-b026-8cb153120829?api-version=2020-09-18\u0026operationResultResponseType=Location+12": { + "[NoDescription]+[NoContext]+DetachExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/466d6bf1-1615-497a-a3a1-956a19658422?api-version=2021-01-01\u0026operationResultResponseType=Location+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c589b437-87b7-440d-b026-8cb153120829?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/466d6bf1-1615-497a-a3a1-956a19658422?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "195", "196", "197" ], - "x-ms-client-request-id": [ "43bc0491-814a-49c2-9793-cdaf206fa02c", "43bc0491-814a-49c2-9793-cdaf206fa02c", "43bc0491-814a-49c2-9793-cdaf206fa02c" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "56" ], + "x-ms-client-request-id": [ "518a25a1-65fb-417a-a049-ea64a4da3472" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -457,30 +463,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e60a46f9-2243-430a-8231-d1455fc61219" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "273" ], - "x-ms-correlation-request-id": [ "a66b7ca9-45b4-47c1-9c74-acea5d96ec0b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181419Z:a66b7ca9-45b4-47c1-9c74-acea5d96ec0b" ], + "x-ms-request-id": [ "ae0c09c1-f57a-4829-ab1f-86f71341cfba" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "66a32139-5aac-4d51-935b-937424fbb53a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120550Z:66a32139-5aac-4d51-935b-937424fbb53a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:14:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:05:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadWrite\",\r\n \"location\": \"East US\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadWrite\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -491,41 +498,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "4a331696-3094-48f5-9574-18390ed2ed60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/63e14740-044c-4cb0-8468-d35270ad2bb9?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-correlation-request-id": [ "537be663-b92a-4afe-b5e1-fdaa8d600f76" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181420Z:537be663-b92a-4afe-b5e1-fdaa8d600f76" ], + "x-ms-request-id": [ "d1e268ad-67cc-45d8-a084-d2c6cfab0713" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f001e15d-b305-4280-b1e7-d7252141fabc?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-correlation-request-id": [ "6876f7b0-d91b-4aa7-969b-0bd6b5428da1" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120551Z:6876f7b0-d91b-4aa7-969b-0bd6b5428da1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:14:20 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:05:51 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "363" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1\",\"name\":\"testclustermlhoe5/testdatabasepjs9o1\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq\",\"name\":\"testclusterqlp6ob/testdatabaseksghcq\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/63e14740-044c-4cb0-8468-d35270ad2bb9?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f001e15d-b305-4280-b1e7-d7252141fabc?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/63e14740-044c-4cb0-8468-d35270ad2bb9?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f001e15d-b305-4280-b1e7-d7252141fabc?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "198", "199" ], - "x-ms-client-request-id": [ "ed7f7e96-800c-4cc9-9828-39977888801b", "ed7f7e96-800c-4cc9-9828-39977888801b" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "58" ], + "x-ms-client-request-id": [ "1b5cb14d-b786-467e-b5f0-765ae0ed48a1" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -533,40 +541,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "272" ], - "x-ms-request-id": [ "93bc2de5-5fb9-4aff-8e7c-398039af1c6d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "df6e3af2-9849-43d2-b5d1-6284ea765bb1" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181451Z:df6e3af2-9849-43d2-b5d1-6284ea765bb1" ], + "x-ms-request-id": [ "581c28da-0645-48ab-8567-335bd1dabe02" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], + "x-ms-correlation-request-id": [ "754158ec-94aa-4e2e-8192-8bd194c56b9c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120622Z:754158ec-94aa-4e2e-8192-8bd194c56b9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:14:50 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:06:21 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "495" ], + "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/63e14740-044c-4cb0-8468-d35270ad2bb9\",\"name\":\"63e14740-044c-4cb0-8468-d35270ad2bb9\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:14:20.6253269Z\",\"endTime\":\"2020-10-26T18:14:22.953452Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"67eb581d-8b02-44c7-8d95-fd40bc6b6e24\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f001e15d-b305-4280-b1e7-d7252141fabc\",\"name\":\"f001e15d-b305-4280-b1e7-d7252141fabc\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:05:51.7511072Z\",\"endTime\":\"2021-05-13T12:05:53.5949188Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"d4c38af6-6828-45ef-b687-d4506a998a98\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "198", "199", "200" ], - "x-ms-client-request-id": [ "ed7f7e96-800c-4cc9-9828-39977888801b", "ed7f7e96-800c-4cc9-9828-39977888801b", "ed7f7e96-800c-4cc9-9828-39977888801b" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "59" ], + "x-ms-client-request-id": [ "1b5cb14d-b786-467e-b5f0-765ae0ed48a1" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -574,33 +582,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "293" ], - "x-ms-request-id": [ "6d1e0044-4613-41ca-8182-ff1ae4666def" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f46e47f2-8702-4679-9959-587086f4f9de" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181451Z:f46e47f2-8702-4679-9959-587086f4f9de" ], + "x-ms-request-id": [ "a2131d38-d0a9-4216-850a-9b5656f44329" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "332bb9c9-b2a9-42b1-bd4e-21c2ee60f3e2" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120622Z:332bb9c9-b2a9-42b1-bd4e-21c2ee60f3e2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:14:50 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:06:21 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1\",\"name\":\"testclustermlhoe5/testdatabasepjs9o1\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq\",\"name\":\"testclusterqlp6ob/testdatabaseksghcq\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq?api-version=2021-01-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\r\n \"databaseName\": \"testdatabasepjs9o1\",\r\n \"defaultPrincipalsModificationKind\": \"Union\"\r\n },\r\n \"location\": \"East US\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"databaseName\": \"testdatabaseksghcq\",\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\r\n \"defaultPrincipalsModificationKind\": \"Union\"\r\n },\r\n \"location\": \"East US\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -611,41 +619,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "f147d366-0736-43b4-8e49-71b6de64b7fd" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/fd3d9433-a0f4-4429-837d-7ebdbaebc948?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-correlation-request-id": [ "3a3a53ff-5bf0-4b13-8900-627b744eb72c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181452Z:3a3a53ff-5bf0-4b13-8900-627b744eb72c" ], + "x-ms-request-id": [ "e3a96a0f-6c9a-4000-9bfb-75e88f53e644" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/0b9b2517-202e-486c-8631-e3a377084eb8?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-correlation-request-id": [ "a028ba61-e87a-4a0d-9cdc-595363cfa3ea" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120623Z:a028ba61-e87a-4a0d-9cdc-595363cfa3ea" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:14:51 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:06:22 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "622" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1\",\"name\":\"testfclustera0obls/testdbconfpjs9o1\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"databaseName\":\"testdatabasepjs9o1\",\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq\",\"name\":\"testfclusterzu7bam/testdbconfksghcq\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"properties\":{\"databaseName\":\"testdatabaseksghcq\",\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/fd3d9433-a0f4-4429-837d-7ebdbaebc948?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/0b9b2517-202e-486c-8631-e3a377084eb8?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/fd3d9433-a0f4-4429-837d-7ebdbaebc948?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/0b9b2517-202e-486c-8631-e3a377084eb8?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "201", "202" ], - "x-ms-client-request-id": [ "c618e871-212e-4525-81be-a23400214ce1", "c618e871-212e-4525-81be-a23400214ce1" ], - "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration" ], - "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "61" ], + "x-ms-client-request-id": [ "51202dc7-e341-425c-b3aa-3aa276443244" ], + "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration" ], + "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -653,40 +662,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "316cb524-cdb6-4160-a93d-a44b90faf68e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "91933a3f-cfc0-4e41-9eaf-f8fcb56446a1" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181522Z:91933a3f-cfc0-4e41-9eaf-f8fcb56446a1" ], + "x-ms-request-id": [ "034b3cf5-8358-4102-91eb-dc6f49647e4e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], + "x-ms-correlation-request-id": [ "21f12db2-0718-403c-9b3a-28728eaace75" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120654Z:21f12db2-0718-403c-9b3a-28728eaace75" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:15:22 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:06:53 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/fd3d9433-a0f4-4429-837d-7ebdbaebc948\",\"name\":\"fd3d9433-a0f4-4429-837d-7ebdbaebc948\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:14:52.0628634Z\",\"endTime\":\"2020-10-26T18:14:57.6878877Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"630e7984-4433-426c-8252-83ed57f55ecd\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/0b9b2517-202e-486c-8631-e3a377084eb8\",\"name\":\"0b9b2517-202e-486c-8631-e3a377084eb8\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:06:23.5094125Z\",\"endTime\":\"2021-05-13T12:06:26.8219691Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"ddb800ea-5341-413e-94bb-e598205b0a52\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "201", "202", "203" ], - "x-ms-client-request-id": [ "c618e871-212e-4525-81be-a23400214ce1", "c618e871-212e-4525-81be-a23400214ce1", "c618e871-212e-4525-81be-a23400214ce1" ], - "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration" ], - "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "62" ], + "x-ms-client-request-id": [ "51202dc7-e341-425c-b3aa-3aa276443244" ], + "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration" ], + "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -694,36 +703,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "2920b3af-b7fa-41c2-9952-9910d0ad6e1a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ff60f18c-f753-46e2-98d4-666cc16c9dc8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181523Z:ff60f18c-f753-46e2-98d4-666cc16c9dc8" ], + "x-ms-request-id": [ "a209af55-f714-474c-b9bb-c41c2f65c35c" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "a78e9d6c-2c48-4139-b659-0436f2314ace" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120654Z:a78e9d6c-2c48-4139-b659-0436f2314ace" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:15:22 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:06:53 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "680" ], + "Content-Length": [ "715" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1\",\"name\":\"testfclustera0obls/testdbconfpjs9o1\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"databaseName\":\"testdatabasepjs9o1\",\"attachedDatabaseNames\":[\"testdatabasepjs9o1\"],\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq\",\"name\":\"testfclusterzu7bam/testdbconfksghcq\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"databaseName\":\"testdatabaseksghcq\",\"attachedDatabaseNames\":[\"testdatabaseksghcq\"],\"defaultPrincipalsModificationKind\":\"Union\",\"tableLevelSharingProperties\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "204" ], - "x-ms-client-request-id": [ "b11dc4c5-4286-49ba-819d-9f27c1702fe1" ], + "x-ms-unique-id": [ "63" ], + "x-ms-client-request-id": [ "6af03825-0dd3-4f70-ada5-93808a842932" ], "CommandName": [ "Get-AzKustoCluster" ], "FullCommandName": [ "Get-AzKustoCluster_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -736,33 +745,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e91df9f7-2bec-4f8f-a6db-3fe01d7a8755" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "48e56d5f-8997-4ebb-b423-f73f0029c53c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "55989092-7dd6-481c-ad5e-a6d2896e6a1b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181523Z:55989092-7dd6-481c-ad5e-a6d2896e6a1b" ], + "x-ms-correlation-request-id": [ "17755f2c-89d7-46a6-b30f-28fbbe0a7230" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120654Z:17755f2c-89d7-46a6-b30f-28fbbe0a7230" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:15:23 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:06:54 GMT" ], + "ETag": [ "\"2021-05-13T12:06:26.2282319Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "876" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[{\"languageExtensionName\":\"PYTHON\"},{\"languageExtensionName\":\"R\"}]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T12:06:26.2282319Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/detachFollowerDatabases?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/detachFollowerDatabases?api-version=2021-01-01+8": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/detachFollowerDatabases?api-version=2020-09-18", - "Content": "{\r\n \"attachedDatabaseConfigurationName\": \"testdbconfpjs9o1\",\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/detachFollowerDatabases?api-version=2021-01-01", + "Content": "{\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam\",\r\n \"attachedDatabaseConfigurationName\": \"testdbconfksghcq\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -773,40 +782,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f2599841-433b-4727-9a45-0316a825c8aa?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "f7cae7a0-e5f2-4808-8ab8-7ab921920220" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f2599841-433b-4727-9a45-0316a825c8aa?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], - "x-ms-correlation-request-id": [ "47efb8d4-7df0-4013-9e6e-aab884f1542b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181523Z:47efb8d4-7df0-4013-9e6e-aab884f1542b" ], + "x-ms-request-id": [ "3df77353-47d2-42f8-a794-f090a99ac1ec" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/eee64cd5-362c-42d9-87f1-aa8cce40e068?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "df001012-cbed-4a44-b5de-ad98787c538b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120655Z:df001012-cbed-4a44-b5de-ad98787c538b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:15:23 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:06:54 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/eee64cd5-362c-42d9-87f1-aa8cce40e068?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f2599841-433b-4727-9a45-0316a825c8aa?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/eee64cd5-362c-42d9-87f1-aa8cce40e068?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f2599841-433b-4727-9a45-0316a825c8aa?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/eee64cd5-362c-42d9-87f1-aa8cce40e068?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "205", "206" ], - "x-ms-client-request-id": [ "c46f40aa-8450-4bc9-894e-a02ba8bcb3d2", "c46f40aa-8450-4bc9-894e-a02ba8bcb3d2" ], - "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase", "Invoke-AzKustoDetachClusterFollowerDatabase" ], - "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded", "Invoke-AzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "65" ], + "x-ms-client-request-id": [ "f1ad5a08-ebbf-4df5-9030-e056675a536b" ], + "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase" ], + "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -814,40 +824,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "2ca71667-90fd-4c16-b0da-15b19493bdfa" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d856e9b2-0e93-469f-8324-aa7be87db281" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181554Z:d856e9b2-0e93-469f-8324-aa7be87db281" ], + "x-ms-request-id": [ "d9dcc099-9c70-4eb4-b36c-6ccf9ef80771" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "293" ], + "x-ms-correlation-request-id": [ "78f1c7ab-3f5c-4f0b-8d0e-dae472d0fead" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120725Z:78f1c7ab-3f5c-4f0b-8d0e-dae472d0fead" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:15:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:07:25 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f2599841-433b-4727-9a45-0316a825c8aa\",\"name\":\"f2599841-433b-4727-9a45-0316a825c8aa\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:15:23.6578225Z\",\"endTime\":\"2020-10-26T18:15:29.9390144Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseDetach\",\"RootActivityId\":\"542c2ee2-3fd0-4989-b433-033e8b1636b5\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/eee64cd5-362c-42d9-87f1-aa8cce40e068\",\"name\":\"eee64cd5-362c-42d9-87f1-aa8cce40e068\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:06:55.5412522Z\",\"endTime\":\"2021-05-13T12:06:58.6975137Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseDetach\",\"RootActivityId\":\"b19bfddd-4b8b-43ef-9dae-99befb0c45ff\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f2599841-433b-4727-9a45-0316a825c8aa?api-version=2020-09-18\u0026operationResultResponseType=Location+10": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/eee64cd5-362c-42d9-87f1-aa8cce40e068?api-version=2021-01-01\u0026operationResultResponseType=Location+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f2599841-433b-4727-9a45-0316a825c8aa?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/eee64cd5-362c-42d9-87f1-aa8cce40e068?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "205", "206", "207" ], - "x-ms-client-request-id": [ "c46f40aa-8450-4bc9-894e-a02ba8bcb3d2", "c46f40aa-8450-4bc9-894e-a02ba8bcb3d2", "c46f40aa-8450-4bc9-894e-a02ba8bcb3d2" ], - "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase", "Invoke-AzKustoDetachClusterFollowerDatabase", "Invoke-AzKustoDetachClusterFollowerDatabase" ], - "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded", "Invoke-AzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded", "Invoke-AzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "66" ], + "x-ms-client-request-id": [ "f1ad5a08-ebbf-4df5-9030-e056675a536b" ], + "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase" ], + "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -855,33 +865,34 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b1671d9a-2d0f-485a-aa39-75f029e26ea0" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-correlation-request-id": [ "4ac679a2-9e18-4818-b81a-f821f12768c4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181554Z:4ac679a2-9e18-4818-b81a-f821f12768c4" ], + "x-ms-request-id": [ "ca03254b-6bdd-4205-9506-edeeb0f13abe" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "292" ], + "x-ms-correlation-request-id": [ "2005f90e-6861-4a98-8e5c-56591e3133f9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120726Z:2005f90e-6861-4a98-8e5c-56591e3133f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:15:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:07:25 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01+11": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "208" ], - "x-ms-client-request-id": [ "4760b075-76d1-4add-8486-17c177aa33cd" ], + "x-ms-unique-id": [ "67" ], + "x-ms-client-request-id": [ "90282eb0-b509-4414-8a0e-216bdca21750" ], "CommandName": [ "Remove-AzKustoDatabase" ], "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -894,40 +905,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/50ede80d-b671-4f60-b032-66bd27468b1f?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/50ede80d-b671-4f60-b032-66bd27468b1f?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/52e3f5a0-b2b0-4964-9711-d0798559c61c?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-request-id": [ "7d2eeaab-d34d-4f11-858d-c7ecc7660955" ], - "x-ms-correlation-request-id": [ "7d2eeaab-d34d-4f11-858d-c7ecc7660955" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181554Z:7d2eeaab-d34d-4f11-858d-c7ecc7660955" ], + "x-ms-request-id": [ "1db4ee89-9fde-49e3-adbb-1886ebf09aad" ], + "x-ms-correlation-request-id": [ "1db4ee89-9fde-49e3-adbb-1886ebf09aad" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120726Z:1db4ee89-9fde-49e3-adbb-1886ebf09aad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:15:54 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:07:25 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/52e3f5a0-b2b0-4964-9711-d0798559c61c?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/50ede80d-b671-4f60-b032-66bd27468b1f?api-version=2020-09-18+12": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/52e3f5a0-b2b0-4964-9711-d0798559c61c?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/50ede80d-b671-4f60-b032-66bd27468b1f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/52e3f5a0-b2b0-4964-9711-d0798559c61c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "208", "209" ], - "x-ms-client-request-id": [ "4760b075-76d1-4add-8486-17c177aa33cd", "4760b075-76d1-4add-8486-17c177aa33cd" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "68" ], + "x-ms-client-request-id": [ "90282eb0-b509-4414-8a0e-216bdca21750" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -935,40 +947,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "5d42d163-3107-4592-8d20-7d9be654bb28" ], - "x-ms-request-id": [ "8c781db3-4eab-45dc-977a-72f852bd083e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181625Z:5d42d163-3107-4592-8d20-7d9be654bb28" ], + "x-ms-request-id": [ "b472f0b5-27f2-47a7-b5f9-39d7d802811a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "291" ], + "x-ms-correlation-request-id": [ "9c62b4e8-ee5a-4185-a826-9380d8f4e006" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120757Z:9c62b4e8-ee5a-4185-a826-9380d8f4e006" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:16:24 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:07:56 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "496" ], + "Content-Length": [ "494" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/50ede80d-b671-4f60-b032-66bd27468b1f\",\"name\":\"50ede80d-b671-4f60-b032-66bd27468b1f\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:15:54.7218041Z\",\"endTime\":\"2020-10-26T18:15:55.5186139Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"62fbda7e-2c89-462d-a717-caf9517c7cc6\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/52e3f5a0-b2b0-4964-9711-d0798559c61c\",\"name\":\"52e3f5a0-b2b0-4964-9711-d0798559c61c\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:07:26.7603596Z\",\"endTime\":\"2021-05-13T12:07:30.41662Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"5c95ceb7-fe33-4255-b966-640c2888c1ee\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDetachClusterFollowerDatabase+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/50ede80d-b671-4f60-b032-66bd27468b1f?api-version=2020-09-18\u0026operationResultResponseType=Location+13": { + "[NoDescription]+[NoContext]+DetachViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/52e3f5a0-b2b0-4964-9711-d0798559c61c?api-version=2021-01-01\u0026operationResultResponseType=Location+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/50ede80d-b671-4f60-b032-66bd27468b1f?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/52e3f5a0-b2b0-4964-9711-d0798559c61c?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "208", "209", "210" ], - "x-ms-client-request-id": [ "4760b075-76d1-4add-8486-17c177aa33cd", "4760b075-76d1-4add-8486-17c177aa33cd", "4760b075-76d1-4add-8486-17c177aa33cd" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "69" ], + "x-ms-client-request-id": [ "90282eb0-b509-4414-8a0e-216bdca21750" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -976,23 +988,23 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "862940bf-caa7-48fb-a3e1-1062d847c541" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-correlation-request-id": [ "ca32fd2c-9b1f-47d0-a055-439e326f4d4f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181625Z:ca32fd2c-9b1f-47d0-a055-439e326f4d4f" ], + "x-ms-request-id": [ "8c815b5c-c02f-4011-a9de-8f7f77f92ae4" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "741da328-7e96-4e78-9c52-ffcc735ac3a7" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120757Z:741da328-7e96-4e78-9c52-ffcc735ac3a7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:16:25 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:07:56 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Invoke-AzKustoDetachClusterFollowerDatabase.Tests.ps1 b/src/Kusto/test/Invoke-AzKustoDetachClusterFollowerDatabase.Tests.ps1 index e50677af902a..bc2cc9ed14f3 100644 --- a/src/Kusto/test/Invoke-AzKustoDetachClusterFollowerDatabase.Tests.ps1 +++ b/src/Kusto/test/Invoke-AzKustoDetachClusterFollowerDatabase.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzKustoDetachClusterFollowerDatabase.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Invoke-AzKustoDetachClusterFollowerDatabase' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzKustoDetachClusterFollowerDatabase.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'DetachExpanded' { $subscriptionId = $env.SubscriptionId $location = $env.location @@ -28,6 +29,7 @@ Describe 'Invoke-AzKustoDetachClusterFollowerDatabase' { New-AzKustoDatabase -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $databaseName -Kind ReadWrite -Location $location New-AzKustoAttachedDatabaseConfiguration -ResourceGroupName $resourceGroupName -ClusterName $followerClusterName -Name $attachedDatabaseConfigurationName -Location $location -ClusterResourceId $clusterResourceId -DatabaseName $databaseName -DefaultPrincipalsModificationKind $defaultPrincipalsModificationKind + Start-Sleep -Seconds 180 { Invoke-AzKustoDetachClusterFollowerDatabase -ResourceGroupName $resourceGroupName -ClusterName $clusterName -AttachedDatabaseConfigurationName $attachedDatabaseConfigurationName -ClusterResourceId $followerClusterResourceId } | Should -Not -Throw Remove-AzKustoDatabase -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $databaseName } diff --git a/src/Kusto/test/Invoke-AzKustoDiagnoseClusterVirtualNetwork.Recording.json b/src/Kusto/test/Invoke-AzKustoDiagnoseClusterVirtualNetwork.Recording.json index 154e20ddc0ad..953c75ff124f 100644 --- a/src/Kusto/test/Invoke-AzKustoDiagnoseClusterVirtualNetwork.Recording.json +++ b/src/Kusto/test/Invoke-AzKustoDiagnoseClusterVirtualNetwork.Recording.json @@ -1,12 +1,13 @@ { - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/diagnoseVirtualNetwork?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Diagnose+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/diagnoseVirtualNetwork?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/diagnoseVirtualNetwork?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/diagnoseVirtualNetwork?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], + "x-ms-unique-id": [ "70" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,40 +20,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "ec7f78b4-5bd3-498d-97cc-84a6703b25e4" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1186" ], - "x-ms-correlation-request-id": [ "91aa6ee1-42b4-4c6a-ae7b-2d70c53c1342" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181626Z:91aa6ee1-42b4-4c6a-ae7b-2d70c53c1342" ], + "x-ms-request-id": [ "c985f117-c45b-40b8-8e2b-a9bb905c69a0" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "e149b354-585b-4cef-9caa-cff28f1b6687" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120805Z:e149b354-585b-4cef-9caa-cff28f1b6687" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:16:25 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:08:05 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "71" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -60,40 +62,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], - "x-ms-request-id": [ "2c516a89-5d60-489d-a5da-d69b676df0a1" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c7021c2b-aa51-430a-8eee-d53e636c1ee1" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181656Z:c7021c2b-aa51-430a-8eee-d53e636c1ee1" ], + "x-ms-request-id": [ "ccb7a4d2-268f-4af1-b0dc-e249d400db77" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "79532545-8e19-4cef-b8cd-9200796a6d54" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120835Z:79532545-8e19-4cef-b8cd-9200796a6d54" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:16:55 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:08:35 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "345" ], + "Content-Length": [ "343" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6e580325-b082-4bb7-a558-5428c56eec81\",\"name\":\"6e580325-b082-4bb7-a558-5428c56eec81\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:16:26.3879399Z\",\"endTime\":\"2020-10-26T18:16:26.3879399Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"name\":\"320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:08:05.463726Z\",\"endTime\":\"2021-05-13T12:08:05.463726Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212", "213" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "72" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -101,40 +103,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "276" ], - "x-ms-request-id": [ "840e3d36-e085-42b1-84f5-e091536368cb" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "00153215-b445-4bd2-99b0-d5f274da6b88" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181726Z:00153215-b445-4bd2-99b0-d5f274da6b88" ], + "x-ms-request-id": [ "e9038558-85c4-4527-b1c9-a0ed53d193e0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "b22a39b5-5a25-4713-b5c2-0dddc7a85515" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120906Z:b22a39b5-5a25-4713-b5c2-0dddc7a85515" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:17:26 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:09:05 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "345" ], + "Content-Length": [ "343" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6e580325-b082-4bb7-a558-5428c56eec81\",\"name\":\"6e580325-b082-4bb7-a558-5428c56eec81\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:16:26.3879399Z\",\"endTime\":\"2020-10-26T18:16:26.3879399Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"name\":\"320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:08:05.463726Z\",\"endTime\":\"2021-05-13T12:08:05.463726Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212", "213", "214" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "73" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -142,40 +144,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "275" ], - "x-ms-request-id": [ "26629dc9-8620-4a94-8b9a-ddac77cb5d5a" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3707877f-dfb7-4f85-9d21-8ce566f30dca" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181757Z:3707877f-dfb7-4f85-9d21-8ce566f30dca" ], + "x-ms-request-id": [ "b1da0713-bd09-4a66-96a7-c4a70402eae8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "d4ad49fd-8f92-4ca7-8e6b-0c022dc61e4a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T120936Z:d4ad49fd-8f92-4ca7-8e6b-0c022dc61e4a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:17:56 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:09:36 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "345" ], + "Content-Length": [ "343" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6e580325-b082-4bb7-a558-5428c56eec81\",\"name\":\"6e580325-b082-4bb7-a558-5428c56eec81\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:16:26.3879399Z\",\"endTime\":\"2020-10-26T18:16:26.3879399Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"name\":\"320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:08:05.463726Z\",\"endTime\":\"2021-05-13T12:08:05.463726Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212", "213", "214", "215" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "74" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -183,40 +185,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "274" ], - "x-ms-request-id": [ "c8050d9b-87c9-4b5b-b87c-1b22649517cc" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3474941b-4efa-4952-bf63-2358a6963bc0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181827Z:3474941b-4efa-4952-bf63-2358a6963bc0" ], + "x-ms-request-id": [ "0c26f10c-6b16-4fe5-920f-9a08e613dc80" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "cbab4fbd-f9f6-42c3-ab09-fe22e7a133c6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121007Z:cbab4fbd-f9f6-42c3-ab09-fe22e7a133c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:18:26 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:10:07 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "345" ], + "Content-Length": [ "343" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6e580325-b082-4bb7-a558-5428c56eec81\",\"name\":\"6e580325-b082-4bb7-a558-5428c56eec81\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:16:26.3879399Z\",\"endTime\":\"2020-10-26T18:16:26.3879399Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"name\":\"320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:08:05.463726Z\",\"endTime\":\"2021-05-13T12:08:05.463726Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212", "213", "214", "215", "216" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "75" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -224,40 +226,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "273" ], - "x-ms-request-id": [ "a9a552d6-7d13-4bd0-9ee8-fd537223a3d7" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "55b5b34e-0ba8-4e8b-9033-6c6812335415" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181857Z:55b5b34e-0ba8-4e8b-9033-6c6812335415" ], + "x-ms-request-id": [ "b8b9e344-b0c3-4f4f-aeed-ec574394225d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "e23d6340-d124-42ed-b68b-9c4db09853ff" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121037Z:e23d6340-d124-42ed-b68b-9c4db09853ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:18:57 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:10:36 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "345" ], + "Content-Length": [ "343" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6e580325-b082-4bb7-a558-5428c56eec81\",\"name\":\"6e580325-b082-4bb7-a558-5428c56eec81\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:16:26.3879399Z\",\"endTime\":\"2020-10-26T18:16:26.3879399Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"name\":\"320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:08:05.463726Z\",\"endTime\":\"2021-05-13T12:08:05.463726Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212", "213", "214", "215", "216", "217" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "76" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -265,40 +267,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "272" ], - "x-ms-request-id": [ "0b4e6f58-82d4-4411-b6dd-9753a5ca0255" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e9164ccc-e88f-4f36-afa5-c95e07950763" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181927Z:e9164ccc-e88f-4f36-afa5-c95e07950763" ], + "x-ms-request-id": [ "481272dc-392f-418b-bf2f-c1635e1b2641" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "8cd81333-af5b-45b5-bfec-c324cd259021" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121107Z:8cd81333-af5b-45b5-bfec-c324cd259021" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:19:27 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:11:07 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "345" ], + "Content-Length": [ "343" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6e580325-b082-4bb7-a558-5428c56eec81\",\"name\":\"6e580325-b082-4bb7-a558-5428c56eec81\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:16:26.3879399Z\",\"endTime\":\"2020-10-26T18:16:26.3879399Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"name\":\"320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:08:05.463726Z\",\"endTime\":\"2021-05-13T12:08:05.463726Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212", "213", "214", "215", "216", "217", "218" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "77" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -306,40 +308,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "271" ], - "x-ms-request-id": [ "45921397-9b4e-4a15-90fd-4d22386f8c9d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "dde29939-4df3-4da4-8d70-b612e476e7ca" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T181958Z:dde29939-4df3-4da4-8d70-b612e476e7ca" ], + "x-ms-request-id": [ "d612e1a9-b277-404e-bda2-f151e800a591" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "af12ac2f-4e7e-4919-94b4-48c8d701c883" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121138Z:af12ac2f-4e7e-4919-94b4-48c8d701c883" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:19:57 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:11:37 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "345" ], + "Content-Length": [ "343" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6e580325-b082-4bb7-a558-5428c56eec81\",\"name\":\"6e580325-b082-4bb7-a558-5428c56eec81\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:16:26.3879399Z\",\"endTime\":\"2020-10-26T18:16:26.3879399Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"name\":\"320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:08:05.463726Z\",\"endTime\":\"2021-05-13T12:08:05.463726Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212", "213", "214", "215", "216", "217", "218", "219" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "78" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -347,40 +349,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "19b87edf-399f-4a2f-906c-7527c89ed207" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "6d1d8b3c-7664-4452-8014-6d52c37e7722" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182028Z:6d1d8b3c-7664-4452-8014-6d52c37e7722" ], + "x-ms-request-id": [ "f5ab90e4-ef31-4618-91b1-4c92235df4cf" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "9963ba0c-8d17-4529-9731-87991137c3b3" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121208Z:9963ba0c-8d17-4529-9731-87991137c3b3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:20:27 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:12:08 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "345" ], + "Content-Length": [ "343" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6e580325-b082-4bb7-a558-5428c56eec81\",\"name\":\"6e580325-b082-4bb7-a558-5428c56eec81\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:16:26.3879399Z\",\"endTime\":\"2020-10-26T18:16:26.3879399Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"name\":\"320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:08:05.463726Z\",\"endTime\":\"2021-05-13T12:08:05.463726Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212", "213", "214", "215", "216", "217", "218", "219", "220" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "79" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -388,40 +390,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "749ae429-a56b-4052-ae36-fa1f578c21a9" ], - "x-ms-request-id": [ "8b7a5970-3f77-4f2a-b91f-dc01121fb080" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182058Z:749ae429-a56b-4052-ae36-fa1f578c21a9" ], + "x-ms-request-id": [ "2803d5c7-4a47-4773-b5a4-6ac7f315669d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "d9a7e90e-0b22-4de9-ac0d-104f7a01c457" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121238Z:d9a7e90e-0b22-4de9-ac0d-104f7a01c457" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:20:58 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:12:37 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "345" ], + "Content-Length": [ "343" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6e580325-b082-4bb7-a558-5428c56eec81\",\"name\":\"6e580325-b082-4bb7-a558-5428c56eec81\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:16:26.3879399Z\",\"endTime\":\"2020-10-26T18:16:26.3879399Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"name\":\"320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:08:05.463726Z\",\"endTime\":\"2021-05-13T12:08:05.463726Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212", "213", "214", "215", "216", "217", "218", "219", "220", "221" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "80" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -429,40 +431,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "4c98a1cd-4d9d-4e1b-b0ab-324daa6f4674" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "13a3f6f7-d69d-451b-b651-7d92b85109fd" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182129Z:13a3f6f7-d69d-451b-b651-7d92b85109fd" ], + "x-ms-request-id": [ "1a6d3cf4-46f3-4071-bef3-1b4aad371a90" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "cec00ae7-d353-48f3-b3d8-893f1344ac59" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121308Z:cec00ae7-d353-48f3-b3d8-893f1344ac59" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:21:29 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:13:08 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "360" ], + "Content-Length": [ "359" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6e580325-b082-4bb7-a558-5428c56eec81\",\"name\":\"6e580325-b082-4bb7-a558-5428c56eec81\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:16:26.3879399Z\",\"endTime\":\"2020-10-26T18:21:26.9861663Z\",\"percentComplete\":1.0,\"properties\":{\"Findings\":[]}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"name\":\"320e80f2-af36-4098-a0e8-3cae0cabb55a\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:08:05.463726Z\",\"endTime\":\"2021-05-13T12:13:07.0883399Z\",\"percentComplete\":1.0,\"properties\":{\"Findings\":[]}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18\u0026operationResultResponseType=Location+12": { + "[NoDescription]+[NoContext]+Diagnose+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01\u0026operationResultResponseType=Location+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6e580325-b082-4bb7-a558-5428c56eec81?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/320e80f2-af36-4098-a0e8-3cae0cabb55a?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "211", "212", "213", "214", "215", "216", "217", "218", "219", "220", "221", "222" ], - "x-ms-client-request-id": [ "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca", "7b3cb8d0-4d51-4201-9881-f49106c6a4ca" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "81" ], + "x-ms-client-request-id": [ "fb617397-aaf2-4e15-beba-838b059bb914" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_Diagnose" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -470,35 +472,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "ffead0fe-714c-4788-aaf0-ad6cefe9f2ca" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "364ad4b6-db69-43ad-a713-8923bffb0d75" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182129Z:364ad4b6-db69-43ad-a713-8923bffb0d75" ], + "x-ms-request-id": [ "8f2f9e0f-ac56-48a2-b557-b275b907b697" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], + "x-ms-correlation-request-id": [ "d329fb2b-f7c4-46e7-9b33-ed6456351e83" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121309Z:d329fb2b-f7c4-46e7-9b33-ed6456351e83" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:21:29 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:13:08 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "15" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"Findings\":[]}" + "Content": "{\"Findings\":[]}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "223" ], - "x-ms-client-request-id": [ "06e08445-9b89-4970-bbf4-c1c43e93ec1a" ], + "x-ms-unique-id": [ "82" ], + "x-ms-client-request-id": [ "2ebec658-df9c-4919-8485-7805745acb37" ], "CommandName": [ "Get-AzKustoCluster" ], "FullCommandName": [ "Get-AzKustoCluster_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -511,36 +513,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "47c31e9e-2c37-4f70-8515-9168de5a37bf" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "44002ed5-026c-4629-8602-5d0e9f2f361c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3d812b03-e506-4fea-b6fd-efaeb9766a8c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182130Z:3d812b03-e506-4fea-b6fd-efaeb9766a8c" ], + "x-ms-correlation-request-id": [ "9916a49d-7564-49e9-bc00-aec1098da737" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121309Z:9916a49d-7564-49e9-bc00-aec1098da737" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:21:29 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:13:08 GMT" ], + "ETag": [ "\"2021-05-13T12:06:57.7755746Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "876" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[{\"languageExtensionName\":\"PYTHON\"},{\"languageExtensionName\":\"R\"}]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T12:06:57.7755746Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/diagnoseVirtualNetwork?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/diagnoseVirtualNetwork?api-version=2021-01-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/diagnoseVirtualNetwork?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/diagnoseVirtualNetwork?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34" ], + "x-ms-unique-id": [ "83" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -553,40 +555,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "53596533-d6ba-40b1-8a1d-033d2537db7d" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], - "x-ms-correlation-request-id": [ "e1562b59-b1df-4243-b3eb-1a51777c5065" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182130Z:e1562b59-b1df-4243-b3eb-1a51777c5065" ], + "x-ms-request-id": [ "c1699c8e-683b-4441-996e-2a4ea26a0aba" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "a1a57378-c13a-463a-b3d8-c1788391de89" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121310Z:a1a57378-c13a-463a-b3d8-c1788391de89" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:21:30 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:13:10 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "84" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -594,40 +597,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "c269b3b2-57c3-4f9a-9f1b-852d55b06ab3" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0f60223b-6087-498f-832a-105d54fdf2b5" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182200Z:0f60223b-6087-498f-832a-105d54fdf2b5" ], + "x-ms-request-id": [ "a759b936-8bb9-4aad-97d3-4bc5b826aa5c" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], + "x-ms-correlation-request-id": [ "0bfb3efa-7419-4bd6-9283-25a3bd82b3ac" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121340Z:0bfb3efa-7419-4bd6-9283-25a3bd82b3ac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:22:00 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:13:40 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "345" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/821e4085-df65-425f-9f61-61af0b185be1\",\"name\":\"821e4085-df65-425f-9f61-61af0b185be1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:21:30.4549775Z\",\"endTime\":\"2020-10-26T18:21:30.4549775Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12bf992b-8874-4f39-a50a-7b3da14004ca\",\"name\":\"12bf992b-8874-4f39-a50a-7b3da14004ca\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:13:10.1820893Z\",\"endTime\":\"2021-05-13T12:13:10.1820893Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225", "226" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "85" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -635,40 +638,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "eb87a7be-5eed-4807-83db-ab8e533d070c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f075c4f9-2d70-4f38-ba96-e1d4499208da" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182231Z:f075c4f9-2d70-4f38-ba96-e1d4499208da" ], + "x-ms-request-id": [ "36a25d84-2fce-434d-9f32-bf2b0ff849f7" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], + "x-ms-correlation-request-id": [ "919d014b-0b89-49d6-9b0f-b353001f6e63" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121412Z:919d014b-0b89-49d6-9b0f-b353001f6e63" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:22:30 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:14:12 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "345" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/821e4085-df65-425f-9f61-61af0b185be1\",\"name\":\"821e4085-df65-425f-9f61-61af0b185be1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:21:30.4549775Z\",\"endTime\":\"2020-10-26T18:21:30.4549775Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12bf992b-8874-4f39-a50a-7b3da14004ca\",\"name\":\"12bf992b-8874-4f39-a50a-7b3da14004ca\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:13:10.1820893Z\",\"endTime\":\"2021-05-13T12:13:10.1820893Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225", "226", "227" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "86" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -676,40 +679,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "aa9cd888-6ffd-46f5-b750-46deacb71c01" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5d132441-3581-4277-9e05-fa23c89a2405" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182301Z:5d132441-3581-4277-9e05-fa23c89a2405" ], + "x-ms-request-id": [ "3fba5541-7f4c-4a4c-bf01-847bff510444" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "276" ], + "x-ms-correlation-request-id": [ "b9ff28fe-d30b-4e81-bb91-4e538dd73c9c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121443Z:b9ff28fe-d30b-4e81-bb91-4e538dd73c9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:23:00 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:14:42 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "345" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/821e4085-df65-425f-9f61-61af0b185be1\",\"name\":\"821e4085-df65-425f-9f61-61af0b185be1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:21:30.4549775Z\",\"endTime\":\"2020-10-26T18:21:30.4549775Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12bf992b-8874-4f39-a50a-7b3da14004ca\",\"name\":\"12bf992b-8874-4f39-a50a-7b3da14004ca\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:13:10.1820893Z\",\"endTime\":\"2021-05-13T12:13:10.1820893Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225", "226", "227", "228" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "87" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -717,40 +720,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "fc67a2c7-7d6e-4a63-9efd-ebcba40a93b4" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "4aaa88a6-e365-4529-9546-57553f3e24c2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182331Z:4aaa88a6-e365-4529-9546-57553f3e24c2" ], + "x-ms-request-id": [ "596c4d59-275d-48d2-8bd7-e92057615ee0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "17938699-c206-4195-9f6f-ace5d401db6c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121513Z:17938699-c206-4195-9f6f-ace5d401db6c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:23:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:15:12 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "345" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/821e4085-df65-425f-9f61-61af0b185be1\",\"name\":\"821e4085-df65-425f-9f61-61af0b185be1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:21:30.4549775Z\",\"endTime\":\"2020-10-26T18:21:30.4549775Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12bf992b-8874-4f39-a50a-7b3da14004ca\",\"name\":\"12bf992b-8874-4f39-a50a-7b3da14004ca\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:13:10.1820893Z\",\"endTime\":\"2021-05-13T12:13:10.1820893Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225", "226", "227", "228", "229" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "88" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -758,40 +761,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "8b63c03d-5a66-4c18-b5ce-11e1ae0a591b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3b5fd356-3530-4bb1-9b35-dc496139d590" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182402Z:3b5fd356-3530-4bb1-9b35-dc496139d590" ], + "x-ms-request-id": [ "13e4a808-3e94-487a-b67a-9cf5c98ccaa1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "8d5990e1-faba-4337-bc36-ec9d7604d085" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121543Z:8d5990e1-faba-4337-bc36-ec9d7604d085" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:24:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:15:42 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "345" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/821e4085-df65-425f-9f61-61af0b185be1\",\"name\":\"821e4085-df65-425f-9f61-61af0b185be1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:21:30.4549775Z\",\"endTime\":\"2020-10-26T18:21:30.4549775Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12bf992b-8874-4f39-a50a-7b3da14004ca\",\"name\":\"12bf992b-8874-4f39-a50a-7b3da14004ca\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:13:10.1820893Z\",\"endTime\":\"2021-05-13T12:13:10.1820893Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225", "226", "227", "228", "229", "230" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "89" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -799,40 +802,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-request-id": [ "de0beb8a-eb0d-498b-8806-96e3b42205eb" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8bbcb8d3-9fb2-41db-a0d8-5c51f49cb5f9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182432Z:8bbcb8d3-9fb2-41db-a0d8-5c51f49cb5f9" ], + "x-ms-request-id": [ "30ee2a7c-a663-484b-805a-ab83f2ded48d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "53f1e182-1b0f-4c85-8edd-705285e06d55" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121614Z:53f1e182-1b0f-4c85-8edd-705285e06d55" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:24:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:16:13 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "345" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/821e4085-df65-425f-9f61-61af0b185be1\",\"name\":\"821e4085-df65-425f-9f61-61af0b185be1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:21:30.4549775Z\",\"endTime\":\"2020-10-26T18:21:30.4549775Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12bf992b-8874-4f39-a50a-7b3da14004ca\",\"name\":\"12bf992b-8874-4f39-a50a-7b3da14004ca\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:13:10.1820893Z\",\"endTime\":\"2021-05-13T12:13:10.1820893Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225", "226", "227", "228", "229", "230", "231" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "90" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -840,40 +843,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "926b9f01-8acc-417b-9868-a379e0a536b2" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ab1c6278-73d8-4bdb-8dc1-f695a28671b6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182502Z:ab1c6278-73d8-4bdb-8dc1-f695a28671b6" ], + "x-ms-request-id": [ "c6cdee28-18ce-4093-b898-97b4e139f0fa" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "0be1709e-f9cf-4f0e-a174-b46c0c3f2558" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121644Z:0be1709e-f9cf-4f0e-a174-b46c0c3f2558" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:25:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:16:44 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "345" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/821e4085-df65-425f-9f61-61af0b185be1\",\"name\":\"821e4085-df65-425f-9f61-61af0b185be1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:21:30.4549775Z\",\"endTime\":\"2020-10-26T18:21:30.4549775Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12bf992b-8874-4f39-a50a-7b3da14004ca\",\"name\":\"12bf992b-8874-4f39-a50a-7b3da14004ca\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:13:10.1820893Z\",\"endTime\":\"2021-05-13T12:13:10.1820893Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225", "226", "227", "228", "229", "230", "231", "232" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "91" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -881,40 +884,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "a3bd6763-052e-4bba-9db1-a0885ed0c85b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5242d248-685a-44c5-b50c-5fbaf55e77cd" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182532Z:5242d248-685a-44c5-b50c-5fbaf55e77cd" ], + "x-ms-request-id": [ "e5a86b2d-cf4e-4532-bc37-9e19440f8c55" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "8a4457d0-c729-4bbf-b413-5ca4afb4cce2" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121714Z:8a4457d0-c729-4bbf-b413-5ca4afb4cce2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:25:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:17:14 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "345" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/821e4085-df65-425f-9f61-61af0b185be1\",\"name\":\"821e4085-df65-425f-9f61-61af0b185be1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:21:30.4549775Z\",\"endTime\":\"2020-10-26T18:21:30.4549775Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12bf992b-8874-4f39-a50a-7b3da14004ca\",\"name\":\"12bf992b-8874-4f39-a50a-7b3da14004ca\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:13:10.1820893Z\",\"endTime\":\"2021-05-13T12:13:10.1820893Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225", "226", "227", "228", "229", "230", "231", "232", "233" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "92" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -922,40 +925,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "36404589-7c51-485e-afef-409fff497c56" ], - "x-ms-request-id": [ "142547ce-04cb-4d73-9448-5758be84983c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182603Z:36404589-7c51-485e-afef-409fff497c56" ], + "x-ms-request-id": [ "3c11b878-56bd-4320-8c80-33ee7e239ceb" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "78c43347-1f80-4695-b9d0-533d81127c0a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121745Z:78c43347-1f80-4695-b9d0-533d81127c0a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:26:02 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:17:44 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "345" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/821e4085-df65-425f-9f61-61af0b185be1\",\"name\":\"821e4085-df65-425f-9f61-61af0b185be1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:21:30.4549775Z\",\"endTime\":\"2020-10-26T18:21:30.4549775Z\",\"percentComplete\":0.5,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12bf992b-8874-4f39-a50a-7b3da14004ca\",\"name\":\"12bf992b-8874-4f39-a50a-7b3da14004ca\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:13:10.1820893Z\",\"endTime\":\"2021-05-13T12:13:10.1820893Z\",\"percentComplete\":0.5,\"properties\":{}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18+12": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "93" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -963,40 +966,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "687b2ec1-911d-4d26-a4a0-67637060fc41" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "116cb7ca-18db-4100-9339-16065f73a94e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182633Z:116cb7ca-18db-4100-9339-16065f73a94e" ], + "x-ms-request-id": [ "c492fe99-5a74-48df-9131-9a47a5652039" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "c3fa39b2-64d4-4ead-9bb6-76c055d5710d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121815Z:c3fa39b2-64d4-4ead-9bb6-76c055d5710d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:26:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:18:14 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "360" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/821e4085-df65-425f-9f61-61af0b185be1\",\"name\":\"821e4085-df65-425f-9f61-61af0b185be1\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:21:30.4549775Z\",\"endTime\":\"2020-10-26T18:26:31.3814711Z\",\"percentComplete\":1.0,\"properties\":{\"Findings\":[]}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12bf992b-8874-4f39-a50a-7b3da14004ca\",\"name\":\"12bf992b-8874-4f39-a50a-7b3da14004ca\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:13:10.1820893Z\",\"endTime\":\"2021-05-13T12:18:11.4967088Z\",\"percentComplete\":1.0,\"properties\":{\"Findings\":[]}}", + "isContentBase64": false } }, - "Invoke-AzKustoDiagnoseClusterVirtualNetwork+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18\u0026operationResultResponseType=Location+13": { + "[NoDescription]+[NoContext]+DiagnoseViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01\u0026operationResultResponseType=Location+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/821e4085-df65-425f-9f61-61af0b185be1?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12bf992b-8874-4f39-a50a-7b3da14004ca?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235" ], - "x-ms-client-request-id": [ "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34", "22489dda-27db-4c27-8298-7aad77804c34" ], - "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork", "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], - "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity", "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "94" ], + "x-ms-client-request-id": [ "ce75aa61-7fd5-4ab7-959a-7b22b5298ac1" ], + "CommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork" ], + "FullCommandName": [ "Invoke-AzKustoDiagnoseClusterVirtualNetwork_DiagnoseViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1004,25 +1007,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "782600f2-0a1b-4b6d-8569-be9b39fc8d0e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "dafa7a61-a92d-4669-8d88-43f53a193fb3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182633Z:dafa7a61-a92d-4669-8d88-43f53a193fb3" ], + "x-ms-request-id": [ "c33fbf7f-d8dd-4c1f-9893-f406d4892c1a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "5a3fbd86-38f2-4457-9dee-64242b1dfd94" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T121816Z:5a3fbd86-38f2-4457-9dee-64242b1dfd94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:26:33 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:18:15 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "15" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"Findings\":[]}" + "Content": "{\"Findings\":[]}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Invoke-AzKustoDiagnoseClusterVirtualNetwork.Tests.ps1 b/src/Kusto/test/Invoke-AzKustoDiagnoseClusterVirtualNetwork.Tests.ps1 index 5f1b9d9331eb..9e394d0826c4 100644 --- a/src/Kusto/test/Invoke-AzKustoDiagnoseClusterVirtualNetwork.Tests.ps1 +++ b/src/Kusto/test/Invoke-AzKustoDiagnoseClusterVirtualNetwork.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzKustoDiagnoseClusterVirtualNetwork.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Invoke-AzKustoDiagnoseClusterVirtualNetwork' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-AzKustoDiagnoseClusterVirtualNetwork.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'Diagnose' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/New-AzKustoAttachedDatabaseConfiguration.Recording.json b/src/Kusto/test/New-AzKustoAttachedDatabaseConfiguration.Recording.json index 41ea1f651cc2..ba524e977015 100644 --- a/src/Kusto/test/New-AzKustoAttachedDatabaseConfiguration.Recording.json +++ b/src/Kusto/test/New-AzKustoAttachedDatabaseConfiguration.Recording.json @@ -1,9 +1,10 @@ { - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadWrite\",\r\n \"location\": \"East US\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadWrite\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,41 +15,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "7d946475-00b4-4883-89ed-e742088d9aee" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/fcb04621-8c58-4b4d-9584-8ad4aad72efb?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-correlation-request-id": [ "2ca0f5ae-85b7-4da2-9728-403b9acbc5eb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182635Z:2ca0f5ae-85b7-4da2-9728-403b9acbc5eb" ], + "x-ms-request-id": [ "617d2754-95fb-4ca6-834e-383cc101fa51" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67212e86-3fa1-4357-89f4-77175bf7f993?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-correlation-request-id": [ "ec4490ab-8a31-44f9-96cd-c2f6ee69de72" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123504Z:ec4490ab-8a31-44f9-96cd-c2f6ee69de72" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:26:34 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:35:04 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "363" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp\",\"name\":\"testclustermlhoe5/testdatabase46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o\",\"name\":\"testclusterqlp6ob/testdatabase9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/fcb04621-8c58-4b4d-9584-8ad4aad72efb?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67212e86-3fa1-4357-89f4-77175bf7f993?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/fcb04621-8c58-4b4d-9584-8ad4aad72efb?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67212e86-3fa1-4357-89f4-77175bf7f993?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "236", "237" ], - "x-ms-client-request-id": [ "1a141fe9-b93f-4476-9f2e-aa8e31da2ab7", "1a141fe9-b93f-4476-9f2e-aa8e31da2ab7" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "96" ], + "x-ms-client-request-id": [ "a38944b1-05d1-46f0-adca-9cf71de4a390" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -56,40 +58,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "35dc9bd3-e44b-41ab-9ffd-39e6f547694d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "240aba6a-f1bf-47d5-8940-d0348bcdd161" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182705Z:240aba6a-f1bf-47d5-8940-d0348bcdd161" ], + "x-ms-request-id": [ "2e8a3876-7e11-4e1b-9e8c-f21a6af7b437" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "4d59dbb0-e97a-4f42-9451-be9f46de3082" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123535Z:4d59dbb0-e97a-4f42-9451-be9f46de3082" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:27:05 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:35:34 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/fcb04621-8c58-4b4d-9584-8ad4aad72efb\",\"name\":\"fcb04621-8c58-4b4d-9584-8ad4aad72efb\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:26:35.0069689Z\",\"endTime\":\"2020-10-26T18:26:36.9131666Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"1e217223-9412-4615-82cc-5e2ba93c3e58\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67212e86-3fa1-4357-89f4-77175bf7f993\",\"name\":\"67212e86-3fa1-4357-89f4-77175bf7f993\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:35:04.7077016Z\",\"endTime\":\"2021-05-13T12:35:07.0514532Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"af5f1fac-2b35-48cc-a303-3b40178e8877\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "236", "237", "238" ], - "x-ms-client-request-id": [ "1a141fe9-b93f-4476-9f2e-aa8e31da2ab7", "1a141fe9-b93f-4476-9f2e-aa8e31da2ab7", "1a141fe9-b93f-4476-9f2e-aa8e31da2ab7" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "97" ], + "x-ms-client-request-id": [ "a38944b1-05d1-46f0-adca-9cf71de4a390" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -97,33 +99,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ea0fc9d9-af03-4caf-b80e-f0a66be722bf" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "bd64d7d2-d726-4462-a00c-b427e6793503" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a6b5b9d7-0fad-4e43-9cb9-f2e6dc13d8af" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182705Z:a6b5b9d7-0fad-4e43-9cb9-f2e6dc13d8af" ], + "x-ms-correlation-request-id": [ "e25b6a73-aba0-45b2-a50c-211aa9b89592" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123535Z:e25b6a73-aba0-45b2-a50c-211aa9b89592" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:27:05 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:35:34 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp\",\"name\":\"testclustermlhoe5/testdatabase46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o\",\"name\":\"testclusterqlp6ob/testdatabase9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o?api-version=2021-01-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\r\n \"databaseName\": \"testdatabase46xdyp\",\r\n \"defaultPrincipalsModificationKind\": \"Union\"\r\n },\r\n \"location\": \"East US\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"databaseName\": \"testdatabase9u4t7o\",\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\r\n \"defaultPrincipalsModificationKind\": \"Union\"\r\n },\r\n \"location\": \"East US\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -134,41 +136,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "b09d5c74-f2f1-4044-9a73-93f5d923a419" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9b945fed-45a6-4c7c-8185-4c0ae9a1597b?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-correlation-request-id": [ "f3c436c7-01fe-4d92-b98d-e79f78703c09" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182707Z:f3c436c7-01fe-4d92-b98d-e79f78703c09" ], + "x-ms-request-id": [ "66df7a34-9054-4e83-9ceb-a725b767d552" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/625f1afe-52c6-46cb-903c-97373ebb7e10?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-correlation-request-id": [ "5ebb2913-ee96-4ef4-b705-136e387ce947" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123536Z:5ebb2913-ee96-4ef4-b705-136e387ce947" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:27:06 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:35:35 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "622" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp\",\"name\":\"testfclustera0obls/testdbconf46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"databaseName\":\"testdatabase46xdyp\",\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o\",\"name\":\"testfclusterzu7bam/testdbconf9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"properties\":{\"databaseName\":\"testdatabase9u4t7o\",\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9b945fed-45a6-4c7c-8185-4c0ae9a1597b?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/625f1afe-52c6-46cb-903c-97373ebb7e10?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9b945fed-45a6-4c7c-8185-4c0ae9a1597b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/625f1afe-52c6-46cb-903c-97373ebb7e10?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "239", "240" ], - "x-ms-client-request-id": [ "9d6d9fac-4c33-437c-b387-1f2ac3f733ae", "9d6d9fac-4c33-437c-b387-1f2ac3f733ae" ], - "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration" ], - "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "99" ], + "x-ms-client-request-id": [ "1e38d75b-f474-4a03-ac84-bfebe4d57670" ], + "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration" ], + "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -176,40 +179,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "87b80f1c-7c1a-41c5-8b37-7a24a9e045b8" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "66ed547e-656d-4f25-9df1-f36d3b054201" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182737Z:66ed547e-656d-4f25-9df1-f36d3b054201" ], + "x-ms-request-id": [ "563fcbc5-b4a8-43e9-bf1c-1a1cc9707fd2" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "1803186b-2bf0-4afd-b389-b06f683ccbd9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123607Z:1803186b-2bf0-4afd-b389-b06f683ccbd9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:27:36 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:36:06 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9b945fed-45a6-4c7c-8185-4c0ae9a1597b\",\"name\":\"9b945fed-45a6-4c7c-8185-4c0ae9a1597b\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:27:07.0592759Z\",\"endTime\":\"2020-10-26T18:27:10.8249113Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"281bf3e3-e905-4431-bf5d-30c6d8cad302\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/625f1afe-52c6-46cb-903c-97373ebb7e10\",\"name\":\"625f1afe-52c6-46cb-903c-97373ebb7e10\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:35:36.5201278Z\",\"endTime\":\"2021-05-13T12:35:40.1934827Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"a392935b-b75e-4708-9217-5c00e93e8e0e\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "239", "240", "241" ], - "x-ms-client-request-id": [ "9d6d9fac-4c33-437c-b387-1f2ac3f733ae", "9d6d9fac-4c33-437c-b387-1f2ac3f733ae", "9d6d9fac-4c33-437c-b387-1f2ac3f733ae" ], - "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration" ], - "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "100" ], + "x-ms-client-request-id": [ "1e38d75b-f474-4a03-ac84-bfebe4d57670" ], + "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration" ], + "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -217,33 +220,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3ec8b634-968d-48b0-ba12-a98fea382107" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "78f1f9a1-43ec-4ad8-8a57-e3642bf154cc" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8a239b3a-53fa-4ca4-8fb0-f3332613d581" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182737Z:8a239b3a-53fa-4ca4-8fb0-f3332613d581" ], + "x-ms-correlation-request-id": [ "aac0c8d2-5f48-4038-a178-15d7f23d34a1" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123607Z:aac0c8d2-5f48-4038-a178-15d7f23d34a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:27:37 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:36:06 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "680" ], + "Content-Length": [ "715" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconf46xdyp\",\"name\":\"testfclustera0obls/testdbconf46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"databaseName\":\"testdatabase46xdyp\",\"attachedDatabaseNames\":[\"testdatabase46xdyp\"],\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconf9u4t7o\",\"name\":\"testfclusterzu7bam/testdbconf9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"databaseName\":\"testdatabase9u4t7o\",\"attachedDatabaseNames\":[\"testdatabase9u4t7o\"],\"defaultPrincipalsModificationKind\":\"Union\",\"tableLevelSharingProperties\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/detachFollowerDatabases?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+CreateExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/detachFollowerDatabases?api-version=2021-01-01+7": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/detachFollowerDatabases?api-version=2020-09-18", - "Content": "{\r\n \"attachedDatabaseConfigurationName\": \"testdbconf46xdyp\",\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/detachFollowerDatabases?api-version=2021-01-01", + "Content": "{\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam\",\r\n \"attachedDatabaseConfigurationName\": \"testdbconf9u4t7o\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -254,40 +257,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/0a960e6e-5512-4cb0-88c0-d72cc8f6ae4c?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "3b2272a5-c8c1-4f55-9b54-94b3cd0cb8a2" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/0a960e6e-5512-4cb0-88c0-d72cc8f6ae4c?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1184" ], - "x-ms-correlation-request-id": [ "3e958ca0-9041-4f41-9935-2413f7ff6799" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182738Z:3e958ca0-9041-4f41-9935-2413f7ff6799" ], + "x-ms-request-id": [ "15dbd3b0-c50c-4365-9cd4-d2cba39bab56" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/59abd416-4b45-4c69-b827-905a6318c515?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "a1998388-6616-4e41-abd1-30980538f247" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123608Z:a1998388-6616-4e41-abd1-30980538f247" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:27:37 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:36:07 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/59abd416-4b45-4c69-b827-905a6318c515?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/0a960e6e-5512-4cb0-88c0-d72cc8f6ae4c?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/59abd416-4b45-4c69-b827-905a6318c515?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/0a960e6e-5512-4cb0-88c0-d72cc8f6ae4c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/59abd416-4b45-4c69-b827-905a6318c515?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "242", "243" ], - "x-ms-client-request-id": [ "f034c5fe-3a4c-4dba-ba92-4f639432746c", "f034c5fe-3a4c-4dba-ba92-4f639432746c" ], - "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase", "Invoke-AzKustoDetachClusterFollowerDatabase" ], - "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded", "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "102" ], + "x-ms-client-request-id": [ "f21e226e-d460-4488-b5b7-8b72b05ee1f4" ], + "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase" ], + "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -295,40 +299,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "3bed9ba8-1bfc-4e76-a2fe-4fc1e4fd09f8" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "69d2ec07-2061-4f80-9d30-660da39fac9e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182808Z:69d2ec07-2061-4f80-9d30-660da39fac9e" ], + "x-ms-request-id": [ "05352f5a-7312-486d-834a-a137f4138229" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "c190ef5e-91f1-4e2f-b475-44f1c85a97a2" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123638Z:c190ef5e-91f1-4e2f-b475-44f1c85a97a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:28:08 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:36:38 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/0a960e6e-5512-4cb0-88c0-d72cc8f6ae4c\",\"name\":\"0a960e6e-5512-4cb0-88c0-d72cc8f6ae4c\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:27:38.2262627Z\",\"endTime\":\"2020-10-26T18:27:41.3043842Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseDetach\",\"RootActivityId\":\"eded8034-de03-41fe-9f9b-50c2f1cbea51\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/59abd416-4b45-4c69-b827-905a6318c515\",\"name\":\"59abd416-4b45-4c69-b827-905a6318c515\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:36:08.4644767Z\",\"endTime\":\"2021-05-13T12:36:11.7929368Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseDetach\",\"RootActivityId\":\"d0013dac-729b-4e3f-94f1-d0b64f769a4f\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/0a960e6e-5512-4cb0-88c0-d72cc8f6ae4c?api-version=2020-09-18\u0026operationResultResponseType=Location+9": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/59abd416-4b45-4c69-b827-905a6318c515?api-version=2021-01-01\u0026operationResultResponseType=Location+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/0a960e6e-5512-4cb0-88c0-d72cc8f6ae4c?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/59abd416-4b45-4c69-b827-905a6318c515?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "242", "243", "244" ], - "x-ms-client-request-id": [ "f034c5fe-3a4c-4dba-ba92-4f639432746c", "f034c5fe-3a4c-4dba-ba92-4f639432746c", "f034c5fe-3a4c-4dba-ba92-4f639432746c" ], - "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase", "Invoke-AzKustoDetachClusterFollowerDatabase", "Invoke-AzKustoDetachClusterFollowerDatabase" ], - "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded", "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded", "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "103" ], + "x-ms-client-request-id": [ "f21e226e-d460-4488-b5b7-8b72b05ee1f4" ], + "CommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase" ], + "FullCommandName": [ "Invoke-AzKustoDetachClusterFollowerDatabase_DetachExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -336,33 +340,34 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9480067d-c8a9-4180-a068-fe7c602860ae" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-correlation-request-id": [ "e6c8dd2d-6ad8-4345-8a04-66b9f3b9c84d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182808Z:e6c8dd2d-6ad8-4345-8a04-66b9f3b9c84d" ], + "x-ms-request-id": [ "26b32fd8-d64f-47c4-86a1-47dfcd73d075" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "586f06b8-e2d8-444a-bbe6-36e1ff82d523" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123639Z:586f06b8-e2d8-444a-bbe6-36e1ff82d523" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:28:08 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:36:38 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+10": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "245" ], - "x-ms-client-request-id": [ "813fd791-f4e9-4346-98c8-d320d4ed732d" ], + "x-ms-unique-id": [ "104" ], + "x-ms-client-request-id": [ "ff23bc6b-308c-41fb-a97f-825bd061963c" ], "CommandName": [ "Remove-AzKustoDatabase" ], "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -375,40 +380,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2010c673-5a2d-4fe1-aa39-76fb985d962a?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2010c673-5a2d-4fe1-aa39-76fb985d962a?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-request-id": [ "9887b2cc-d02b-496f-8cfc-79a2a351d27a" ], - "x-ms-correlation-request-id": [ "9887b2cc-d02b-496f-8cfc-79a2a351d27a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182809Z:9887b2cc-d02b-496f-8cfc-79a2a351d27a" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c121cc5a-bd63-441d-a6b1-76fddbe3ce9a?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-request-id": [ "b159bb07-9998-4096-988c-5161de12b3d8" ], + "x-ms-correlation-request-id": [ "b159bb07-9998-4096-988c-5161de12b3d8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123639Z:b159bb07-9998-4096-988c-5161de12b3d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:28:09 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:36:38 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c121cc5a-bd63-441d-a6b1-76fddbe3ce9a?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2010c673-5a2d-4fe1-aa39-76fb985d962a?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c121cc5a-bd63-441d-a6b1-76fddbe3ce9a?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2010c673-5a2d-4fe1-aa39-76fb985d962a?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c121cc5a-bd63-441d-a6b1-76fddbe3ce9a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "245", "246" ], - "x-ms-client-request-id": [ "813fd791-f4e9-4346-98c8-d320d4ed732d", "813fd791-f4e9-4346-98c8-d320d4ed732d" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "105" ], + "x-ms-client-request-id": [ "ff23bc6b-308c-41fb-a97f-825bd061963c" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -416,40 +422,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "f2d9c7ce-d31a-4155-bccf-4450c3b7fb2b" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f5126977-f53d-4fe6-87cc-7d8b67b881e6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182839Z:f5126977-f53d-4fe6-87cc-7d8b67b881e6" ], + "x-ms-request-id": [ "5ec75816-ca13-4ad0-a163-cff971d65600" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], + "x-ms-correlation-request-id": [ "7c9c4463-14a0-4019-b3ed-54a482800d71" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123710Z:7c9c4463-14a0-4019-b3ed-54a482800d71" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:28:39 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:37:09 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/2010c673-5a2d-4fe1-aa39-76fb985d962a\",\"name\":\"2010c673-5a2d-4fe1-aa39-76fb985d962a\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:28:09.3786437Z\",\"endTime\":\"2020-10-26T18:28:17.6762668Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"7db583d6-1103-42d5-ba09-05d0a072bbb5\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/c121cc5a-bd63-441d-a6b1-76fddbe3ce9a\",\"name\":\"c121cc5a-bd63-441d-a6b1-76fddbe3ce9a\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:36:39.6548473Z\",\"endTime\":\"2021-05-13T12:36:42.7641659Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"f298021b-6230-4a09-981e-37808493e786\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoAttachedDatabaseConfiguration+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2010c673-5a2d-4fe1-aa39-76fb985d962a?api-version=2020-09-18\u0026operationResultResponseType=Location+12": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c121cc5a-bd63-441d-a6b1-76fddbe3ce9a?api-version=2021-01-01\u0026operationResultResponseType=Location+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2010c673-5a2d-4fe1-aa39-76fb985d962a?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c121cc5a-bd63-441d-a6b1-76fddbe3ce9a?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "245", "246", "247" ], - "x-ms-client-request-id": [ "813fd791-f4e9-4346-98c8-d320d4ed732d", "813fd791-f4e9-4346-98c8-d320d4ed732d", "813fd791-f4e9-4346-98c8-d320d4ed732d" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "106" ], + "x-ms-client-request-id": [ "ff23bc6b-308c-41fb-a97f-825bd061963c" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -457,23 +463,23 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5b21876e-327a-4d8f-a3f4-3b821e62448a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-correlation-request-id": [ "19782ff5-7c90-4c13-9392-c04bac9997bc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182839Z:19782ff5-7c90-4c13-9392-c04bac9997bc" ], + "x-ms-request-id": [ "4031ba22-e27e-44d6-a0fe-6112c6005d52" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], + "x-ms-correlation-request-id": [ "28901d5b-182f-4fa4-bca9-4681074dbb04" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123710Z:28901d5b-182f-4fa4-bca9-4681074dbb04" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:28:39 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:37:10 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/New-AzKustoAttachedDatabaseConfiguration.Tests.ps1 b/src/Kusto/test/New-AzKustoAttachedDatabaseConfiguration.Tests.ps1 index 01f40b82c92b..ddb8aa6f5f8e 100644 --- a/src/Kusto/test/New-AzKustoAttachedDatabaseConfiguration.Tests.ps1 +++ b/src/Kusto/test/New-AzKustoAttachedDatabaseConfiguration.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoAttachedDatabaseConfiguration.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'New-AzKustoAttachedDatabaseConfiguration' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoAttachedDatabaseConfiguration.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'CreateExpanded' { $subscriptionId = $env.SubscriptionId $location = $env.location diff --git a/src/Kusto/test/New-AzKustoCluster.Recording.json b/src/Kusto/test/New-AzKustoCluster.Recording.json index 0fe6c10da198..ac078d203ed7 100644 --- a/src/Kusto/test/New-AzKustoCluster.Recording.json +++ b/src/Kusto/test/New-AzKustoCluster.Recording.json @@ -1,9 +1,10 @@ { - "New-AzKustoCluster+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01", "Content": "{\r\n \"location\": \"East US\",\r\n \"sku\": {\r\n \"name\": \"Standard_D11_v2\",\r\n \"tier\": \"Standard\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,41 +15,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "0b30ede1-243d-4078-9f48-9d6a24a1d991" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "e17ae05e-5238-4b5b-ad0d-0cbbc2274fa0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182844Z:e17ae05e-5238-4b5b-ad0d-0cbbc2274fa0" ], + "x-ms-request-id": [ "92503c6e-c23f-44ec-bff4-3cb9e88dfec3" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-correlation-request-id": [ "36307a18-07d5-4da8-8f10-bc64e5c52e6d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123818Z:36307a18-07d5-4da8-8f10-bc64e5c52e6d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:28:44 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:38:18 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "356" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp\",\"name\":\"testcluster46xdyp\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\"},\"properties\":{\"state\":\"Creating\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o\",\"name\":\"testcluster9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\"},\"properties\":{\"state\":\"Creating\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "108" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -56,40 +58,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-request-id": [ "63b8b103-99f6-4d28-8e03-ea0b588da8f5" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b4a703ac-0a1e-4367-9c7e-d7f2a402d261" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182914Z:b4a703ac-0a1e-4367-9c7e-d7f2a402d261" ], + "x-ms-request-id": [ "b7238c06-c748-480a-bbda-a8f45fa42184" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "293" ], + "x-ms-correlation-request-id": [ "e86e6140-3984-4455-957e-6e5b47120b46" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123848Z:e86e6140-3984-4455-957e-6e5b47120b46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:29:13 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:38:48 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:28:43.5608751Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:38:17.2908444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "109" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -97,40 +99,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], - "x-ms-request-id": [ "6e21c56c-633e-467c-8c8d-98dd06ed3632" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c74acf71-3d01-4a41-8c1f-45d315d2be7d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T182944Z:c74acf71-3d01-4a41-8c1f-45d315d2be7d" ], + "x-ms-request-id": [ "2154abde-1f3d-45af-a18a-8715ece5b329" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "292" ], + "x-ms-correlation-request-id": [ "bb7fa895-8288-4474-b4ce-5f9cf418be9d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123918Z:bb7fa895-8288-4474-b4ce-5f9cf418be9d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:29:44 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:39:18 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:28:43.5608751Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:38:17.2908444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "110" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -138,40 +140,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "271487ab-d906-4048-a525-7be55e712787" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "63df0ba9-dad1-40c9-b2a7-6c2e599f8b5f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183015Z:63df0ba9-dad1-40c9-b2a7-6c2e599f8b5f" ], + "x-ms-request-id": [ "1e89e36b-f67f-48c6-9e26-cf1c19ccf18e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "291" ], + "x-ms-correlation-request-id": [ "2bdcfd9b-537b-46a3-9972-b63599ce5256" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T123949Z:2bdcfd9b-537b-46a3-9972-b63599ce5256" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:30:14 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:39:48 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:28:43.5608751Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:38:17.2908444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "111" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -179,40 +181,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "a4d03780-9c57-4514-b532-b9eda2e4f899" ], - "x-ms-request-id": [ "ae9370ea-85f6-4f9c-8d01-230a76a9399c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183045Z:a4d03780-9c57-4514-b532-b9eda2e4f899" ], + "x-ms-request-id": [ "80f5c488-2b3d-4f01-91a6-d9dec9c73e8b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "4a0cf37f-ce67-4d17-be6f-e406d57f2f97" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124019Z:4a0cf37f-ce67-4d17-be6f-e406d57f2f97" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:30:44 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:40:19 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:28:43.5608751Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:38:17.2908444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "112" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -220,40 +222,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "277b026c-68e1-4109-9424-c873e9b195fb" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "571184dc-2f70-4c9c-a9e3-3088d633073b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183116Z:571184dc-2f70-4c9c-a9e3-3088d633073b" ], + "x-ms-request-id": [ "f447e514-80d1-4692-9c76-316827858921" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "fe31054b-3bad-402a-b064-f06575caeed9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124049Z:fe31054b-3bad-402a-b064-f06575caeed9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:31:15 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:40:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:28:43.5608751Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:38:17.2908444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "113" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -261,40 +263,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "56a3cafd-7cbf-44dc-ae18-d78c10733185" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b26598a0-7ac7-4e19-b51a-3dbc4542ffeb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183146Z:b26598a0-7ac7-4e19-b51a-3dbc4542ffeb" ], + "x-ms-request-id": [ "3de861a7-7163-494a-90b1-7bc4f2446d78" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "e82fc244-060e-4486-84e8-8e3e2723677e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124119Z:e82fc244-060e-4486-84e8-8e3e2723677e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:31:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:41:19 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "114" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -302,40 +304,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "01d8ae50-f37c-4c82-988f-a6693bcbde37" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "97d9eafc-d5fc-4d9b-a277-102dd6d2f124" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183216Z:97d9eafc-d5fc-4d9b-a277-102dd6d2f124" ], + "x-ms-request-id": [ "d6096ab1-9a2a-4d36-a4e1-5a06aacf9d92" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "86cf6b54-01a7-497e-8d25-286d9bc935d2" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124150Z:86cf6b54-01a7-497e-8d25-286d9bc935d2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:32:16 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:41:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "115" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -343,40 +345,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "06a72896-99dd-4841-a7d8-2dd0d0a093f3" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "06e6f4bf-0f53-44f8-abc9-057958d3fe22" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183247Z:06e6f4bf-0f53-44f8-abc9-057958d3fe22" ], + "x-ms-request-id": [ "32d28a0e-d404-42db-b46d-f9aedff37b63" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "aa2be634-b192-4b30-a8e0-2b74814cb8c8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124220Z:aa2be634-b192-4b30-a8e0-2b74814cb8c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:32:46 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:42:20 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "116" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -384,40 +386,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "284e405a-6689-452d-8387-2252262c0d34" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5f674f8a-4b48-4228-979b-93507840ceee" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183317Z:5f674f8a-4b48-4228-979b-93507840ceee" ], + "x-ms-request-id": [ "b81f9578-c232-42dd-a4df-7f24161d9620" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "54170f7e-aa25-48e0-83a5-c40fd26d8c7f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124250Z:54170f7e-aa25-48e0-83a5-c40fd26d8c7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:33:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:42:50 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "117" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -425,40 +427,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "ab7320b8-6b9c-404b-be88-a95e44750636" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "816a0a24-67e0-43f5-8af3-b57fa44d771d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183347Z:816a0a24-67e0-43f5-8af3-b57fa44d771d" ], + "x-ms-request-id": [ "a5f43d12-686a-4e0e-8264-a840be7f71fa" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "98e37b19-534c-4aff-a497-14d4b5ba5ad9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124321Z:98e37b19-534c-4aff-a497-14d4b5ba5ad9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:33:47 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:43:21 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+12": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "118" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -466,40 +468,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-request-id": [ "bd7ec8c2-4a98-4bb4-9121-b2960d47b190" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "42895699-6cef-45c3-9eb7-2d8ba276f656" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183418Z:42895699-6cef-45c3-9eb7-2d8ba276f656" ], + "x-ms-request-id": [ "83b93137-8433-4c8d-95b1-74879ebedce8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "5d9e51ed-fa95-4652-ace2-55ce9cce681e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124351Z:5d9e51ed-fa95-4652-ace2-55ce9cce681e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:34:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:43:51 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+13": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "119" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -507,40 +509,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], - "x-ms-request-id": [ "370390de-518a-4219-88e7-fa8223184437" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b3b9b18a-d836-4917-a0ef-12895308be79" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183448Z:b3b9b18a-d836-4917-a0ef-12895308be79" ], + "x-ms-request-id": [ "d559564e-9de1-43df-8c88-3029b58d7317" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "5546eec2-e810-4c67-8bd7-db41f0b4ed08" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124422Z:5546eec2-e810-4c67-8bd7-db41f0b4ed08" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:34:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:44:21 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+14": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "120" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -548,40 +550,81 @@ "Response": { "StatusCode": 200, "Headers": { + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "741db2ae-25fc-4590-81a6-052aaa557d85" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "b3abd525-d93f-4bc3-a8d1-8b11797e96fa" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124452Z:b3abd525-d93f-4bc3-a8d1-8b11797e96fa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:44:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] + }, + "ContentHeaders": { + "Content-Length": [ "498" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false + } + }, + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "121" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f3a4b33f-2ffc-4976-85c9-5fcbf5934be3" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "07460757-2fc5-4664-a9e9-3b09e1a48407" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "55210b1a-7a38-4090-b76e-e83425c5060a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183518Z:55210b1a-7a38-4090-b76e-e83425c5060a" ], + "x-ms-correlation-request-id": [ "a28d07e9-64d8-42d2-84b8-0674cd791511" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124522Z:a28d07e9-64d8-42d2-84b8-0674cd791511" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:35:18 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:45:22 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+15": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "122" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -589,40 +632,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "2002c4b5-4f98-4baf-a3a6-38afc649d0db" ], - "x-ms-request-id": [ "dcb77019-f821-4772-aca3-23a1d230f725" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "6b49e552-93fc-4dac-a560-c381fe70dfbf" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183548Z:2002c4b5-4f98-4baf-a3a6-38afc649d0db" ], + "x-ms-correlation-request-id": [ "20ff45b2-0683-4e12-82ef-b7dfb9c0dc3f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124552Z:20ff45b2-0683-4e12-82ef-b7dfb9c0dc3f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:35:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:45:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+16": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "123" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -630,40 +673,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "1ecf8fb1-072e-4bf4-80b7-e4dcdf180d58" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "60e917f7-ab45-47c3-8eb5-00a708a4f72a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c502ea5b-9863-4b74-b5f6-8de92e869fd8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183619Z:c502ea5b-9863-4b74-b5f6-8de92e869fd8" ], + "x-ms-correlation-request-id": [ "e2bc9778-71de-4f21-8eb9-e6aface75c94" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124623Z:e2bc9778-71de-4f21-8eb9-e6aface75c94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:36:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:46:22 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+17": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263", "264" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "124" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -671,40 +714,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "84ad4b6d-6654-49f5-a562-ecd7ca379f55" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "cd155066-5593-4bd9-aeee-d78c9cfbc474" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e7751a65-9966-400a-b240-1e0c7df6a3a6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183649Z:e7751a65-9966-400a-b240-1e0c7df6a3a6" ], + "x-ms-correlation-request-id": [ "fa973a2d-07c9-4d32-9129-dfeb42b33072" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124653Z:fa973a2d-07c9-4d32-9129-dfeb42b33072" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:36:49 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:46:53 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+18": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263", "264", "265" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "125" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -712,40 +755,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "2da59f36-e343-40fa-b976-4f746663ae56" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "b2af9660-6f7c-46d3-9544-8019430cdc2b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0dfa84d5-11bb-46ce-a4a4-27b6153b27ed" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183719Z:0dfa84d5-11bb-46ce-a4a4-27b6153b27ed" ], + "x-ms-correlation-request-id": [ "e55d6fe5-dd14-46fd-a32e-60b0c46d28e5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124724Z:e55d6fe5-dd14-46fd-a32e-60b0c46d28e5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:37:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:47:23 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+19": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263", "264", "265", "266" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "126" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -753,40 +796,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "925fdfbe-30b2-4fb3-8324-336f39243a7e" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "60ab43bb-60b4-46c9-86ea-b1c2c0da1b47" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bdf5fa3f-044e-435c-9407-db2983a52953" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183750Z:bdf5fa3f-044e-435c-9407-db2983a52953" ], + "x-ms-correlation-request-id": [ "a4c3207a-d888-4c53-867f-af322b57834f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124754Z:a4c3207a-d888-4c53-867f-af322b57834f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:37:49 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:47:54 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+20": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263", "264", "265", "266", "267" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "127" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -794,40 +837,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3cbaf76f-412f-4ddf-aa08-f30bbbaf60ba" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "cbf6f18e-aa76-49c0-bf1e-7e20c2289c29" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c84e23e1-1def-4ba5-8b26-0dcc55e33c09" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183820Z:c84e23e1-1def-4ba5-8b26-0dcc55e33c09" ], + "x-ms-correlation-request-id": [ "483067e4-e371-443e-8f55-2852764c67b8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124824Z:483067e4-e371-443e-8f55-2852764c67b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:38:20 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:48:24 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+21": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263", "264", "265", "266", "267", "268" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "128" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -835,40 +878,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8515acb2-76e9-43e9-8a9a-193e93d10cb0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "1e782fe6-df4b-41c5-8deb-87475b1ea0cd" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "db38819a-f98a-4dec-bc4f-b0aef562fb9e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183851Z:db38819a-f98a-4dec-bc4f-b0aef562fb9e" ], + "x-ms-correlation-request-id": [ "ca9507ca-177c-4d6f-af11-806a7234d697" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124854Z:ca9507ca-177c-4d6f-af11-806a7234d697" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:38:50 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:48:54 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+22": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263", "264", "265", "266", "267", "268", "269" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "129" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -876,40 +919,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8582a941-7463-467e-9ca2-216b4730a78b" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "86de1efa-0a3d-47a3-bbed-c909e8278d91" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0fd941b6-394f-43fd-a586-7759ad7b932c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183921Z:0fd941b6-394f-43fd-a586-7759ad7b932c" ], + "x-ms-correlation-request-id": [ "da7230c8-5875-4329-adba-f4be01677939" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124927Z:da7230c8-5875-4329-adba-f4be01677939" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:39:21 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:49:27 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+23": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263", "264", "265", "266", "267", "268", "269", "270" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "130" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -917,40 +960,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "1ee11f6e-b231-4a3c-944e-3af85263f536" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "e28422c7-5baf-4ced-8d6b-12339c78d7db" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "56c4a98f-c5cd-44d8-8603-e805e87f67c2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T183953Z:56c4a98f-c5cd-44d8-8603-e805e87f67c2" ], + "x-ms-correlation-request-id": [ "2071a57f-0f9a-4e6c-a7fb-6995bbd2bf4b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T124957Z:2071a57f-0f9a-4e6c-a7fb-6995bbd2bf4b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:39:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:49:57 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+24": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263", "264", "265", "266", "267", "268", "269", "270", "271" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "131" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -958,40 +1001,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "6a483452-63f0-4126-bb64-b6f37577832c" ], - "x-ms-request-id": [ "dd4e33c3-6b95-4a03-8515-8c8e00ccc82a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "5f71d4f5-5bcc-434f-9cbc-7f9786206d80" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184024Z:6a483452-63f0-4126-bb64-b6f37577832c" ], + "x-ms-correlation-request-id": [ "ac2d4173-22f2-487e-9e54-bce5ad9491a0" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125027Z:ac2d4173-22f2-487e-9e54-bce5ad9491a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:40:23 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:50:27 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "500" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:31:36.0938921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18+25": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dddcd0f2-3d3e-4161-8676-95106984b5d3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263", "264", "265", "266", "267", "268", "269", "270", "271", "272" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "132" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -999,40 +1042,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e339c93a-a939-4957-8bd2-3026b3d45283" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "5a4b438f-4ddd-4210-9b83-a33bae73656e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d3984a4b-5ec1-47c7-a8b8-2e7e78b6aebf" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184054Z:d3984a4b-5ec1-47c7-a8b8-2e7e78b6aebf" ], + "x-ms-correlation-request-id": [ "91d793f5-9063-4fca-81ee-322df9457dd0" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125058Z:91d793f5-9063-4fca-81ee-322df9457dd0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:40:54 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:50:57 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "503" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"name\":\"dddcd0f2-3d3e-4161-8676-95106984b5d3\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:28:43.5608751Z\",\"endTime\":\"2020-10-26T18:40:39.0899755Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"df82767b-7746-4cfc-a5be-10c8323b1011\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18+26": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "248", "249", "250", "251", "252", "253", "254", "255", "256", "257", "258", "259", "260", "261", "262", "263", "264", "265", "266", "267", "268", "269", "270", "271", "272", "273" ], - "x-ms-client-request-id": [ "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da", "e22a2a78-802c-4930-ad77-d87b8ef0f9da" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "133" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1040,82 +1083,81 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "06bb6a49-83cb-475f-b215-83db4a7f1854" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "152b2c7a-3f5c-48d1-bbc3-28ffc0a9de7e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184055Z:152b2c7a-3f5c-48d1-bbc3-28ffc0a9de7e" ], + "x-ms-request-id": [ "424662ff-aef3-4699-88a1-fed6d0ecf5d4" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "e7f4dbdd-131c-4228-ac42-76f9916648e4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125128Z:e7f4dbdd-131c-4228-ac42-76f9916648e4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:40:54 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:51:28 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp\",\"name\":\"testcluster46xdyp\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testcluster46xdyp.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testcluster46xdyp.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:41:18.15309Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18+27": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01+28": { "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18", + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/94338755-a7dd-40ff-80de-94e1b3276c1f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "134" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], - "x-ms-request-id": [ "216f651e-80f7-48a7-993d-ae280680f2d7" ], - "x-ms-correlation-request-id": [ "216f651e-80f7-48a7-993d-ae280680f2d7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184055Z:216f651e-80f7-48a7-993d-ae280680f2d7" ], + "x-ms-request-id": [ "c1515835-f7cc-4700-a68f-2bf8cd268c03" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "64348403-203c-434c-b779-32f316f85fb8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125158Z:64348403-203c-434c-b779-32f316f85fb8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:40:55 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:51:58 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "502" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/94338755-a7dd-40ff-80de-94e1b3276c1f\",\"name\":\"94338755-a7dd-40ff-80de-94e1b3276c1f\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:38:17.2908444Z\",\"endTime\":\"2021-05-13T12:51:31.515531Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"af7ad4b2-3d25-4199-af7b-958fb281d0d6\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+28": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "135" ], + "x-ms-client-request-id": [ "05a701e5-8565-471d-b828-0fbdd07ce808" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1123,81 +1165,83 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "0e5ea76a-4b0f-48dd-abdd-57f628d968d0" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "959108fb-cedc-4800-bae9-fb22459777e0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184125Z:959108fb-cedc-4800-bae9-fb22459777e0" ], + "x-ms-request-id": [ "fe88ff1d-1bc1-452d-922f-b5986e483918" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "922088ea-89c3-4709-b47c-1233af9645a2" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125158Z:922088ea-89c3-4709-b47c-1233af9645a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:41:25 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:51:58 GMT" ], + "ETag": [ "\"2021-05-13T12:51:30.9062248Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o\",\"name\":\"testcluster9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T12:51:30.9062248Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testcluster9u4t7o.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testcluster9u4t7o.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+29": { + "[NoDescription]+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01+30": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "136" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "49029de9-7c10-4c4f-bdae-7db08cc78dda" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "fa3e1596-be88-47f2-8690-193cda4ebbff" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184156Z:fa3e1596-be88-47f2-8690-193cda4ebbff" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-request-id": [ "3715e1e0-0ef0-4b5f-8661-89c7689c946d" ], + "x-ms-correlation-request-id": [ "3715e1e0-0ef0-4b5f-8661-89c7689c946d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125200Z:3715e1e0-0ef0-4b5f-8661-89c7689c946d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:41:56 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:51:59 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+30": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "137" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1205,40 +1249,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "5e051d2d-c8e0-435e-a31c-9927e97f90d0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "eff70904-9980-4625-ab0b-de460e0fef12" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7f9a9643-1047-4838-9de3-aef55bc5f4e7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184226Z:7f9a9643-1047-4838-9de3-aef55bc5f4e7" ], + "x-ms-correlation-request-id": [ "bde5f544-bc38-4002-b83e-b40cca5b6b5a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125230Z:bde5f544-bc38-4002-b83e-b40cca5b6b5a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:42:25 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:52:30 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+31": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277", "278" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "138" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1246,40 +1290,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3293a08e-efb0-41e5-8f2d-0b95077d9278" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "ead55d72-9726-4ff5-a19b-bf8e6652be50" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9e5d04be-16f1-4366-b385-9bb6b22b900e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184256Z:9e5d04be-16f1-4366-b385-9bb6b22b900e" ], + "x-ms-correlation-request-id": [ "7a76ddc1-e936-4a3c-9282-87cbda836163" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125300Z:7a76ddc1-e936-4a3c-9282-87cbda836163" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:42:55 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:53:00 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+32": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277", "278", "279" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "139" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1287,40 +1331,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "80f26b53-e669-48f9-bba8-a3b8b5e9066a" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "6e17631b-4f81-4c10-8b7e-557d43f5c42b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "778882fc-5fbe-4d62-a55a-33fffaa7303f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184329Z:778882fc-5fbe-4d62-a55a-33fffaa7303f" ], + "x-ms-correlation-request-id": [ "2baf114e-2435-452a-b9a0-07877b7f06c7" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125331Z:2baf114e-2435-452a-b9a0-07877b7f06c7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:43:28 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:53:30 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+33": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277", "278", "279", "280" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "140" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1328,40 +1372,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e6b9b315-5346-4dba-81d3-2dc5168e9da8" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "b476e0f1-ab63-45b8-8aa1-46c1a94b8714" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "965a7493-88bb-4775-86bf-b76b609b85ee" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184359Z:965a7493-88bb-4775-86bf-b76b609b85ee" ], + "x-ms-correlation-request-id": [ "03938b09-1db2-4ae7-b532-ee1174ec1d49" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125401Z:03938b09-1db2-4ae7-b532-ee1174ec1d49" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:43:58 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:54:01 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+34": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277", "278", "279", "280", "281" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "141" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1369,40 +1413,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "67aac185-b725-4b61-8809-17a1eb829141" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "128ab675-fcd5-4683-9044-ddf9eeb25063" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "504b7ddb-8fdc-4559-a681-742af9f8ed03" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184429Z:504b7ddb-8fdc-4559-a681-742af9f8ed03" ], + "x-ms-correlation-request-id": [ "082b6647-b537-4840-9f39-e31127744456" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125431Z:082b6647-b537-4840-9f39-e31127744456" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:44:28 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:54:31 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+35": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277", "278", "279", "280", "281", "282" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "142" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1410,40 +1454,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "247c8718-1520-4b05-8b73-ee0108ba2807" ], - "x-ms-request-id": [ "4a401490-04c6-4ccf-a667-01f3fd5bf65d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184459Z:247c8718-1520-4b05-8b73-ee0108ba2807" ], + "x-ms-request-id": [ "96edafe5-9705-47fa-8351-01ae901a4c81" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "ca462e52-854a-40e3-b52d-edba417f0b31" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125502Z:ca462e52-854a-40e3-b52d-edba417f0b31" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:44:59 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:55:02 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+36": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277", "278", "279", "280", "281", "282", "283" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "143" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1451,40 +1495,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "77f8b4fe-ea1a-4605-a867-60e4ca8e512f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "79900d9a-858e-427b-a510-a95c1dc14447" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "cfb65605-f4cc-4f53-951b-8d732e686cd6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184530Z:cfb65605-f4cc-4f53-951b-8d732e686cd6" ], + "x-ms-correlation-request-id": [ "e42f0678-19fa-4ea4-b257-bcf8d8cd8aa8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125532Z:e42f0678-19fa-4ea4-b257-bcf8d8cd8aa8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:45:30 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:55:32 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+37": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+38": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277", "278", "279", "280", "281", "282", "283", "284" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "144" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1492,40 +1536,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "5013fdda-a510-4822-8f59-6e700503f460" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "28a84079-5bee-4f7c-9263-88e366e417e0" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a3c48857-8f8a-4166-abfb-98c9d4c93b8a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184600Z:a3c48857-8f8a-4166-abfb-98c9d4c93b8a" ], + "x-ms-correlation-request-id": [ "021a3f9c-bc3c-432a-b961-0e510349f140" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125602Z:021a3f9c-bc3c-432a-b961-0e510349f140" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:46:00 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:56:02 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+38": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+39": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277", "278", "279", "280", "281", "282", "283", "284", "285" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "145" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1533,40 +1577,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "807495f8-e154-42e3-99ae-f1e7a881537c" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "bd885611-7802-4d41-a2e4-dd874c4af0c2" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ae68921b-dfd1-48c9-8a14-63a9ca08e9ca" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184630Z:ae68921b-dfd1-48c9-8a14-63a9ca08e9ca" ], + "x-ms-correlation-request-id": [ "c7335bb8-3850-41e2-8511-16213330c48c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125633Z:c7335bb8-3850-41e2-8511-16213330c48c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:46:30 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:56:33 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "489" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:40:56.9199182Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18+39": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+40": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277", "278", "279", "280", "281", "282", "283", "284", "285", "286" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "146" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1574,40 +1618,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "35f7206a-93cc-4d91-bfb4-36ee908ac8f4" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "c1af8fc6-648b-43a4-830d-e16ce75fa7ab" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e7e62c2a-24ff-4c7d-a351-b67994810fa3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184701Z:e7e62c2a-24ff-4c7d-a351-b67994810fa3" ], + "x-ms-correlation-request-id": [ "f4083a63-6af9-4f52-adbe-ffe344e5f13c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125703Z:f4083a63-6af9-4f52-adbe-ffe344e5f13c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:47:00 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:57:02 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/414e3ce5-0edd-4cec-bc6d-706536021612\",\"name\":\"414e3ce5-0edd-4cec-bc6d-706536021612\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:40:55.6231Z\",\"endTime\":\"2020-10-26T18:46:51.2969436Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"a1602b93-30aa-424b-bdbc-d61e68098a87\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "New-AzKustoCluster+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18\u0026operationResultResponseType=Location+40": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+41": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/414e3ce5-0edd-4cec-bc6d-706536021612?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274", "275", "276", "277", "278", "279", "280", "281", "282", "283", "284", "285", "286", "287" ], - "x-ms-client-request-id": [ "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e", "01d62117-1c77-4de5-8090-ec1848d97e1e" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "147" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1615,23 +1659,105 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e0d37c85-780d-4ddc-8fe5-f14b5d5a4662" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "8a32127d-386a-42a3-ba5f-f037ee5fb778" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-correlation-request-id": [ "cc252fae-c874-4d8a-86b7-0d1157f31757" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184701Z:cc252fae-c874-4d8a-86b7-0d1157f31757" ], + "x-ms-correlation-request-id": [ "5758e93c-f31d-46d4-93ee-8948d921e9c2" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125733Z:5758e93c-f31d-46d4-93ee-8948d921e9c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:47:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:57:33 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "492" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Running\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:52:00.7500117Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false + } + }, + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01+42": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "148" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, - "Content": null + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "d75c9a46-e1b2-4958-857b-675ddd527678" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "e8c826b1-ecfb-423a-8046-c8e46bb6df3f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125804Z:e8c826b1-ecfb-423a-8046-c8e46bb6df3f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:58:03 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] + }, + "ContentHeaders": { + "Content-Length": [ "495" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/12070621-285d-4625-9f78-800f11bdf67d\",\"name\":\"12070621-285d-4625-9f78-800f11bdf67d\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:51:59.9530731Z\",\"endTime\":\"2021-05-13T12:57:54.4584829Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"0c48ceda-e243-4c5e-91c2-fd9b1f83c025\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false + } + }, + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01\u0026operationResultResponseType=Location+43": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/12070621-285d-4625-9f78-800f11bdf67d?api-version=2021-01-01\u0026operationResultResponseType=Location", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "149" ], + "x-ms-client-request-id": [ "a2bb0e65-a360-4ed3-a98a-39b1bf7e0e15" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "9ec80562-5523-4651-8422-3f5629a75d71" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "ee59be08-f481-47f1-ae70-f7485b0a3083" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125804Z:ee59be08-f481-47f1-ae70-f7485b0a3083" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:58:03 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] + }, + "ContentHeaders": { + "Content-Length": [ "0" ], + "Expires": [ "-1" ] + }, + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/New-AzKustoCluster.Tests.ps1 b/src/Kusto/test/New-AzKustoCluster.Tests.ps1 index 46d14254d93f..2c276a3212d6 100644 --- a/src/Kusto/test/New-AzKustoCluster.Tests.ps1 +++ b/src/Kusto/test/New-AzKustoCluster.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoCluster.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'New-AzKustoCluster' { + BeforeAll { + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoCluster.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'CreateExpanded' { $name = "testcluster" + $env.rstr4 $clusterCreated = New-AzKustoCluster -ResourceGroupName $env.resourceGroupName -Name $name -Location $env.location -SkuName $env.skuName -SkuTier $env.skuTier diff --git a/src/Kusto/test/New-AzKustoClusterPrincipalAssignment.Recording.json b/src/Kusto/test/New-AzKustoClusterPrincipalAssignment.Recording.json index 234261ba6cdc..cbc4a36f981f 100644 --- a/src/Kusto/test/New-AzKustoClusterPrincipalAssignment.Recording.json +++ b/src/Kusto/test/New-AzKustoClusterPrincipalAssignment.Recording.json @@ -1,9 +1,10 @@ { - "New-AzKustoClusterPrincipalAssignment+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"principalId\": \"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\r\n \"principalType\": \"App\",\r\n \"role\": \"AllDatabasesViewer\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"principalId\": \"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\r\n \"role\": \"AllDatabasesViewer\",\r\n \"principalType\": \"App\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,41 +15,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "57cbc89c-1819-4d23-86c7-7fa598db3509" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/1855da6c-2efe-4f9d-b1f4-0a0076e9fa6b?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "00a112f9-6c1e-41ce-9f0a-fabf3ed52045" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6529764e-02f8-44f6-a41c-5e1b132fa96f?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "a3d6162c-7ea5-4f9a-9675-b7c87a2d679e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184702Z:a3d6162c-7ea5-4f9a-9675-b7c87a2d679e" ], + "x-ms-correlation-request-id": [ "29a14017-a70b-455b-ab8a-391feeb80a6c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T125940Z:29a14017-a70b-455b-ab8a-391feeb80a6c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:47:02 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 12:59:40 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "452" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1\",\"name\":\"testclustermlhoe5/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"principalType\":\"App\",\"role\":\"AllDatabasesViewer\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1\",\"name\":\"testclusterqlp6ob/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"AllDatabasesViewer\",\"principalType\":\"App\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "New-AzKustoClusterPrincipalAssignment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/1855da6c-2efe-4f9d-b1f4-0a0076e9fa6b?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6529764e-02f8-44f6-a41c-5e1b132fa96f?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/1855da6c-2efe-4f9d-b1f4-0a0076e9fa6b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6529764e-02f8-44f6-a41c-5e1b132fa96f?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "288", "289" ], - "x-ms-client-request-id": [ "b78a05e0-5c43-443f-81a0-eae990b5b699", "b78a05e0-5c43-443f-81a0-eae990b5b699" ], - "CommandName": [ "New-AzKustoClusterPrincipalAssignment", "New-AzKustoClusterPrincipalAssignment" ], - "FullCommandName": [ "New-AzKustoClusterPrincipalAssignment_CreateExpanded", "New-AzKustoClusterPrincipalAssignment_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "151" ], + "x-ms-client-request-id": [ "7c0f65f1-fbba-4158-8364-b89a54888eed" ], + "CommandName": [ "New-AzKustoClusterPrincipalAssignment" ], + "FullCommandName": [ "New-AzKustoClusterPrincipalAssignment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -56,40 +58,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "097ee89d-93bc-4c9a-ab53-10e40de14039" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c89f1c4a-077d-462d-bdd4-f487ba1580a6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184732Z:c89f1c4a-077d-462d-bdd4-f487ba1580a6" ], + "x-ms-request-id": [ "730df1d9-9656-4503-b724-8682008d69d3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "291" ], + "x-ms-correlation-request-id": [ "83b85c78-ef0c-4b97-b757-d3723a358796" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130010Z:83b85c78-ef0c-4b97-b757-d3723a358796" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:47:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:00:09 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "512" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/1855da6c-2efe-4f9d-b1f4-0a0076e9fa6b\",\"name\":\"1855da6c-2efe-4f9d-b1f4-0a0076e9fa6b\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:47:02.4375393Z\",\"endTime\":\"2020-10-26T18:47:03.8906037Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServicePrincipalAssignmentsAdd\",\"RootActivityId\":\"623e12d0-c2b0-4a3a-8819-505dbb33b760\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6529764e-02f8-44f6-a41c-5e1b132fa96f\",\"name\":\"6529764e-02f8-44f6-a41c-5e1b132fa96f\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T12:59:40.4287045Z\",\"endTime\":\"2021-05-13T12:59:42.9912693Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServicePrincipalAssignmentsAdd\",\"RootActivityId\":\"7d6c4455-fae6-4ba9-befa-5559c05c6328\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoClusterPrincipalAssignment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "288", "289", "290" ], - "x-ms-client-request-id": [ "b78a05e0-5c43-443f-81a0-eae990b5b699", "b78a05e0-5c43-443f-81a0-eae990b5b699", "b78a05e0-5c43-443f-81a0-eae990b5b699" ], - "CommandName": [ "New-AzKustoClusterPrincipalAssignment", "New-AzKustoClusterPrincipalAssignment", "New-AzKustoClusterPrincipalAssignment" ], - "FullCommandName": [ "New-AzKustoClusterPrincipalAssignment_CreateExpanded", "New-AzKustoClusterPrincipalAssignment_CreateExpanded", "New-AzKustoClusterPrincipalAssignment_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "152" ], + "x-ms-client-request-id": [ "7c0f65f1-fbba-4158-8364-b89a54888eed" ], + "CommandName": [ "New-AzKustoClusterPrincipalAssignment" ], + "FullCommandName": [ "New-AzKustoClusterPrincipalAssignment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -97,36 +99,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8e3b50be-c444-4fae-9c66-b4051459415a" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "b619fcaf-a789-47fc-87cd-29e6f101cf6d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f8827d5b-ce5b-430b-8e79-309f620904b4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184733Z:f8827d5b-ce5b-430b-8e79-309f620904b4" ], + "x-ms-correlation-request-id": [ "709c3113-ba23-4a35-b60e-f07537a69eff" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130011Z:709c3113-ba23-4a35-b60e-f07537a69eff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:47:33 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:00:11 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "570" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1\",\"name\":\"testclustermlhoe5/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"AllDatabasesViewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"lugoldbekusto\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1\",\"name\":\"testclusterqlp6ob/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"AllDatabasesViewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"lugoldbekusto\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "New-AzKustoClusterPrincipalAssignment+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "291" ], - "x-ms-client-request-id": [ "f51a61b3-6050-47c7-844d-765bbae8c2b3" ], + "x-ms-unique-id": [ "153" ], + "x-ms-client-request-id": [ "5091787b-21e4-4191-a8e5-18d8b00ff703" ], "CommandName": [ "Remove-AzKustoClusterPrincipalAssignment" ], "FullCommandName": [ "Remove-AzKustoClusterPrincipalAssignment_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -139,40 +141,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/82803b85-6499-4139-9709-904d7cbac129?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/82803b85-6499-4139-9709-904d7cbac129?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], - "x-ms-request-id": [ "08177c25-33c6-4da7-bbd7-f826db83f65f" ], - "x-ms-correlation-request-id": [ "08177c25-33c6-4da7-bbd7-f826db83f65f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184734Z:08177c25-33c6-4da7-bbd7-f826db83f65f" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/73804016-7548-486b-bb8f-a7df34e59f93?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-request-id": [ "ac2406cc-6e73-4f31-8f17-f020f4db721e" ], + "x-ms-correlation-request-id": [ "ac2406cc-6e73-4f31-8f17-f020f4db721e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130012Z:ac2406cc-6e73-4f31-8f17-f020f4db721e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:47:33 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:00:12 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/73804016-7548-486b-bb8f-a7df34e59f93?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "New-AzKustoClusterPrincipalAssignment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/82803b85-6499-4139-9709-904d7cbac129?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/73804016-7548-486b-bb8f-a7df34e59f93?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/82803b85-6499-4139-9709-904d7cbac129?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/73804016-7548-486b-bb8f-a7df34e59f93?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "291", "292" ], - "x-ms-client-request-id": [ "f51a61b3-6050-47c7-844d-765bbae8c2b3", "f51a61b3-6050-47c7-844d-765bbae8c2b3" ], - "CommandName": [ "Remove-AzKustoClusterPrincipalAssignment", "Remove-AzKustoClusterPrincipalAssignment" ], - "FullCommandName": [ "Remove-AzKustoClusterPrincipalAssignment_Delete", "Remove-AzKustoClusterPrincipalAssignment_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "154" ], + "x-ms-client-request-id": [ "5091787b-21e4-4191-a8e5-18d8b00ff703" ], + "CommandName": [ "Remove-AzKustoClusterPrincipalAssignment" ], + "FullCommandName": [ "Remove-AzKustoClusterPrincipalAssignment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -180,40 +183,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "5b4ec3af-1216-477a-a004-45330ad64de7" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "2a4578a8-ee22-4a61-9ccc-908e21761238" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184804Z:2a4578a8-ee22-4a61-9ccc-908e21761238" ], + "x-ms-request-id": [ "ff4fde01-a625-435d-ae26-39a7de5ade12" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "395df6c8-dc66-4cf4-ae7d-321371ad0bb3" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130042Z:395df6c8-dc66-4cf4-ae7d-321371ad0bb3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:48:03 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:00:41 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "513" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/82803b85-6499-4139-9709-904d7cbac129\",\"name\":\"82803b85-6499-4139-9709-904d7cbac129\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:47:34.3385444Z\",\"endTime\":\"2020-10-26T18:47:35.3777772Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServicePrincipalAssignmentsDrop\",\"RootActivityId\":\"2178f95b-1f91-4506-8072-a44c38f77e1b\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/73804016-7548-486b-bb8f-a7df34e59f93\",\"name\":\"73804016-7548-486b-bb8f-a7df34e59f93\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:00:12.1332316Z\",\"endTime\":\"2021-05-13T13:00:14.4926097Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServicePrincipalAssignmentsDrop\",\"RootActivityId\":\"19cef7e4-1bbc-4d50-a22a-5fef57ae57a3\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoClusterPrincipalAssignment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/82803b85-6499-4139-9709-904d7cbac129?api-version=2020-09-18\u0026operationResultResponseType=Location+6": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/73804016-7548-486b-bb8f-a7df34e59f93?api-version=2021-01-01\u0026operationResultResponseType=Location+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/82803b85-6499-4139-9709-904d7cbac129?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/73804016-7548-486b-bb8f-a7df34e59f93?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "291", "292", "293" ], - "x-ms-client-request-id": [ "f51a61b3-6050-47c7-844d-765bbae8c2b3", "f51a61b3-6050-47c7-844d-765bbae8c2b3", "f51a61b3-6050-47c7-844d-765bbae8c2b3" ], - "CommandName": [ "Remove-AzKustoClusterPrincipalAssignment", "Remove-AzKustoClusterPrincipalAssignment", "Remove-AzKustoClusterPrincipalAssignment" ], - "FullCommandName": [ "Remove-AzKustoClusterPrincipalAssignment_Delete", "Remove-AzKustoClusterPrincipalAssignment_Delete", "Remove-AzKustoClusterPrincipalAssignment_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "155" ], + "x-ms-client-request-id": [ "5091787b-21e4-4191-a8e5-18d8b00ff703" ], + "CommandName": [ "Remove-AzKustoClusterPrincipalAssignment" ], + "FullCommandName": [ "Remove-AzKustoClusterPrincipalAssignment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -221,23 +224,23 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a44f4a37-6254-4941-ac4f-03ba6aaa1da5" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-correlation-request-id": [ "0c8106ea-75cb-40cf-9815-5b52db126576" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184804Z:0c8106ea-75cb-40cf-9815-5b52db126576" ], + "x-ms-request-id": [ "004fbaf0-e092-40db-9024-bca462a4cc4a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "57566a38-cc9b-4d3d-b2e8-ef1954a3432a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130042Z:57566a38-cc9b-4d3d-b2e8-ef1954a3432a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:48:03 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:00:41 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/New-AzKustoClusterPrincipalAssignment.Tests.ps1 b/src/Kusto/test/New-AzKustoClusterPrincipalAssignment.Tests.ps1 index b57a70c0d6a7..93cdd770de02 100644 --- a/src/Kusto/test/New-AzKustoClusterPrincipalAssignment.Tests.ps1 +++ b/src/Kusto/test/New-AzKustoClusterPrincipalAssignment.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoClusterPrincipalAssignment.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'New-AzKustoClusterPrincipalAssignment' { + BeforeAll { + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoClusterPrincipalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'CreateExpanded' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/New-AzKustoDataConnection.Recording.json b/src/Kusto/test/New-AzKustoDataConnection.Recording.json index 4dd26a5b82a7..b9dae1c7ca12 100644 --- a/src/Kusto/test/New-AzKustoDataConnection.Recording.json +++ b/src/Kusto/test/New-AzKustoDataConnection.Recording.json @@ -1,9 +1,10 @@ { - "New-AzKustoDataConnection+[NoContext]+CreateExpandedEventHub+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CreateExpandedEventHub+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"EventHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"compression\": \"None\",\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventHub\",\r\n \"properties\": {\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\r\n \"consumerGroup\": \"$Default\",\r\n \"compression\": \"None\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,41 +15,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "0d1f94e4-a8ac-4894-8d4d-fc01031ff277" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/eb2c8507-76c9-495e-a275-7bd7709d2cfb?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "dd3232f5-474b-47f6-9153-6bba701f8d6c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174719Z:dd3232f5-474b-47f6-9153-6bba701f8d6c" ], + "x-ms-request-id": [ "36118699-d27b-4692-b1dd-0aaf7065b45c" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/deca4ede-644e-44d3-8643-847bfb0de234?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-correlation-request-id": [ "743c6ba5-1277-400c-9e28-ecd652035d92" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160549Z:743c6ba5-1277-400c-9e28-ecd652035d92" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:47:18 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:05:48 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "678" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"properties\":{\"compression\":\"None\",\"consumerGroup\":\"$Default\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"compression\":\"None\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "New-AzKustoDataConnection+[NoContext]+CreateExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/eb2c8507-76c9-495e-a275-7bd7709d2cfb?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CreateExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/deca4ede-644e-44d3-8643-847bfb0de234?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/eb2c8507-76c9-495e-a275-7bd7709d2cfb?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/deca4ede-644e-44d3-8643-847bfb0de234?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "95", "96" ], - "x-ms-client-request-id": [ "d506eb0c-86ef-4b4a-9bbd-77a036ad982f", "d506eb0c-86ef-4b4a-9bbd-77a036ad982f" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection" ], - "FullCommandName": [ "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "449" ], + "x-ms-client-request-id": [ "ef29d22c-5774-4b11-b567-668d9b5f5941" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection" ], + "FullCommandName": [ "New-AzKustoDataConnection_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -56,40 +58,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "9456c2d1-3e03-497d-863e-556ca30493f3" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5ffd5a18-5481-4a6d-bfe7-327f92767167" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174750Z:5ffd5a18-5481-4a6d-bfe7-327f92767167" ], + "x-ms-request-id": [ "aacf419c-df73-4561-b3b0-792989df62fe" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "eb34d01f-fb54-4975-b466-17e63f4f72cd" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160619Z:eb34d01f-fb54-4975-b466-17e63f4f72cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:47:50 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:06:19 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "357" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/eb2c8507-76c9-495e-a275-7bd7709d2cfb\",\"name\":\"eb2c8507-76c9-495e-a275-7bd7709d2cfb\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T17:47:19.6756504Z\",\"endTime\":\"2020-10-26T17:47:29.4427465Z\",\"percentComplete\":1.0,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/deca4ede-644e-44d3-8643-847bfb0de234\",\"name\":\"deca4ede-644e-44d3-8643-847bfb0de234\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T16:05:49.2760838Z\",\"endTime\":\"2021-05-13T16:05:52.1513462Z\",\"percentComplete\":1.0,\"properties\":{}}", + "isContentBase64": false } }, - "New-AzKustoDataConnection+[NoContext]+CreateExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+CreateExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "95", "96", "97" ], - "x-ms-client-request-id": [ "d506eb0c-86ef-4b4a-9bbd-77a036ad982f", "d506eb0c-86ef-4b4a-9bbd-77a036ad982f", "d506eb0c-86ef-4b4a-9bbd-77a036ad982f" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection" ], - "FullCommandName": [ "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "450" ], + "x-ms-client-request-id": [ "ef29d22c-5774-4b11-b567-668d9b5f5941" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection" ], + "FullCommandName": [ "New-AzKustoDataConnection_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -97,33 +99,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "aedf8de3-ec89-4a87-9448-13233e0aa01c" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9e02d168-35f7-4ec6-a35c-8db42f5517c4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174751Z:9e02d168-35f7-4ec6-a35c-8db42f5517c4" ], + "x-ms-request-id": [ "a80bd906-095a-4c1d-b229-eeea680502c7" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "38fb3fad-58cf-4a30-9de3-4c5f633f39c2" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160620Z:38fb3fad-58cf-4a30-9de3-4c5f633f39c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:47:50 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:06:20 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "768" ], + "Content-Length": [ "801" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":\"\",\"mappingRuleName\":\"\",\"dataFormat\":\"\",\"eventSystemProperties\":[],\"compression\":\"None\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":\"\",\"mappingRuleName\":\"\",\"dataFormat\":\"\",\"eventSystemProperties\":[],\"compression\":\"None\",\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "New-AzKustoDataConnection+[NoContext]+CreateExpandedEventGrid+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CreateExpandedEventGrid+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"EventGrid\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\r\n \"storageAccountResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventGrid\",\r\n \"properties\": {\r\n \"storageAccountResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\r\n \"consumerGroup\": \"$Default\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -134,41 +136,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "9e0163ae-138c-4cea-bc08-f36f89053671" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/3ea6e935-1ae0-4c58-a7d0-1389e3087a38?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "0b0b38c1-c61d-403c-bccb-39efcbb52aea" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174753Z:0b0b38c1-c61d-403c-bccb-39efcbb52aea" ], + "x-ms-request-id": [ "1fa5ca8c-6398-4351-b479-63731f753a3a" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/72ed023a-387a-4286-9a43-bccba59e2aa7?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-correlation-request-id": [ "b00704aa-3842-4201-8c90-c1e57ddb9812" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160622Z:b00704aa-3842-4201-8c90-c1e57ddb9812" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:47:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:06:22 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "828" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5g\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"properties\":{\"consumerGroup\":\"$Default\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obg\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "New-AzKustoDataConnection+[NoContext]+CreateExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/3ea6e935-1ae0-4c58-a7d0-1389e3087a38?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CreateExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/72ed023a-387a-4286-9a43-bccba59e2aa7?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/3ea6e935-1ae0-4c58-a7d0-1389e3087a38?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/72ed023a-387a-4286-9a43-bccba59e2aa7?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "98", "99" ], - "x-ms-client-request-id": [ "c48a5358-aa56-41cb-b700-b7e222cdbb69", "c48a5358-aa56-41cb-b700-b7e222cdbb69" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection" ], - "FullCommandName": [ "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "452" ], + "x-ms-client-request-id": [ "5ba5ee02-a72d-4dd5-908c-33429cdc52f6" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection" ], + "FullCommandName": [ "New-AzKustoDataConnection_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -176,40 +179,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "2f163524-c89a-4c5d-a1b9-45447efc548b" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "467d5c0c-2e24-44ed-a7e3-721725a361da" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174824Z:467d5c0c-2e24-44ed-a7e3-721725a361da" ], + "x-ms-request-id": [ "1e2c433b-fe66-4825-80e2-c9ea6a9daff1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], + "x-ms-correlation-request-id": [ "dea63eb7-f9ca-42ff-a182-9cbd9c5bbd95" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160653Z:dea63eb7-f9ca-42ff-a182-9cbd9c5bbd95" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:48:23 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:06:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "357" ], + "Content-Length": [ "356" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/3ea6e935-1ae0-4c58-a7d0-1389e3087a38\",\"name\":\"3ea6e935-1ae0-4c58-a7d0-1389e3087a38\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T17:47:53.3511083Z\",\"endTime\":\"2020-10-26T17:47:59.2331348Z\",\"percentComplete\":1.0,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/72ed023a-387a-4286-9a43-bccba59e2aa7\",\"name\":\"72ed023a-387a-4286-9a43-bccba59e2aa7\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T16:06:22.6250491Z\",\"endTime\":\"2021-05-13T16:06:27.828556Z\",\"percentComplete\":1.0,\"properties\":{}}", + "isContentBase64": false } }, - "New-AzKustoDataConnection+[NoContext]+CreateExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+CreateExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "98", "99", "100" ], - "x-ms-client-request-id": [ "c48a5358-aa56-41cb-b700-b7e222cdbb69", "c48a5358-aa56-41cb-b700-b7e222cdbb69", "c48a5358-aa56-41cb-b700-b7e222cdbb69" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection" ], - "FullCommandName": [ "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "453" ], + "x-ms-client-request-id": [ "5ba5ee02-a72d-4dd5-908c-33429cdc52f6" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection" ], + "FullCommandName": [ "New-AzKustoDataConnection_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -217,33 +220,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "0fa36262-e420-42d4-b5a2-e493b82e7f08" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d628b4a9-6b99-4ff9-8c21-f7e07617a02a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174824Z:d628b4a9-6b99-4ff9-8c21-f7e07617a02a" ], + "x-ms-request-id": [ "4ca20ef3-6386-408e-aa9a-843ca3baf429" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "ddd6d738-dbc3-427e-a906-7a118c8b854d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160654Z:ddd6d738-dbc3-427e-a906-7a118c8b854d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:48:24 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:06:53 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "978" ], + "Content-Length": [ "1011" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5g\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"ignoreFirstRecord\":false,\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obg\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"ignoreFirstRecord\":false,\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "New-AzKustoDataConnection+[NoContext]+CreateExpandedIotHub+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CreateExpandedIotHub+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"IotHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"consumerGroup\": \"$Default\",\r\n \"iotHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\r\n \"sharedAccessPolicyName\": \"registryRead\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"IotHub\",\r\n \"properties\": {\r\n \"iotHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\r\n \"consumerGroup\": \"$Default\",\r\n \"sharedAccessPolicyName\": \"registryRead\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -254,41 +257,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "28a95957-14c7-4f68-9ee7-6db3b91e562f" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/c919c119-4ab8-4704-8e0a-ab642a046afb?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-correlation-request-id": [ "820974e6-94e0-4ed1-b22e-b3b404bd1f93" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174827Z:820974e6-94e0-4ed1-b22e-b3b404bd1f93" ], + "x-ms-request-id": [ "2986d73f-36f6-43ad-ba42-412191b6fe4e" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/b85feea3-e47c-47ee-b19a-9a51ed2566b4?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], + "x-ms-correlation-request-id": [ "012687b4-235a-4681-bce9-eb454df8699c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160656Z:012687b4-235a-4681-bce9-eb454df8699c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:48:26 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:06:55 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "670" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5h\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"properties\":{\"consumerGroup\":\"$Default\",\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obh\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "New-AzKustoDataConnection+[NoContext]+CreateExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/c919c119-4ab8-4704-8e0a-ab642a046afb?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CreateExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/b85feea3-e47c-47ee-b19a-9a51ed2566b4?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/c919c119-4ab8-4704-8e0a-ab642a046afb?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/b85feea3-e47c-47ee-b19a-9a51ed2566b4?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "101", "102" ], - "x-ms-client-request-id": [ "693b2fc0-4929-4543-b89d-22641dc304e3", "693b2fc0-4929-4543-b89d-22641dc304e3" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection" ], - "FullCommandName": [ "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "455" ], + "x-ms-client-request-id": [ "06cf5d7f-f64d-4f05-863e-eb2e23204632" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection" ], + "FullCommandName": [ "New-AzKustoDataConnection_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -296,40 +300,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "cc79d17c-79ff-4f0f-84bb-d0b607ea9ca2" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "711e3e6c-609c-4641-be01-d2121b0a52b1" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174857Z:711e3e6c-609c-4641-be01-d2121b0a52b1" ], + "x-ms-request-id": [ "13624b30-724d-49b9-b57d-81d2314ddff8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], + "x-ms-correlation-request-id": [ "8aca7f5a-72c5-4314-b25b-b37e3f9d2c87" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160726Z:8aca7f5a-72c5-4314-b25b-b37e3f9d2c87" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:48:56 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:07:26 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "357" ], + "Content-Length": [ "356" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/c919c119-4ab8-4704-8e0a-ab642a046afb\",\"name\":\"c919c119-4ab8-4704-8e0a-ab642a046afb\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T17:48:27.1356222Z\",\"endTime\":\"2020-10-26T17:48:29.3233092Z\",\"percentComplete\":1.0,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/b85feea3-e47c-47ee-b19a-9a51ed2566b4\",\"name\":\"b85feea3-e47c-47ee-b19a-9a51ed2566b4\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T16:06:56.0338316Z\",\"endTime\":\"2021-05-13T16:06:58.237117Z\",\"percentComplete\":1.0,\"properties\":{}}", + "isContentBase64": false } }, - "New-AzKustoDataConnection+[NoContext]+CreateExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+CreateExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "101", "102", "103" ], - "x-ms-client-request-id": [ "693b2fc0-4929-4543-b89d-22641dc304e3", "693b2fc0-4929-4543-b89d-22641dc304e3", "693b2fc0-4929-4543-b89d-22641dc304e3" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection" ], - "FullCommandName": [ "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "456" ], + "x-ms-client-request-id": [ "06cf5d7f-f64d-4f05-863e-eb2e23204632" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection" ], + "FullCommandName": [ "New-AzKustoDataConnection_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -337,26 +341,25 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], - "x-ms-request-id": [ "ed469cd0-640a-4189-aca6-6a0266ffc632" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d0fec1c9-f129-4a4a-b24d-c45a4367f5df" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T174859Z:d0fec1c9-f129-4a4a-b24d-c45a4367f5df" ], + "x-ms-request-id": [ "da17af47-deaf-41ff-8661-b5f3576f3684" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "50cbcdeb-7624-4c18-91a5-eb9f8e893940" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160727Z:50cbcdeb-7624-4c18-91a5-eb9f8e893940" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 17:48:58 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:07:27 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "760" ], + "Content-Length": [ "793" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5h\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"tableName\":\"\",\"mappingRuleName\":\"\",\"dataFormat\":\"\",\"eventSystemProperties\":[],\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obh\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"tableName\":\"\",\"mappingRuleName\":\"\",\"dataFormat\":\"\",\"eventSystemProperties\":[],\"sharedAccessPolicyName\":\"registryRead\",\"ManagedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/New-AzKustoDataConnection.Tests.ps1 b/src/Kusto/test/New-AzKustoDataConnection.Tests.ps1 index b1bbb842d6fd..86d6b6782486 100644 --- a/src/Kusto/test/New-AzKustoDataConnection.Tests.ps1 +++ b/src/Kusto/test/New-AzKustoDataConnection.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoDataConnection.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'New-AzKustoDataConnection' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoDataConnection.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'CreateExpandedEventHub' { $subscriptionId = $env.SubscriptionId $location = $env.locationfordc diff --git a/src/Kusto/test/New-AzKustoDatabase.Recording.json b/src/Kusto/test/New-AzKustoDatabase.Recording.json index 113df8d60c13..a205f5a39cf5 100644 --- a/src/Kusto/test/New-AzKustoDatabase.Recording.json +++ b/src/Kusto/test/New-AzKustoDatabase.Recording.json @@ -1,9 +1,10 @@ { - "New-AzKustoDatabase+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadWrite\",\r\n \"location\": \"East US\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadWrite\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,41 +15,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "20499eea-e902-4348-a726-8c92542766ad" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3c53959f-af80-4698-9d57-e78540f8d9eb?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-correlation-request-id": [ "a9cdee59-fb17-449c-8567-8a434c0c197f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184805Z:a9cdee59-fb17-449c-8567-8a434c0c197f" ], + "x-ms-request-id": [ "d005da49-2bcf-4e00-aff2-0265e4dc8b61" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2c9418a3-5ada-4e4d-856f-41668d3bcadb?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-correlation-request-id": [ "0e6419e2-f757-4773-8386-c5d00068aca4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130050Z:0e6419e2-f757-4773-8386-c5d00068aca4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:48:04 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:00:50 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "363" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp\",\"name\":\"testclustermlhoe5/testdatabase46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o\",\"name\":\"testclusterqlp6ob/testdatabase9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3c53959f-af80-4698-9d57-e78540f8d9eb?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2c9418a3-5ada-4e4d-856f-41668d3bcadb?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3c53959f-af80-4698-9d57-e78540f8d9eb?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2c9418a3-5ada-4e4d-856f-41668d3bcadb?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "294", "295" ], - "x-ms-client-request-id": [ "4a20046b-9bf4-4ecb-97cf-78ac795beb7c", "4a20046b-9bf4-4ecb-97cf-78ac795beb7c" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "157" ], + "x-ms-client-request-id": [ "9ceea0bb-c8b0-441a-a585-a56c74342dd8" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -56,40 +58,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "55a45560-df9e-4615-bb84-94b14218c29b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d7106fdf-7101-4ca4-a21a-1c62f046d7cd" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184836Z:d7106fdf-7101-4ca4-a21a-1c62f046d7cd" ], + "x-ms-request-id": [ "dee1bac0-70cb-4266-aeb0-e14ec03dccc3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "69c8bc34-3582-45bc-9dc3-c705aebf790c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130121Z:69c8bc34-3582-45bc-9dc3-c705aebf790c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:48:35 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:01:20 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3c53959f-af80-4698-9d57-e78540f8d9eb\",\"name\":\"3c53959f-af80-4698-9d57-e78540f8d9eb\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:48:05.8212809Z\",\"endTime\":\"2020-10-26T18:48:06.8838306Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"b05a95d8-e2fb-4870-8b98-df8523f48b0a\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/2c9418a3-5ada-4e4d-856f-41668d3bcadb\",\"name\":\"2c9418a3-5ada-4e4d-856f-41668d3bcadb\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:00:50.8105301Z\",\"endTime\":\"2021-05-13T13:00:53.2323549Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"1f71c486-4416-4613-bf33-7c0f941c47b0\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "294", "295", "296" ], - "x-ms-client-request-id": [ "4a20046b-9bf4-4ecb-97cf-78ac795beb7c", "4a20046b-9bf4-4ecb-97cf-78ac795beb7c", "4a20046b-9bf4-4ecb-97cf-78ac795beb7c" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "158" ], + "x-ms-client-request-id": [ "9ceea0bb-c8b0-441a-a585-a56c74342dd8" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -97,36 +99,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "53dc34c3-0a68-48fc-8021-e706be0ed80a" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "aadbb8fa-3a1f-4c77-b0d5-79713371f144" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "282c62dc-ed4f-4507-9eb7-a09d06b66555" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184836Z:282c62dc-ed4f-4507-9eb7-a09d06b66555" ], + "x-ms-correlation-request-id": [ "3bce4ab4-a4e4-4dcf-a250-34f94ac5a050" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130121Z:3bce4ab4-a4e4-4dcf-a250-34f94ac5a050" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:48:36 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:01:20 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp\",\"name\":\"testclustermlhoe5/testdatabase46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o\",\"name\":\"testclusterqlp6ob/testdatabase9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "297" ], - "x-ms-client-request-id": [ "260e3a5d-5a3d-40d3-8c85-19a43a1a687c" ], + "x-ms-unique-id": [ "159" ], + "x-ms-client-request-id": [ "4dab8e94-119e-4172-9ab1-9b8e335f2414" ], "CommandName": [ "Remove-AzKustoDatabase" ], "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -139,40 +141,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/566adcff-0b84-4a9f-bc9f-cff3649ffcea?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/566adcff-0b84-4a9f-bc9f-cff3649ffcea?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14994" ], - "x-ms-request-id": [ "1b04cec5-b92b-4e1c-b97b-d67778ba5fcc" ], - "x-ms-correlation-request-id": [ "1b04cec5-b92b-4e1c-b97b-d67778ba5fcc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184837Z:1b04cec5-b92b-4e1c-b97b-d67778ba5fcc" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/102a5829-c7c8-4469-beab-b23403c01d49?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], + "x-ms-request-id": [ "144725a3-c17c-4b6f-ac00-5145f5ca49a5" ], + "x-ms-correlation-request-id": [ "144725a3-c17c-4b6f-ac00-5145f5ca49a5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130122Z:144725a3-c17c-4b6f-ac00-5145f5ca49a5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:48:36 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:01:21 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/102a5829-c7c8-4469-beab-b23403c01d49?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/566adcff-0b84-4a9f-bc9f-cff3649ffcea?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/102a5829-c7c8-4469-beab-b23403c01d49?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/566adcff-0b84-4a9f-bc9f-cff3649ffcea?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/102a5829-c7c8-4469-beab-b23403c01d49?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "297", "298" ], - "x-ms-client-request-id": [ "260e3a5d-5a3d-40d3-8c85-19a43a1a687c", "260e3a5d-5a3d-40d3-8c85-19a43a1a687c" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "160" ], + "x-ms-client-request-id": [ "4dab8e94-119e-4172-9ab1-9b8e335f2414" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -180,40 +183,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "825866ad-1c91-4318-a667-f71e0403166b" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "edc2fd00-f40a-4721-9217-4ad20598fe87" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184907Z:edc2fd00-f40a-4721-9217-4ad20598fe87" ], + "x-ms-request-id": [ "f219f58b-0862-4521-972d-1153e18f3a5f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "7cdb8817-b0ce-4154-8299-1370e13d2d40" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130152Z:7cdb8817-b0ce-4154-8299-1370e13d2d40" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:49:06 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:01:51 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "495" ], + "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/566adcff-0b84-4a9f-bc9f-cff3649ffcea\",\"name\":\"566adcff-0b84-4a9f-bc9f-cff3649ffcea\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:48:36.9405401Z\",\"endTime\":\"2020-10-26T18:48:39.409244Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"a8343e28-3d00-4bf5-b58f-449e274c51c3\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/102a5829-c7c8-4469-beab-b23403c01d49\",\"name\":\"102a5829-c7c8-4469-beab-b23403c01d49\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:01:22.2011913Z\",\"endTime\":\"2021-05-13T13:01:24.9200814Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"ff095a95-67c7-431f-9b32-00b9ece16d1b\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/566adcff-0b84-4a9f-bc9f-cff3649ffcea?api-version=2020-09-18\u0026operationResultResponseType=Location+6": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/102a5829-c7c8-4469-beab-b23403c01d49?api-version=2021-01-01\u0026operationResultResponseType=Location+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/566adcff-0b84-4a9f-bc9f-cff3649ffcea?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/102a5829-c7c8-4469-beab-b23403c01d49?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "297", "298", "299" ], - "x-ms-client-request-id": [ "260e3a5d-5a3d-40d3-8c85-19a43a1a687c", "260e3a5d-5a3d-40d3-8c85-19a43a1a687c", "260e3a5d-5a3d-40d3-8c85-19a43a1a687c" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "161" ], + "x-ms-client-request-id": [ "4dab8e94-119e-4172-9ab1-9b8e335f2414" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -221,30 +224,31 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "04a4204c-048a-4db7-b327-8889936face3" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-correlation-request-id": [ "40a5007b-dca6-491b-b2e6-98ba4d4b43f9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184907Z:40a5007b-dca6-491b-b2e6-98ba4d4b43f9" ], + "x-ms-request-id": [ "6636df28-dac1-47b5-838e-237fd614ebc0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "f7b4f35c-0731-4eef-b260-8e622006289f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130152Z:f7b4f35c-0731-4eef-b260-8e622006289f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:49:06 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:01:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadWrite\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"hotCachePeriod\": \"P2D\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadWrite\",\r\n \"properties\": {\r\n \"hotCachePeriod\": \"P2D\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -255,41 +259,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "ec6442cb-2e6f-4002-88e3-3ff4381557f2" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/1360c772-d5af-4483-bd11-18afc97b1b38?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], - "x-ms-correlation-request-id": [ "a2858cb6-a7cf-4b1d-9ab3-1dc4b5cd62c9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184908Z:a2858cb6-a7cf-4b1d-9ab3-1dc4b5cd62c9" ], + "x-ms-request-id": [ "dd8319b4-3ae3-4be4-a456-b765b964471d" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3f40861e-03ef-4d42-b493-04a91f73a106?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-correlation-request-id": [ "eca81c5e-14d1-4942-b8eb-420d48268283" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130153Z:eca81c5e-14d1-4942-b8eb-420d48268283" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:49:07 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:01:53 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "386" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1\",\"name\":\"testclustermlhoe5/testdatabasepjs9o1\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"hotCachePeriod\":\"P2D\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq\",\"name\":\"testclusterqlp6ob/testdatabaseksghcq\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"hotCachePeriod\":\"P2D\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/1360c772-d5af-4483-bd11-18afc97b1b38?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3f40861e-03ef-4d42-b493-04a91f73a106?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/1360c772-d5af-4483-bd11-18afc97b1b38?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3f40861e-03ef-4d42-b493-04a91f73a106?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "300", "301" ], - "x-ms-client-request-id": [ "09c67660-6d4e-486e-ad73-8ad02ee17b31", "09c67660-6d4e-486e-ad73-8ad02ee17b31" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "163" ], + "x-ms-client-request-id": [ "c95e8285-6728-4b39-97be-15d41df2d492" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -297,40 +302,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "30a6c53a-4643-4496-a8ea-8b2b97eed603" ], - "x-ms-request-id": [ "25313a38-5e9b-459a-8725-df76a46c658d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184938Z:30a6c53a-4643-4496-a8ea-8b2b97eed603" ], + "x-ms-request-id": [ "66afb2af-2e0f-4944-b546-337225121ce2" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "845bc06b-ca99-4cd1-b262-999dabfb0118" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130224Z:845bc06b-ca99-4cd1-b262-999dabfb0118" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:49:38 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:02:23 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "496" ], + "Content-Length": [ "495" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/1360c772-d5af-4483-bd11-18afc97b1b38\",\"name\":\"1360c772-d5af-4483-bd11-18afc97b1b38\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:49:08.0450115Z\",\"endTime\":\"2020-10-26T18:49:10.9351416Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"c6892136-01b4-48af-8e74-39b2d01b6bbe\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3f40861e-03ef-4d42-b493-04a91f73a106\",\"name\":\"3f40861e-03ef-4d42-b493-04a91f73a106\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:01:53.689696Z\",\"endTime\":\"2021-05-13T13:01:55.4397166Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"a30c838f-69f9-4e69-9181-b7c40e090ae3\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "300", "301", "302" ], - "x-ms-client-request-id": [ "09c67660-6d4e-486e-ad73-8ad02ee17b31", "09c67660-6d4e-486e-ad73-8ad02ee17b31", "09c67660-6d4e-486e-ad73-8ad02ee17b31" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "164" ], + "x-ms-client-request-id": [ "c95e8285-6728-4b39-97be-15d41df2d492" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -338,36 +343,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c416ff13-e143-4e6e-a962-71c6b8ff6a24" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "6f144856-5413-4120-b8cd-1eb301cff8e5" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7c031fe5-522a-4ab1-8334-7244f4e83085" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184939Z:7c031fe5-522a-4ab1-8334-7244f4e83085" ], + "x-ms-correlation-request-id": [ "34b36bdb-3174-4335-aa4e-d8635b2e3513" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130224Z:34b36bdb-3174-4335-aa4e-d8635b2e3513" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:49:39 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:02:24 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "494" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1\",\"name\":\"testclustermlhoe5/testdatabasepjs9o1\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq\",\"name\":\"testclusterqlp6ob/testdatabaseksghcq\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+Create+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+Create+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "303" ], - "x-ms-client-request-id": [ "7c4c8574-8656-4822-ae72-5d7b9403206f" ], + "x-ms-unique-id": [ "165" ], + "x-ms-client-request-id": [ "58d9a96a-3d56-4b3b-87d3-20f19b839373" ], "CommandName": [ "Remove-AzKustoDatabase" ], "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -380,40 +385,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/22d39013-a99d-4032-868a-73234e8c5c7c?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/22d39013-a99d-4032-868a-73234e8c5c7c?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14993" ], - "x-ms-request-id": [ "4c64a504-f416-44c9-9f69-6b23beacf4a0" ], - "x-ms-correlation-request-id": [ "4c64a504-f416-44c9-9f69-6b23beacf4a0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T184939Z:4c64a504-f416-44c9-9f69-6b23beacf4a0" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/42649114-4bfb-46ea-ba7c-e76b1528be44?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], + "x-ms-request-id": [ "6bc4198f-d019-4b73-b1b6-e623b9e9287e" ], + "x-ms-correlation-request-id": [ "6bc4198f-d019-4b73-b1b6-e623b9e9287e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130225Z:6bc4198f-d019-4b73-b1b6-e623b9e9287e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:49:39 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:02:24 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/42649114-4bfb-46ea-ba7c-e76b1528be44?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/22d39013-a99d-4032-868a-73234e8c5c7c?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/42649114-4bfb-46ea-ba7c-e76b1528be44?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/22d39013-a99d-4032-868a-73234e8c5c7c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/42649114-4bfb-46ea-ba7c-e76b1528be44?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "303", "304" ], - "x-ms-client-request-id": [ "7c4c8574-8656-4822-ae72-5d7b9403206f", "7c4c8574-8656-4822-ae72-5d7b9403206f" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "166" ], + "x-ms-client-request-id": [ "58d9a96a-3d56-4b3b-87d3-20f19b839373" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -421,40 +427,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "c833a8fc-276a-4e04-a1fb-e0d97b1a2792" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bbceb8dd-96d6-401e-b360-a8084740c422" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185009Z:bbceb8dd-96d6-401e-b360-a8084740c422" ], + "x-ms-request-id": [ "1455b2da-97b2-4969-9885-e37634924c1f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "1347e908-fc7a-4401-8466-72290d4c5477" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130255Z:1347e908-fc7a-4401-8466-72290d4c5477" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:50:09 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:02:55 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "495" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/22d39013-a99d-4032-868a-73234e8c5c7c\",\"name\":\"22d39013-a99d-4032-868a-73234e8c5c7c\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:49:39.6446208Z\",\"endTime\":\"2020-10-26T18:49:43.441663Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"07848d18-5df8-4272-9d36-b5b0520ef9c5\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/42649114-4bfb-46ea-ba7c-e76b1528be44\",\"name\":\"42649114-4bfb-46ea-ba7c-e76b1528be44\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:02:25.002187Z\",\"endTime\":\"2021-05-13T13:02:26.9396362Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"339ec467-edda-4b63-b2e0-e17847e325c5\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabase+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/22d39013-a99d-4032-868a-73234e8c5c7c?api-version=2020-09-18\u0026operationResultResponseType=Location+6": { + "[NoDescription]+[NoContext]+Create+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/42649114-4bfb-46ea-ba7c-e76b1528be44?api-version=2021-01-01\u0026operationResultResponseType=Location+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/22d39013-a99d-4032-868a-73234e8c5c7c?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/42649114-4bfb-46ea-ba7c-e76b1528be44?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "303", "304", "305" ], - "x-ms-client-request-id": [ "7c4c8574-8656-4822-ae72-5d7b9403206f", "7c4c8574-8656-4822-ae72-5d7b9403206f", "7c4c8574-8656-4822-ae72-5d7b9403206f" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "167" ], + "x-ms-client-request-id": [ "58d9a96a-3d56-4b3b-87d3-20f19b839373" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -462,23 +468,23 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "1ef0306e-8a45-4bcd-9718-070c0ff2287a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-correlation-request-id": [ "95e4a522-7675-484a-8dd2-27745d17230a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185010Z:95e4a522-7675-484a-8dd2-27745d17230a" ], + "x-ms-request-id": [ "09d3e550-1890-4868-94d7-8ead06e5c196" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "ef85e7ba-f6bb-4cbb-a351-205c243bfd76" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130255Z:ef85e7ba-f6bb-4cbb-a351-205c243bfd76" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:50:09 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:02:55 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/New-AzKustoDatabase.Tests.ps1 b/src/Kusto/test/New-AzKustoDatabase.Tests.ps1 index ba174036a6ec..614c8ea4ae99 100644 --- a/src/Kusto/test/New-AzKustoDatabase.Tests.ps1 +++ b/src/Kusto/test/New-AzKustoDatabase.Tests.ps1 @@ -1,19 +1,22 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoDatabase.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'New-AzKustoDatabase' { + + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoDatabase.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } + It 'CreateExpanded' { $name = "testdatabase" + $env.rstr4 $databaseFullName = $env.clusterName + "/" + $name diff --git a/src/Kusto/test/New-AzKustoDatabasePrincipalAssignment.Recording.json b/src/Kusto/test/New-AzKustoDatabasePrincipalAssignment.Recording.json index c8b212c2b10f..bb0b38ec02df 100644 --- a/src/Kusto/test/New-AzKustoDatabasePrincipalAssignment.Recording.json +++ b/src/Kusto/test/New-AzKustoDatabasePrincipalAssignment.Recording.json @@ -1,9 +1,10 @@ { - "New-AzKustoDatabasePrincipalAssignment+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"principalId\": \"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\r\n \"principalType\": \"App\",\r\n \"role\": \"Viewer\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"principalId\": \"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\r\n \"role\": \"Viewer\",\r\n \"principalType\": \"App\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,41 +15,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "eb164034-9d2e-4302-a408-535ecf8d15ed" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/86e038e2-8716-45f1-b549-31e2e5e2c36d?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "0dd7e7ba-b975-474e-bfdf-356f0724b9d5" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/977b8980-e4a5-4550-a4e2-f09271998d78?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "227b38b9-cf9c-421b-9027-55a165e8500f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185012Z:227b38b9-cf9c-421b-9027-55a165e8500f" ], + "x-ms-correlation-request-id": [ "cf902b74-30ee-4cc0-81e7-5e162083354a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130348Z:cf902b74-30ee-4cc0-81e7-5e162083354a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:50:12 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:03:47 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"principalType\":\"App\",\"role\":\"Viewer\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"Viewer\",\"principalType\":\"App\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabasePrincipalAssignment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/86e038e2-8716-45f1-b549-31e2e5e2c36d?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/977b8980-e4a5-4550-a4e2-f09271998d78?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/86e038e2-8716-45f1-b549-31e2e5e2c36d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/977b8980-e4a5-4550-a4e2-f09271998d78?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "306", "307" ], - "x-ms-client-request-id": [ "80cd1509-6721-4cf3-a4e2-e7c46053d2fc", "80cd1509-6721-4cf3-a4e2-e7c46053d2fc" ], - "CommandName": [ "New-AzKustoDatabasePrincipalAssignment", "New-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded", "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "169" ], + "x-ms-client-request-id": [ "5d19af12-612d-4782-9728-d410dc356d63" ], + "CommandName": [ "New-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -56,40 +58,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "35914090-a858-4bf0-916c-84fdcb1b5e5a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "4c4de3bc-07cb-478f-bd2e-dcb97d52a118" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185042Z:4c4de3bc-07cb-478f-bd2e-dcb97d52a118" ], + "x-ms-request-id": [ "32b496b1-3c1a-4809-aba3-ca768d0127b6" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "ef284f47-255a-4637-ba3a-998dac96c03a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130418Z:ef284f47-255a-4637-ba3a-998dac96c03a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:50:42 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:04:17 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "503" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/86e038e2-8716-45f1-b549-31e2e5e2c36d\",\"name\":\"86e038e2-8716-45f1-b549-31e2e5e2c36d\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:50:12.3091416Z\",\"endTime\":\"2020-10-26T18:50:12.4185122Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseAddPrincipals\",\"RootActivityId\":\"d74e1623-72fc-4550-ae68-81e4afd062a2\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/977b8980-e4a5-4550-a4e2-f09271998d78\",\"name\":\"977b8980-e4a5-4550-a4e2-f09271998d78\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:03:47.9477345Z\",\"endTime\":\"2021-05-13T13:03:48.2133714Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseAddPrincipals\",\"RootActivityId\":\"d5eaba06-bd80-439d-9970-9d13975cfb14\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabasePrincipalAssignment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "306", "307", "308" ], - "x-ms-client-request-id": [ "80cd1509-6721-4cf3-a4e2-e7c46053d2fc", "80cd1509-6721-4cf3-a4e2-e7c46053d2fc", "80cd1509-6721-4cf3-a4e2-e7c46053d2fc" ], - "CommandName": [ "New-AzKustoDatabasePrincipalAssignment", "New-AzKustoDatabasePrincipalAssignment", "New-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded", "New-AzKustoDatabasePrincipalAssignment_CreateExpanded", "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "170" ], + "x-ms-client-request-id": [ "5d19af12-612d-4782-9728-d410dc356d63" ], + "CommandName": [ "New-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -97,36 +99,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "33060d1a-f43e-4c5b-a5be-5e41f2f6dd88" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "4a3c4620-9fc6-4316-813a-e56b31a3516e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "43cf9129-6886-4bce-8727-0f6f1a3a8f94" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185043Z:43cf9129-6886-4bce-8727-0f6f1a3a8f94" ], + "x-ms-correlation-request-id": [ "c9f3044c-6924-47f9-b0cf-17c802ac10f3" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130419Z:c9f3044c-6924-47f9-b0cf-17c802ac10f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:50:42 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:04:18 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "616" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"Viewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"lugoldbekusto\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"Viewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"lugoldbekusto\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabasePrincipalAssignment+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "309" ], - "x-ms-client-request-id": [ "504b879e-47d0-4ed7-a5b6-dfbc5749269b" ], + "x-ms-unique-id": [ "171" ], + "x-ms-client-request-id": [ "436c8c53-e733-4ae3-9ae4-ad384089f141" ], "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment" ], "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -139,40 +141,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/fddf3539-1972-40c7-b05a-9a5c85686a62?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/fddf3539-1972-40c7-b05a-9a5c85686a62?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], - "x-ms-request-id": [ "78cb0765-811f-4b1a-85b5-9a344a731c4f" ], - "x-ms-correlation-request-id": [ "78cb0765-811f-4b1a-85b5-9a344a731c4f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185043Z:78cb0765-811f-4b1a-85b5-9a344a731c4f" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e4b6a478-0e5f-4ce2-93ed-fea3a18b0c98?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14994" ], + "x-ms-request-id": [ "1bbfecdd-0cfc-4f1b-8993-f36ab27eacba" ], + "x-ms-correlation-request-id": [ "1bbfecdd-0cfc-4f1b-8993-f36ab27eacba" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130420Z:1bbfecdd-0cfc-4f1b-8993-f36ab27eacba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:50:43 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:04:19 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e4b6a478-0e5f-4ce2-93ed-fea3a18b0c98?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "New-AzKustoDatabasePrincipalAssignment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/fddf3539-1972-40c7-b05a-9a5c85686a62?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e4b6a478-0e5f-4ce2-93ed-fea3a18b0c98?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/fddf3539-1972-40c7-b05a-9a5c85686a62?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e4b6a478-0e5f-4ce2-93ed-fea3a18b0c98?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "309", "310" ], - "x-ms-client-request-id": [ "504b879e-47d0-4ed7-a5b6-dfbc5749269b", "504b879e-47d0-4ed7-a5b6-dfbc5749269b" ], - "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment", "Remove-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete", "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "172" ], + "x-ms-client-request-id": [ "436c8c53-e733-4ae3-9ae4-ad384089f141" ], + "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -180,40 +183,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "8598c3c1-258e-487e-9442-dcb60d583974" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d45551b2-1f37-4bc9-b45b-b2fa9cf854c8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185114Z:d45551b2-1f37-4bc9-b45b-b2fa9cf854c8" ], + "x-ms-request-id": [ "7ffc8770-6dc1-43ae-b6be-036ca4f18267" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "0337508a-2547-451b-9ad0-9213cc9b1336" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130450Z:0337508a-2547-451b-9ad0-9213cc9b1336" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:51:13 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:04:50 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "504" ], + "Content-Length": [ "503" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/fddf3539-1972-40c7-b05a-9a5c85686a62\",\"name\":\"fddf3539-1972-40c7-b05a-9a5c85686a62\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:50:43.7024691Z\",\"endTime\":\"2020-10-26T18:50:43.7810331Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDropPrincipals\",\"RootActivityId\":\"f3b2b9bc-f3a3-4cd2-9fa5-bad79faf943e\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e4b6a478-0e5f-4ce2-93ed-fea3a18b0c98\",\"name\":\"e4b6a478-0e5f-4ce2-93ed-fea3a18b0c98\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:04:20.438407Z\",\"endTime\":\"2021-05-13T13:04:20.7040387Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDropPrincipals\",\"RootActivityId\":\"4f73ef91-9101-4cec-984d-63de681b2b9b\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "New-AzKustoDatabasePrincipalAssignment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/fddf3539-1972-40c7-b05a-9a5c85686a62?api-version=2020-09-18\u0026operationResultResponseType=Location+6": { + "[NoDescription]+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e4b6a478-0e5f-4ce2-93ed-fea3a18b0c98?api-version=2021-01-01\u0026operationResultResponseType=Location+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/fddf3539-1972-40c7-b05a-9a5c85686a62?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e4b6a478-0e5f-4ce2-93ed-fea3a18b0c98?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "309", "310", "311" ], - "x-ms-client-request-id": [ "504b879e-47d0-4ed7-a5b6-dfbc5749269b", "504b879e-47d0-4ed7-a5b6-dfbc5749269b", "504b879e-47d0-4ed7-a5b6-dfbc5749269b" ], - "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment", "Remove-AzKustoDatabasePrincipalAssignment", "Remove-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete", "Remove-AzKustoDatabasePrincipalAssignment_Delete", "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "173" ], + "x-ms-client-request-id": [ "436c8c53-e733-4ae3-9ae4-ad384089f141" ], + "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -221,23 +224,23 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "df0f08eb-3d16-4f2b-a874-ef6b946d9973" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-correlation-request-id": [ "333da87a-83e0-44f9-92c6-9bc388ac7ed8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185114Z:333da87a-83e0-44f9-92c6-9bc388ac7ed8" ], + "x-ms-request-id": [ "aec83cbe-c868-40b5-b6ac-f3027e27995d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "fb29fd6f-38cc-46eb-b790-55c6588960d6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130451Z:fb29fd6f-38cc-46eb-b790-55c6588960d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:51:13 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:04:50 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/New-AzKustoDatabasePrincipalAssignment.Tests.ps1 b/src/Kusto/test/New-AzKustoDatabasePrincipalAssignment.Tests.ps1 index 9fd89c1729f8..82ff5ba2fdec 100644 --- a/src/Kusto/test/New-AzKustoDatabasePrincipalAssignment.Tests.ps1 +++ b/src/Kusto/test/New-AzKustoDatabasePrincipalAssignment.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoDatabasePrincipalAssignment.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'New-AzKustoDatabasePrincipalAssignment' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoDatabasePrincipalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'CreateExpanded' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/New-AzKustoScript.Tests.ps1 b/src/Kusto/test/New-AzKustoScript.Tests.ps1 new file mode 100644 index 000000000000..f99e51a287d9 --- /dev/null +++ b/src/Kusto/test/New-AzKustoScript.Tests.ps1 @@ -0,0 +1,25 @@ +Describe 'New-AzKustoScript' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzKustoScript.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Create' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Kusto/test/Remove-AzKustoAttachedDatabaseConfiguration.Recording.json b/src/Kusto/test/Remove-AzKustoAttachedDatabaseConfiguration.Recording.json index d1dad3fa0f6e..a61ee8379ca5 100644 --- a/src/Kusto/test/Remove-AzKustoAttachedDatabaseConfiguration.Recording.json +++ b/src/Kusto/test/Remove-AzKustoAttachedDatabaseConfiguration.Recording.json @@ -1,9 +1,10 @@ { - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadWrite\",\r\n \"location\": \"East US\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadWrite\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,41 +15,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "52688fb9-2702-4604-a120-4778b6dbf071" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6bb9a88c-2e8c-4364-987b-40f7dafcf278?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], - "x-ms-correlation-request-id": [ "8b22ae3f-88bc-49ef-8bff-7c7cf7baac10" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185115Z:8b22ae3f-88bc-49ef-8bff-7c7cf7baac10" ], + "x-ms-request-id": [ "d8f3025d-55b8-4a15-9f93-8e0d3ec3d516" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7105d748-4a1c-488c-8bf5-7ac0f6adb16a?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], + "x-ms-correlation-request-id": [ "edfea1d7-333c-427b-b872-02d7cffd52a3" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130704Z:edfea1d7-333c-427b-b872-02d7cffd52a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:51:14 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:07:04 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "363" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1\",\"name\":\"testclustermlhoe5/testdatabasepjs9o1\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq\",\"name\":\"testclusterqlp6ob/testdatabaseksghcq\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6bb9a88c-2e8c-4364-987b-40f7dafcf278?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7105d748-4a1c-488c-8bf5-7ac0f6adb16a?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6bb9a88c-2e8c-4364-987b-40f7dafcf278?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7105d748-4a1c-488c-8bf5-7ac0f6adb16a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "312", "313" ], - "x-ms-client-request-id": [ "2e4742f9-7526-4cc7-b78e-82af118674bb", "2e4742f9-7526-4cc7-b78e-82af118674bb" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "184" ], + "x-ms-client-request-id": [ "6dc3f899-a649-41ce-b023-aa97aa2daba7" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -56,40 +58,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "bd5ebfc9-7ea4-4bbf-8a35-d701d42c6aed" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9b0c826e-23b5-4ed6-9876-2e51ef0d5edd" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185145Z:9b0c826e-23b5-4ed6-9876-2e51ef0d5edd" ], + "x-ms-request-id": [ "105a29b6-c3d7-4349-8062-66b5b57d909c" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "036647eb-b545-4060-af56-8af5752a66ca" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130735Z:036647eb-b545-4060-af56-8af5752a66ca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:51:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:07:35 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "496" ], + "Content-Length": [ "495" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6bb9a88c-2e8c-4364-987b-40f7dafcf278\",\"name\":\"6bb9a88c-2e8c-4364-987b-40f7dafcf278\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:51:15.6174982Z\",\"endTime\":\"2020-10-26T18:51:17.0235118Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"d550e50b-c872-4d58-b335-72c6d05afad6\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7105d748-4a1c-488c-8bf5-7ac0f6adb16a\",\"name\":\"7105d748-4a1c-488c-8bf5-7ac0f6adb16a\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:07:04.803878Z\",\"endTime\":\"2021-05-13T13:07:06.8195219Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"01350349-8f6d-4aec-9e6b-b2c018cbda3d\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "312", "313", "314" ], - "x-ms-client-request-id": [ "2e4742f9-7526-4cc7-b78e-82af118674bb", "2e4742f9-7526-4cc7-b78e-82af118674bb", "2e4742f9-7526-4cc7-b78e-82af118674bb" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "185" ], + "x-ms-client-request-id": [ "6dc3f899-a649-41ce-b023-aa97aa2daba7" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -97,33 +99,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "44ad4483-36ed-494d-bfd0-14943a7fad2a" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], - "x-ms-request-id": [ "08d49488-81bf-4ab0-8555-d5be1ffdcdb5" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "af8895c0-b000-4097-a34d-2c4b02830720" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185146Z:af8895c0-b000-4097-a34d-2c4b02830720" ], + "x-ms-correlation-request-id": [ "8d83c198-75b9-4754-8aae-9db24589d39e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130735Z:8d83c198-75b9-4754-8aae-9db24589d39e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:51:46 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:07:35 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1\",\"name\":\"testclustermlhoe5/testdatabasepjs9o1\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq\",\"name\":\"testclusterqlp6ob/testdatabaseksghcq\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq?api-version=2021-01-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\r\n \"databaseName\": \"testdatabasepjs9o1\",\r\n \"defaultPrincipalsModificationKind\": \"Union\"\r\n },\r\n \"location\": \"East US\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"databaseName\": \"testdatabaseksghcq\",\r\n \"clusterResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\r\n \"defaultPrincipalsModificationKind\": \"Union\"\r\n },\r\n \"location\": \"East US\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -134,41 +136,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "24963c39-0b9f-49b5-9786-e187312bbbcb" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9341a961-1977-4f4e-bcab-6486f9a4a3a8?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-correlation-request-id": [ "fd7815fd-7aa5-4d0e-8c40-4a24c6482b7f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185147Z:fd7815fd-7aa5-4d0e-8c40-4a24c6482b7f" ], + "x-ms-request-id": [ "f3ac3802-9ecd-421d-87ab-bc04fe61f26d" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/01c1201e-a09f-405b-abc7-20a6e2c3df65?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-correlation-request-id": [ "8f558be8-3fa9-44da-bd10-e5cee241fd9a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130736Z:8f558be8-3fa9-44da-bd10-e5cee241fd9a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:51:47 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:07:36 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "622" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1\",\"name\":\"testfclustera0obls/testdbconfpjs9o1\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"databaseName\":\"testdatabasepjs9o1\",\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq\",\"name\":\"testfclusterzu7bam/testdbconfksghcq\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"properties\":{\"databaseName\":\"testdatabaseksghcq\",\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9341a961-1977-4f4e-bcab-6486f9a4a3a8?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/01c1201e-a09f-405b-abc7-20a6e2c3df65?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9341a961-1977-4f4e-bcab-6486f9a4a3a8?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/01c1201e-a09f-405b-abc7-20a6e2c3df65?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "315", "316" ], - "x-ms-client-request-id": [ "c1a6078f-0094-4053-97dc-273790eb60b6", "c1a6078f-0094-4053-97dc-273790eb60b6" ], - "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration" ], - "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "187" ], + "x-ms-client-request-id": [ "87b1d8c6-4ff3-4456-80bd-cd6419faa2e9" ], + "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration" ], + "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -176,40 +179,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "f622285b-ab14-4c06-b960-8a01ec55e5c2" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3e70ec05-af52-4ba7-9785-dd3d31035d48" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185217Z:3e70ec05-af52-4ba7-9785-dd3d31035d48" ], + "x-ms-request-id": [ "a8b0dbc2-dfcf-4e46-b5cf-9f45da233b9f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "af43c7b0-13d2-4d1a-a6c7-05b24c82f0a6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130807Z:af43c7b0-13d2-4d1a-a6c7-05b24c82f0a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:52:16 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:08:06 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9341a961-1977-4f4e-bcab-6486f9a4a3a8\",\"name\":\"9341a961-1977-4f4e-bcab-6486f9a4a3a8\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:51:46.9575285Z\",\"endTime\":\"2020-10-26T18:51:49.7641988Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"7007e3ed-18c9-4d52-98ab-8c052a6590f8\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/01c1201e-a09f-405b-abc7-20a6e2c3df65\",\"name\":\"01c1201e-a09f-405b-abc7-20a6e2c3df65\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:07:36.5338327Z\",\"endTime\":\"2021-05-13T13:07:39.0212608Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"10830a56-379c-491f-9c16-f042352e14cd\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "315", "316", "317" ], - "x-ms-client-request-id": [ "c1a6078f-0094-4053-97dc-273790eb60b6", "c1a6078f-0094-4053-97dc-273790eb60b6", "c1a6078f-0094-4053-97dc-273790eb60b6" ], - "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration", "New-AzKustoAttachedDatabaseConfiguration" ], - "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded", "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "188" ], + "x-ms-client-request-id": [ "87b1d8c6-4ff3-4456-80bd-cd6419faa2e9" ], + "CommandName": [ "New-AzKustoAttachedDatabaseConfiguration" ], + "FullCommandName": [ "New-AzKustoAttachedDatabaseConfiguration_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -217,36 +220,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8b082a4b-56fa-4020-912d-54311a8db3c1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "b5c7f868-193f-46a8-adac-eca78a8bb30c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "63c7aac9-1c51-4af8-a128-c3a25b6e46f7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185217Z:63c7aac9-1c51-4af8-a128-c3a25b6e46f7" ], + "x-ms-correlation-request-id": [ "d1d21e38-ab03-4740-b66f-e612db7aea8e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130807Z:d1d21e38-ab03-4740-b66f-e612db7aea8e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:52:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:08:07 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "680" ], + "Content-Length": [ "715" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1\",\"name\":\"testfclustera0obls/testdbconfpjs9o1\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"databaseName\":\"testdatabasepjs9o1\",\"attachedDatabaseNames\":[\"testdatabasepjs9o1\"],\"defaultPrincipalsModificationKind\":\"Union\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq\",\"name\":\"testfclusterzu7bam/testdbconfksghcq\",\"type\":\"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"tags\":{},\"properties\":{\"clusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"databaseName\":\"testdatabaseksghcq\",\"attachedDatabaseNames\":[\"testdatabaseksghcq\"],\"defaultPrincipalsModificationKind\":\"Union\",\"tableLevelSharingProperties\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq?api-version=2021-01-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/AttachedDatabaseConfigurations/testdbconfpjs9o1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/AttachedDatabaseConfigurations/testdbconfksghcq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "318" ], - "x-ms-client-request-id": [ "bcc99902-56c9-411e-8660-dd2d98b5cf1e" ], + "x-ms-unique-id": [ "189" ], + "x-ms-client-request-id": [ "46d1e28e-b3f0-41ef-acfc-704d2b4138b9" ], "CommandName": [ "Remove-AzKustoAttachedDatabaseConfiguration" ], "FullCommandName": [ "Remove-AzKustoAttachedDatabaseConfiguration_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -259,40 +262,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/266dd35e-a143-41f2-9c39-f36cb93f244e?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/266dd35e-a143-41f2-9c39-f36cb93f244e?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14991" ], - "x-ms-request-id": [ "611e047c-4253-454c-a72d-d63879873baf" ], - "x-ms-correlation-request-id": [ "611e047c-4253-454c-a72d-d63879873baf" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185218Z:611e047c-4253-454c-a72d-d63879873baf" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7a4c7887-bc74-459e-9d2f-4ef67869532c?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14993" ], + "x-ms-request-id": [ "ccaf410b-5ba7-4541-bb5f-bcb20defd156" ], + "x-ms-correlation-request-id": [ "ccaf410b-5ba7-4541-bb5f-bcb20defd156" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130808Z:ccaf410b-5ba7-4541-bb5f-bcb20defd156" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:52:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:08:08 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7a4c7887-bc74-459e-9d2f-4ef67869532c?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/266dd35e-a143-41f2-9c39-f36cb93f244e?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7a4c7887-bc74-459e-9d2f-4ef67869532c?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/266dd35e-a143-41f2-9c39-f36cb93f244e?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7a4c7887-bc74-459e-9d2f-4ef67869532c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "318", "319" ], - "x-ms-client-request-id": [ "bcc99902-56c9-411e-8660-dd2d98b5cf1e", "bcc99902-56c9-411e-8660-dd2d98b5cf1e" ], - "CommandName": [ "Remove-AzKustoAttachedDatabaseConfiguration", "Remove-AzKustoAttachedDatabaseConfiguration" ], - "FullCommandName": [ "Remove-AzKustoAttachedDatabaseConfiguration_Delete", "Remove-AzKustoAttachedDatabaseConfiguration_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "190" ], + "x-ms-client-request-id": [ "46d1e28e-b3f0-41ef-acfc-704d2b4138b9" ], + "CommandName": [ "Remove-AzKustoAttachedDatabaseConfiguration" ], + "FullCommandName": [ "Remove-AzKustoAttachedDatabaseConfiguration_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -300,40 +304,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "b00d79e8-b659-470b-a2df-3897fee461a4" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8c0b16ad-dea9-43a2-b2b5-52aca39912fd" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185248Z:8c0b16ad-dea9-43a2-b2b5-52aca39912fd" ], + "x-ms-request-id": [ "f33b40f3-27dc-49a0-a5c9-fa1374057c29" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "c1045fd1-fd50-4e2e-a042-164726a00418" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130838Z:c1045fd1-fd50-4e2e-a042-164726a00418" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:52:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:08:38 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/266dd35e-a143-41f2-9c39-f36cb93f244e\",\"name\":\"266dd35e-a143-41f2-9c39-f36cb93f244e\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:52:18.2414084Z\",\"endTime\":\"2020-10-26T18:52:20.2726553Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseDetach\",\"RootActivityId\":\"b8c2268f-bf45-4b16-8c7d-5b37fb38b312\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7a4c7887-bc74-459e-9d2f-4ef67869532c\",\"name\":\"7a4c7887-bc74-459e-9d2f-4ef67869532c\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:08:08.3599343Z\",\"endTime\":\"2021-05-13T13:08:11.5475039Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseDetach\",\"RootActivityId\":\"1e71588e-941c-44df-a81b-3627991cae8a\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/266dd35e-a143-41f2-9c39-f36cb93f244e?api-version=2020-09-18\u0026operationResultResponseType=Location+9": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7a4c7887-bc74-459e-9d2f-4ef67869532c?api-version=2021-01-01\u0026operationResultResponseType=Location+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/266dd35e-a143-41f2-9c39-f36cb93f244e?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7a4c7887-bc74-459e-9d2f-4ef67869532c?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "318", "319", "320" ], - "x-ms-client-request-id": [ "bcc99902-56c9-411e-8660-dd2d98b5cf1e", "bcc99902-56c9-411e-8660-dd2d98b5cf1e", "bcc99902-56c9-411e-8660-dd2d98b5cf1e" ], - "CommandName": [ "Remove-AzKustoAttachedDatabaseConfiguration", "Remove-AzKustoAttachedDatabaseConfiguration", "Remove-AzKustoAttachedDatabaseConfiguration" ], - "FullCommandName": [ "Remove-AzKustoAttachedDatabaseConfiguration_Delete", "Remove-AzKustoAttachedDatabaseConfiguration_Delete", "Remove-AzKustoAttachedDatabaseConfiguration_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "191" ], + "x-ms-client-request-id": [ "46d1e28e-b3f0-41ef-acfc-704d2b4138b9" ], + "CommandName": [ "Remove-AzKustoAttachedDatabaseConfiguration" ], + "FullCommandName": [ "Remove-AzKustoAttachedDatabaseConfiguration_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -341,33 +345,34 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a7441c67-908d-4856-883d-5e5fc714429c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-correlation-request-id": [ "22793c85-1bcc-4f31-aa40-fa50b421b618" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185249Z:22793c85-1bcc-4f31-aa40-fa50b421b618" ], + "x-ms-request-id": [ "cdc75a90-4060-4621-994b-698d3286743f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "b9a3fd5c-8be1-4342-b4c1-0dd778b95592" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130839Z:b9a3fd5c-8be1-4342-b4c1-0dd778b95592" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:52:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:08:39 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01+10": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasepjs9o1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseksghcq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "321" ], - "x-ms-client-request-id": [ "670ee9cc-e708-4167-a04b-df56ff3363d8" ], + "x-ms-unique-id": [ "192" ], + "x-ms-client-request-id": [ "dff20084-8864-441d-b986-9fcd13fadede" ], "CommandName": [ "Remove-AzKustoDatabase" ], "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -380,40 +385,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/16ef33a2-4d19-4ed9-8980-429a6312847b?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/16ef33a2-4d19-4ed9-8980-429a6312847b?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14990" ], - "x-ms-request-id": [ "009dc044-7da8-4671-9c2d-b9858e681021" ], - "x-ms-correlation-request-id": [ "009dc044-7da8-4671-9c2d-b9858e681021" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185249Z:009dc044-7da8-4671-9c2d-b9858e681021" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6bab05f0-5949-46d5-b3c4-6dd54447dd65?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], + "x-ms-request-id": [ "e853b499-497e-4308-9adc-3543351e08fd" ], + "x-ms-correlation-request-id": [ "e853b499-497e-4308-9adc-3543351e08fd" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130839Z:e853b499-497e-4308-9adc-3543351e08fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:52:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:08:39 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6bab05f0-5949-46d5-b3c4-6dd54447dd65?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/16ef33a2-4d19-4ed9-8980-429a6312847b?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6bab05f0-5949-46d5-b3c4-6dd54447dd65?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/16ef33a2-4d19-4ed9-8980-429a6312847b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6bab05f0-5949-46d5-b3c4-6dd54447dd65?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "321", "322" ], - "x-ms-client-request-id": [ "670ee9cc-e708-4167-a04b-df56ff3363d8", "670ee9cc-e708-4167-a04b-df56ff3363d8" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "193" ], + "x-ms-client-request-id": [ "dff20084-8864-441d-b986-9fcd13fadede" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -421,40 +427,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-request-id": [ "4fe20b26-ec4e-4590-8a86-b089799f13f9" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "727391dc-c390-4977-a2d1-ef681489eff7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185319Z:727391dc-c390-4977-a2d1-ef681489eff7" ], + "x-ms-request-id": [ "2993e0ef-a713-414e-8ec9-962053590cd0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "fd3427b4-4d09-4775-954a-6973d57ea798" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130909Z:fd3427b4-4d09-4775-954a-6973d57ea798" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:53:18 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:09:09 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "495" ], + "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/16ef33a2-4d19-4ed9-8980-429a6312847b\",\"name\":\"16ef33a2-4d19-4ed9-8980-429a6312847b\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:52:49.3880927Z\",\"endTime\":\"2020-10-26T18:52:53.591219Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"9d7400d8-cbaa-4fd7-b987-242411d8ce0b\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6bab05f0-5949-46d5-b3c4-6dd54447dd65\",\"name\":\"6bab05f0-5949-46d5-b3c4-6dd54447dd65\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:08:39.5873971Z\",\"endTime\":\"2021-05-13T13:08:41.4831141Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"b4364e07-eb92-40a0-acbe-9c24f9c76864\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoAttachedDatabaseConfiguration+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/16ef33a2-4d19-4ed9-8980-429a6312847b?api-version=2020-09-18\u0026operationResultResponseType=Location+12": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6bab05f0-5949-46d5-b3c4-6dd54447dd65?api-version=2021-01-01\u0026operationResultResponseType=Location+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/16ef33a2-4d19-4ed9-8980-429a6312847b?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6bab05f0-5949-46d5-b3c4-6dd54447dd65?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "321", "322", "323" ], - "x-ms-client-request-id": [ "670ee9cc-e708-4167-a04b-df56ff3363d8", "670ee9cc-e708-4167-a04b-df56ff3363d8", "670ee9cc-e708-4167-a04b-df56ff3363d8" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "194" ], + "x-ms-client-request-id": [ "dff20084-8864-441d-b986-9fcd13fadede" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -462,23 +468,23 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "96391e92-0193-4fad-b373-56123db118eb" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], - "x-ms-correlation-request-id": [ "3714d4bd-51b7-4154-af7a-40f8c744715d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185320Z:3714d4bd-51b7-4154-af7a-40f8c744715d" ], + "x-ms-request-id": [ "3cec7d82-e290-42d9-a90d-cfadd957a194" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], + "x-ms-correlation-request-id": [ "5735441c-ed25-4d13-b26c-51601be06f0c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130910Z:5735441c-ed25-4d13-b26c-51601be06f0c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:53:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:09:09 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Remove-AzKustoAttachedDatabaseConfiguration.Tests.ps1 b/src/Kusto/test/Remove-AzKustoAttachedDatabaseConfiguration.Tests.ps1 index d17c4e186671..a38ff34c88c8 100644 --- a/src/Kusto/test/Remove-AzKustoAttachedDatabaseConfiguration.Tests.ps1 +++ b/src/Kusto/test/Remove-AzKustoAttachedDatabaseConfiguration.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoAttachedDatabaseConfiguration.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Remove-AzKustoAttachedDatabaseConfiguration' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoAttachedDatabaseConfiguration.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'Delete' { $subscriptionId = $env.SubscriptionId $location = $env.location diff --git a/src/Kusto/test/Remove-AzKustoCluster.Recording.json b/src/Kusto/test/Remove-AzKustoCluster.Recording.json index c37f65164a68..6e483c255f3b 100644 --- a/src/Kusto/test/Remove-AzKustoCluster.Recording.json +++ b/src/Kusto/test/Remove-AzKustoCluster.Recording.json @@ -1,9 +1,10 @@ { - "Remove-AzKustoCluster+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01", "Content": "{\r\n \"location\": \"East US\",\r\n \"sku\": {\r\n \"name\": \"Standard_D11_v2\",\r\n \"tier\": \"Standard\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -17,38 +18,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"\"" ], - "x-ms-request-id": [ "8f3ebc82-3af7-47f4-b9d0-247d08117f40" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "ea40682e-7a65-4a84-b7f5-0a99589a5ae8" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "6bdcd4d1-c0e0-41fb-9319-c32bd5d994cf" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185324Z:6bdcd4d1-c0e0-41fb-9319-c32bd5d994cf" ], + "x-ms-correlation-request-id": [ "64b663b4-8b23-4826-9c79-9517883683b5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161133Z:64b663b4-8b23-4826-9c79-9517883683b5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:53:23 GMT" ] + "Date": [ "Wed, 12 May 2021 16:11:33 GMT" ] }, "ContentHeaders": { "Content-Length": [ "356" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp\",\"name\":\"testcluster46xdyp\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\"},\"properties\":{\"state\":\"Creating\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o\",\"name\":\"testcluster9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\"},\"properties\":{\"state\":\"Creating\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "223" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -58,38 +60,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "c326a22e-3a8b-48b1-a1c3-5fa99ea493c3" ], - "x-ms-request-id": [ "59905ead-5b1c-477d-8db6-07484264d95b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "276" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185354Z:c326a22e-3a8b-48b1-a1c3-5fa99ea493c3" ], + "x-ms-request-id": [ "314dcd12-522a-485f-b298-f6ffa5e1b2c1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "d1fb3fe3-12fb-4e37-a3b2-f9156f0bee71" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161203Z:d1fb3fe3-12fb-4e37-a3b2-f9156f0bee71" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:53:54 GMT" ] + "Date": [ "Wed, 12 May 2021 16:12:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:53:24.1009091Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:11:32.7388311Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "224" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -99,38 +101,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "275" ], - "x-ms-request-id": [ "0bf7e2a7-0b12-4db9-97a3-99129ea6a9c6" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "99f7765b-7938-405c-9ece-8d38f51879af" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185425Z:99f7765b-7938-405c-9ece-8d38f51879af" ], + "x-ms-request-id": [ "f8dae13a-954a-4813-9de7-d4ec1e9b20aa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "55debead-b437-45b7-9628-5bd93278f19d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161234Z:55debead-b437-45b7-9628-5bd93278f19d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:54:25 GMT" ] + "Date": [ "Wed, 12 May 2021 16:12:33 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:53:24.1009091Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:11:32.7388311Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "225" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -140,38 +142,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "274" ], - "x-ms-request-id": [ "c878deae-c850-4358-bd4d-677075af43cb" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7c3d8739-c105-4ef1-b334-4e0c4c5843df" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185456Z:7c3d8739-c105-4ef1-b334-4e0c4c5843df" ], + "x-ms-request-id": [ "c43a58fb-4a98-4486-a164-7d2f46865bf3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], + "x-ms-correlation-request-id": [ "a7dfbb31-74aa-46df-baab-7fba95e1c1a3" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161304Z:a7dfbb31-74aa-46df-baab-7fba95e1c1a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:54:55 GMT" ] + "Date": [ "Wed, 12 May 2021 16:13:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:53:24.1009091Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:11:32.7388311Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "226" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -181,38 +183,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "45e701e1-e290-4763-8023-c715b4616ca0" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d99c71b4-35e8-4263-b2a0-36638a37c5cb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185526Z:d99c71b4-35e8-4263-b2a0-36638a37c5cb" ], + "x-ms-request-id": [ "32ba3490-9399-49db-996e-9817a15d068f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], + "x-ms-correlation-request-id": [ "0d498261-bead-4379-bc1a-f0bd0abd5884" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161334Z:0d498261-bead-4379-bc1a-f0bd0abd5884" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:55:26 GMT" ] + "Date": [ "Wed, 12 May 2021 16:13:33 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:53:24.1009091Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:11:32.7388311Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "227" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -222,38 +224,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "0a958240-c211-4e0b-8f0b-26f9e6974979" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "cd043150-b647-4f8e-9609-f65096281921" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185556Z:cd043150-b647-4f8e-9609-f65096281921" ], + "x-ms-request-id": [ "9b6e0540-a290-44e0-aebb-dd036b3ddbad" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], + "x-ms-correlation-request-id": [ "4ba117c2-203a-40a7-8718-08df53eab966" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161404Z:4ba117c2-203a-40a7-8718-08df53eab966" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:55:56 GMT" ] + "Date": [ "Wed, 12 May 2021 16:14:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:53:24.1009091Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:11:32.7388311Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "228" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -263,38 +265,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "42d7c9c7-5cc3-420f-ad19-4ba8213c0d94" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "27647648-7c05-41e5-b385-a0682fed5635" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185626Z:27647648-7c05-41e5-b385-a0682fed5635" ], + "x-ms-request-id": [ "b222f401-6e11-4153-ba55-b306443ceef3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "276" ], + "x-ms-correlation-request-id": [ "904e6937-b83d-4381-ad88-c9fee19c6842" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161435Z:904e6937-b83d-4381-ad88-c9fee19c6842" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:56:25 GMT" ] + "Date": [ "Wed, 12 May 2021 16:14:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:53:24.1009091Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "229" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -304,38 +306,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "985bfd64-7d99-4dcf-b3e7-13e84c3d1a09" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3a7665d1-f05d-48c2-b179-78b45bd6cfdf" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185657Z:3a7665d1-f05d-48c2-b179-78b45bd6cfdf" ], + "x-ms-request-id": [ "dc735ab1-f571-4c14-bdcb-3917ba7c9fda" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "b049d38a-ae50-45b0-a06a-61ca8a3546d5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161505Z:b049d38a-ae50-45b0-a06a-61ca8a3546d5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:56:57 GMT" ] + "Date": [ "Wed, 12 May 2021 16:15:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "230" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -345,38 +347,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "7bd3f3d7-77b4-4fc5-950a-e99e2c3f06f1" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "70ef7e2b-8607-429c-aced-d460957c9609" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185727Z:70ef7e2b-8607-429c-aced-d460957c9609" ], + "x-ms-request-id": [ "1d4d1669-ec13-40a4-bb37-4174ec94b43a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "97026e7a-abc5-4e37-a965-07034774ee58" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161536Z:97026e7a-abc5-4e37-a965-07034774ee58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:57:26 GMT" ] + "Date": [ "Wed, 12 May 2021 16:15:35 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "231" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -386,38 +388,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "c2d744dc-9202-42e1-8fce-86a8d90b562e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0d65de85-df89-4cb1-92f2-80b7a1aeeea0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185757Z:0d65de85-df89-4cb1-92f2-80b7a1aeeea0" ], + "x-ms-request-id": [ "2d590455-963f-447d-ad7c-230030809e0f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "cabc6fe8-c9bd-4978-af68-7ee7368e6c72" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161606Z:cabc6fe8-c9bd-4978-af68-7ee7368e6c72" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:57:56 GMT" ] + "Date": [ "Wed, 12 May 2021 16:16:05 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "232" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -427,38 +429,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "d351d453-245f-48de-8df9-44acb72401d0" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d0634e2c-d308-4d24-bebb-003f40ecc819" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185827Z:d0634e2c-d308-4d24-bebb-003f40ecc819" ], + "x-ms-request-id": [ "3e3e5c41-3312-40eb-9e75-326dc6c70d93" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "18950e5c-6d9f-4dae-93bf-4dd43a88de16" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161636Z:18950e5c-6d9f-4dae-93bf-4dd43a88de16" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:58:27 GMT" ] + "Date": [ "Wed, 12 May 2021 16:16:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+12": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "233" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -468,38 +470,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "5e8aefb0-d901-41dc-bcec-aea11fa9e53f" ], - "x-ms-request-id": [ "533d707b-614f-485b-817a-6cddfe7d9a9f" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185858Z:5e8aefb0-d901-41dc-bcec-aea11fa9e53f" ], + "x-ms-request-id": [ "27497033-f75b-41f1-80ab-f6ab9b48711a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "2af48b90-8197-4e9d-80b8-0b932135afe6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161707Z:2af48b90-8197-4e9d-80b8-0b932135afe6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:58:57 GMT" ] + "Date": [ "Wed, 12 May 2021 16:17:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+13": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "234" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -509,38 +511,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], - "x-ms-request-id": [ "589cf33a-e56f-4502-ae1f-1cbecb6a4c51" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "27a380e6-1455-4400-a6b4-0d5c5d825de7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185928Z:27a380e6-1455-4400-a6b4-0d5c5d825de7" ], + "x-ms-request-id": [ "22edefc1-7887-4c0a-9c63-867a2c4e8050" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "3dc87531-a037-4379-a6f0-da40dc79df98" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161737Z:3dc87531-a037-4379-a6f0-da40dc79df98" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:59:27 GMT" ] + "Date": [ "Wed, 12 May 2021 16:17:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+14": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "235" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -550,38 +552,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "276" ], - "x-ms-request-id": [ "429bb4a7-d634-4696-8c3f-e106bfcb214f" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "abe99965-0ef9-4a7b-aa51-8d0420cebcfa" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T185959Z:abe99965-0ef9-4a7b-aa51-8d0420cebcfa" ], + "x-ms-request-id": [ "db48cdb1-6566-4127-84a0-0942d2eebd3d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "2b2eff87-b2d1-4dfa-85f4-4f8fdd31303f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161807Z:2b2eff87-b2d1-4dfa-85f4-4f8fdd31303f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 18:59:58 GMT" ] + "Date": [ "Wed, 12 May 2021 16:18:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+15": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "236" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -591,38 +593,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "b869c5fb-a459-4066-80d2-65008589cc4c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a4fc3b14-7f4c-42bc-891e-29449ec2a3d7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190029Z:a4fc3b14-7f4c-42bc-891e-29449ec2a3d7" ], + "x-ms-request-id": [ "b8fbfc26-b2f5-4d00-b631-a2dfaa5cabaf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "1fb1f5a2-659e-4318-a6b7-2ee47793ca32" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161838Z:1fb1f5a2-659e-4318-a6b7-2ee47793ca32" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:00:28 GMT" ] + "Date": [ "Wed, 12 May 2021 16:18:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+16": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "237" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -632,38 +634,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "f6cf32de-4015-4799-ab57-dc3522b87807" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d1231b2b-62ce-4b6e-8f69-7c09d44b9edb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190059Z:d1231b2b-62ce-4b6e-8f69-7c09d44b9edb" ], + "x-ms-request-id": [ "5d987b4b-3d6d-4e59-9a6e-bef90497a73a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "36e845c1-1338-4efd-9bcc-76832d2f21dc" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161908Z:36e845c1-1338-4efd-9bcc-76832d2f21dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:00:58 GMT" ] + "Date": [ "Wed, 12 May 2021 16:19:08 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+17": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "238" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -673,38 +675,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "1d0fef15-3bed-44c0-8f5d-9557416e0793" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bb8c7fa2-23d8-427e-bde2-1f302511b27a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190130Z:bb8c7fa2-23d8-427e-bde2-1f302511b27a" ], + "x-ms-request-id": [ "15655800-e2b1-4cc5-bb62-c58a76151db9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], + "x-ms-correlation-request-id": [ "69a8b099-ea81-48d1-9dcd-8ac98f0ae493" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T161938Z:69a8b099-ea81-48d1-9dcd-8ac98f0ae493" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:01:29 GMT" ] + "Date": [ "Wed, 12 May 2021 16:19:38 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+18": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340", "341" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "239" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -714,38 +716,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "dc3ca498-118e-4ff5-947f-edc07d0530f9" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "61b0878e-da6a-49c7-9247-4bd79ae49f40" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190200Z:61b0878e-da6a-49c7-9247-4bd79ae49f40" ], + "x-ms-request-id": [ "6bdef6af-6a21-49d4-95df-aa8de80c7c26" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "40f004dc-1a93-4ba3-b404-b9d1f7654974" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162009Z:40f004dc-1a93-4ba3-b404-b9d1f7654974" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:01:59 GMT" ] + "Date": [ "Wed, 12 May 2021 16:20:08 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+19": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340", "341", "342" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "240" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -755,38 +757,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "58160ea1-0505-43ac-905c-ad642dade400" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0a72d14e-3e5d-4967-9298-d31c4b1405fd" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190230Z:0a72d14e-3e5d-4967-9298-d31c4b1405fd" ], + "x-ms-request-id": [ "6e296c70-4823-444f-b0cf-f979d05f5d24" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "cb3d7949-08dc-4990-b852-d6d0aff94789" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162039Z:cb3d7949-08dc-4990-b852-d6d0aff94789" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:02:30 GMT" ] + "Date": [ "Wed, 12 May 2021 16:20:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+20": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340", "341", "342", "343" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "241" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -796,38 +798,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "9820b8ef-e27a-473e-bccf-0fa8b810aa98" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5f241e3c-f989-429f-bc44-02d48c5ae046" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190300Z:5f241e3c-f989-429f-bc44-02d48c5ae046" ], + "x-ms-request-id": [ "8e8472c5-a40b-445c-b67f-e898b823a2d0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "bf3f3f56-179f-4631-96ec-e50dac32c17e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162109Z:bf3f3f56-179f-4631-96ec-e50dac32c17e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:03:00 GMT" ] + "Date": [ "Wed, 12 May 2021 16:21:08 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+21": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340", "341", "342", "343", "344" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "242" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -837,38 +839,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "c37e606f-7fe6-475d-a03e-37c7b0e5b42e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "36192549-a348-4b4b-afc1-3fb415db59e9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190330Z:36192549-a348-4b4b-afc1-3fb415db59e9" ], + "x-ms-request-id": [ "bf85df47-2757-4c94-91d2-e50e920d8fb3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "e001332f-7876-49f8-b230-b9b4e4ce9939" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162140Z:e001332f-7876-49f8-b230-b9b4e4ce9939" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:03:30 GMT" ] + "Date": [ "Wed, 12 May 2021 16:21:40 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+22": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340", "341", "342", "343", "344", "345" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "243" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -878,38 +880,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "201909ca-0862-4159-bc18-b5a4a3ac6bba" ], - "x-ms-request-id": [ "02fefe6a-8959-4c1f-8d1e-4a85f556eb98" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190401Z:201909ca-0862-4159-bc18-b5a4a3ac6bba" ], + "x-ms-request-id": [ "345072c6-0594-4def-81c4-8123cac3a27a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "e9fb7909-aaa3-4cad-8866-76ef629d89ba" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162210Z:e9fb7909-aaa3-4cad-8866-76ef629d89ba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:04:01 GMT" ] + "Date": [ "Wed, 12 May 2021 16:22:10 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+23": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340", "341", "342", "343", "344", "345", "346" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "244" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -919,38 +921,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "3385e813-5d34-4acf-88eb-0763289487e2" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "be9380c6-d219-45f0-8eb0-970c97a84c91" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190431Z:be9380c6-d219-45f0-8eb0-970c97a84c91" ], + "x-ms-request-id": [ "233a51aa-4ff0-4fbd-86eb-848ed920a917" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "e0eea307-b23c-4aff-97ba-ead26a7841db" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162241Z:e0eea307-b23c-4aff-97ba-ead26a7841db" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:04:31 GMT" ] + "Date": [ "Wed, 12 May 2021 16:22:40 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+24": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340", "341", "342", "343", "344", "345", "346", "347" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "245" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -960,38 +962,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], - "x-ms-request-id": [ "9736b732-9db8-470b-a202-4b04de3e96a1" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f3d81c9c-3b62-4418-894e-f4366fa45758" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190502Z:f3d81c9c-3b62-4418-894e-f4366fa45758" ], + "x-ms-request-id": [ "5f51961b-fe50-4dbb-95ad-e998f70e3254" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "f46bac0a-2d4e-410f-acc2-7a65b5b62c71" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162311Z:f46bac0a-2d4e-410f-acc2-7a65b5b62c71" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:05:01 GMT" ] + "Date": [ "Wed, 12 May 2021 16:23:11 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+25": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340", "341", "342", "343", "344", "345", "346", "347", "348" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "246" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1001,38 +1003,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "ed965d14-7d05-4c96-a2d1-59813fd6a76b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3d516c66-4bb2-4436-b659-de194ba4a941" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190532Z:3d516c66-4bb2-4436-b659-de194ba4a941" ], + "x-ms-request-id": [ "2268a9cf-d403-48d2-a688-0f4dd2400689" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "4794b541-6380-4eee-95f8-4b28feaef10d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162341Z:4794b541-6380-4eee-95f8-4b28feaef10d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:05:31 GMT" ] + "Date": [ "Wed, 12 May 2021 16:23:41 GMT" ] }, "ContentHeaders": { "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Running\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T18:56:27.7314619Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18+26": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9389f267-68de-4cf3-b0b3-b7adb51fc597?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340", "341", "342", "343", "344", "345", "346", "347", "348", "349" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "247" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1042,38 +1044,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "88701701-e5ab-4c64-88bc-41f7e6fced23" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "25eda3a2-239e-46f0-a813-ec2386ff59a6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190602Z:25eda3a2-239e-46f0-a813-ec2386ff59a6" ], + "x-ms-request-id": [ "85683a4b-f1ac-4f49-aa74-ebdaba61daf6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "9e4aef76-f199-476b-b15d-548f4db1d1df" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162412Z:9e4aef76-f199-476b-b15d-548f4db1d1df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:06:02 GMT" ] + "Date": [ "Wed, 12 May 2021 16:24:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "503" ], + "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"name\":\"9389f267-68de-4cf3-b0b3-b7adb51fc597\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T18:53:24.1009091Z\",\"endTime\":\"2020-10-26T19:05:35.5045467Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"8c29b5e3-4d00-4963-b817-6a8c39c71c5d\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18+27": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324", "325", "326", "327", "328", "329", "330", "331", "332", "333", "334", "335", "336", "337", "338", "339", "340", "341", "342", "343", "344", "345", "346", "347", "348", "349", "350" ], - "x-ms-client-request-id": [ "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e", "013f1c48-b8cb-4c20-a417-717c0619df0e" ], - "CommandName": [ "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster", "New-AzKustoCluster" ], - "FullCommandName": [ "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded", "New-AzKustoCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "248" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1083,80 +1085,79 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "ff3e1279-4ef4-4274-b8b9-80f1192d0b7b" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "997823dd-b788-4568-94e6-a78936e6a532" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190602Z:997823dd-b788-4568-94e6-a78936e6a532" ], + "x-ms-request-id": [ "6a3cad5a-acae-4d9d-80b3-030398e1bb83" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "c89d1813-831d-4c80-95f4-6fc24136efcb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162442Z:c89d1813-831d-4c80-95f4-6fc24136efcb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:06:02 GMT" ] + "Date": [ "Wed, 12 May 2021 16:24:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "500" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp\",\"name\":\"testcluster46xdyp\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testcluster46xdyp.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testcluster46xdyp.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:14:34.1569983Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18+28": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01+28": { "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testcluster46xdyp?api-version=2020-09-18", + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/49554998-9b99-49c7-a9cd-79a4e62aa247?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "249" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14989" ], - "x-ms-request-id": [ "17104d54-4e20-46c2-a294-10c218f83c05" ], - "x-ms-correlation-request-id": [ "17104d54-4e20-46c2-a294-10c218f83c05" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190603Z:17104d54-4e20-46c2-a294-10c218f83c05" ], + "x-ms-request-id": [ "c0150420-57b9-4929-82e7-921f6911945d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "6f39bb14-c050-4b8d-952c-3947438b33c6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162512Z:6f39bb14-c050-4b8d-952c-3947438b33c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:06:03 GMT" ] + "Date": [ "Wed, 12 May 2021 16:25:12 GMT" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "503" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/49554998-9b99-49c7-a9cd-79a4e62aa247\",\"name\":\"49554998-9b99-49c7-a9cd-79a4e62aa247\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-12T16:11:32.7388311Z\",\"endTime\":\"2021-05-12T16:24:49.3758849Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterCreateExternal\",\"RootActivityId\":\"424a76c0-db5a-44d1-85d2-2fe67489beaa\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+29": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "250" ], + "x-ms-client-request-id": [ "a3539e9c-7ba4-452c-89f4-535fa90785dd" ], + "CommandName": [ "New-AzKustoCluster" ], + "FullCommandName": [ "New-AzKustoCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1166,79 +1167,81 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "696632d2-75c4-4570-8a5e-496f442a529b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "2c0dd6b0-35f1-40c4-b18a-c6b0bd70f506" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190633Z:2c0dd6b0-35f1-40c4-b18a-c6b0bd70f506" ], + "ETag": [ "\"2021-05-12T16:24:48.7508220Z\"" ], + "x-ms-request-id": [ "af994f3b-1eb0-4b71-873f-694f4f317b0b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "7f60842d-4fa1-4d6c-8bce-8f8701b03d18" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162512Z:7f60842d-4fa1-4d6c-8bce-8f8701b03d18" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:06:33 GMT" ] + "Date": [ "Wed, 12 May 2021 16:25:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o\",\"name\":\"testcluster9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-12T16:24:48.7508220Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testcluster9u4t7o.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testcluster9u4t7o.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+30": { + "[NoDescription]+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01+30": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testcluster9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "251" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "6984a11c-8fec-46a5-8a8b-78b2f396f41a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "1646f157-b594-465d-a1df-cb129a3f606a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190703Z:1646f157-b594-465d-a1df-cb129a3f606a" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14991" ], + "x-ms-request-id": [ "d24ce1af-0a0a-4d55-bfad-5c53b6904337" ], + "x-ms-correlation-request-id": [ "d24ce1af-0a0a-4d55-bfad-5c53b6904337" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162514Z:d24ce1af-0a0a-4d55-bfad-5c53b6904337" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:07:03 GMT" ] + "Date": [ "Wed, 12 May 2021 16:25:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "0" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+31": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "252" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1248,38 +1251,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "6a376fe3-2e68-4191-b344-07583d47f5bf" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c294a7f7-d0ba-4f6c-811c-873535bc6fc5" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190734Z:c294a7f7-d0ba-4f6c-811c-873535bc6fc5" ], + "x-ms-request-id": [ "268c6b89-5674-4fea-abdc-fa959028449e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "dd5e260e-ecf6-454c-aeeb-5d7b012284b8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162544Z:dd5e260e-ecf6-454c-aeeb-5d7b012284b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:07:33 GMT" ] + "Date": [ "Wed, 12 May 2021 16:25:44 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+32": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "253" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1289,38 +1292,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "56232b89-6668-4b97-ab63-e3eb5667f651" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "21f588b2-f2d2-4d3e-99c8-c88f41c89cfc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190804Z:21f588b2-f2d2-4d3e-99c8-c88f41c89cfc" ], + "x-ms-request-id": [ "58010e6e-3d5b-4db5-ba7f-6d3dcd411f78" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "0abaad64-0bf4-4761-8ffd-01ab192de3ae" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162614Z:0abaad64-0bf4-4761-8ffd-01ab192de3ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:08:04 GMT" ] + "Date": [ "Wed, 12 May 2021 16:26:14 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+33": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "254" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1330,38 +1333,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "9130c126-dd46-4127-a06b-2b3199d352b7" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f2708840-2999-467b-be19-b5fcbe1a1863" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190834Z:f2708840-2999-467b-be19-b5fcbe1a1863" ], + "x-ms-request-id": [ "13428b9a-3630-490d-b06c-aae4a5de71b0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "c4ae7036-1c3c-4f1e-9978-c37209a49ab7" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162645Z:c4ae7036-1c3c-4f1e-9978-c37209a49ab7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:08:34 GMT" ] + "Date": [ "Wed, 12 May 2021 16:26:44 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+34": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356", "357" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "255" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1371,38 +1374,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "dcd35eda-cd44-4752-a669-5e3a78f53b36" ], - "x-ms-request-id": [ "9699723c-321f-4419-82dc-5be33618e142" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190905Z:dcd35eda-cd44-4752-a669-5e3a78f53b36" ], + "x-ms-request-id": [ "a5454eda-2091-43f1-8eab-bf6a97c8c356" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "c339db47-06ad-489c-90ed-7b88d315aced" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162715Z:c339db47-06ad-489c-90ed-7b88d315aced" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:09:05 GMT" ] + "Date": [ "Wed, 12 May 2021 16:27:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+35": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356", "357", "358" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "256" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1412,38 +1415,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "78eedfc1-41c8-4e96-b115-88dd90ede0e2" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0bf26548-9c44-4fe2-bdb5-3d1baf78e10e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T190935Z:0bf26548-9c44-4fe2-bdb5-3d1baf78e10e" ], + "x-ms-request-id": [ "f4925c6f-ad17-456e-a5b5-fe72a1bbedb1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "bbb42353-a544-4b74-a821-7de11512f498" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162746Z:bbb42353-a544-4b74-a821-7de11512f498" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:09:35 GMT" ] + "Date": [ "Wed, 12 May 2021 16:27:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+36": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356", "357", "358", "359" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "257" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1453,38 +1456,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "a00ab2d4-2247-46a4-84fc-f38ecfa9fca2" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "28b72bed-db61-47ef-a5c5-148c262001f1" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191005Z:28b72bed-db61-47ef-a5c5-148c262001f1" ], + "x-ms-request-id": [ "9b174948-bf2f-4314-a1ff-ed61eb278c07" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "87f3aecb-373f-445e-ab9c-bcdef0b191e1" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162816Z:87f3aecb-373f-445e-ab9c-bcdef0b191e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:10:05 GMT" ] + "Date": [ "Wed, 12 May 2021 16:28:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+37": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356", "357", "358", "359", "360" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "258" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1494,38 +1497,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "2d065d00-1f9b-44ad-9d85-ed55911d73c4" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "910177cb-9d87-4fe9-8cbf-d7892a3aa7e4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191036Z:910177cb-9d87-4fe9-8cbf-d7892a3aa7e4" ], + "x-ms-request-id": [ "33bf4af2-8d78-497b-b9f6-1f3a038a4090" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "ba248d78-cf3a-4bab-9cb3-e60533eff62e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162847Z:ba248d78-cf3a-4bab-9cb3-e60533eff62e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:10:35 GMT" ] + "Date": [ "Wed, 12 May 2021 16:28:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+38": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+38": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356", "357", "358", "359", "360", "361" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "259" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1535,38 +1538,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "148c0bf9-7cd4-4f39-aff3-c1ac58056c3f" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "4400a781-8634-4105-930b-542509de6e68" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191106Z:4400a781-8634-4105-930b-542509de6e68" ], + "x-ms-request-id": [ "a2ef8b06-5ac0-4a7a-89be-5e74ea504290" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "cf82429d-84be-420d-a594-cbb0160e1597" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162917Z:cf82429d-84be-420d-a594-cbb0160e1597" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:11:06 GMT" ] + "Date": [ "Wed, 12 May 2021 16:29:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+39": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+39": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356", "357", "358", "359", "360", "361", "362" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "260" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1576,38 +1579,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "7b14b8d7-ff2b-4f88-b6f0-551de8c19230" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ddd75ab8-ae6f-41aa-a251-869c4112bac0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191136Z:ddd75ab8-ae6f-41aa-a251-869c4112bac0" ], + "x-ms-request-id": [ "006307cc-f3a0-4e9e-a07b-fd969b17612e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "4c7accb6-5c31-4239-b119-7574ddbe69b4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T162947Z:4c7accb6-5c31-4239-b119-7574ddbe69b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:11:36 GMT" ] + "Date": [ "Wed, 12 May 2021 16:29:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+40": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+40": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356", "357", "358", "359", "360", "361", "362", "363" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "261" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1617,38 +1620,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "59455f21-657c-4d4d-bd0f-26e3cb46c59b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c1ee8589-f4ea-4004-98af-b888b37baab3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191207Z:c1ee8589-f4ea-4004-98af-b888b37baab3" ], + "x-ms-request-id": [ "5624baad-4d70-48b1-9aa2-352142ad066a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "440044ba-3abc-4f5a-8ece-5fe0d19a42f7" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163017Z:440044ba-3abc-4f5a-8ece-5fe0d19a42f7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:12:06 GMT" ] + "Date": [ "Wed, 12 May 2021 16:30:17 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+41": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+41": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356", "357", "358", "359", "360", "361", "362", "363", "364" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "262" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1658,38 +1661,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "0b7af2af-211d-4784-8b0e-f493282dd032" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "cb9f2789-2540-444c-8bf6-0931f310e73d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191237Z:cb9f2789-2540-444c-8bf6-0931f310e73d" ], + "x-ms-request-id": [ "2a3d7840-e779-4ae1-b7a5-480e7f0a47e1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "301d7a91-c325-4900-97ea-1c9cf1f4a10c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163048Z:301d7a91-c325-4900-97ea-1c9cf1f4a10c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:12:36 GMT" ] + "Date": [ "Wed, 12 May 2021 16:30:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:06:06.7631009Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Running\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:25:14.9852134Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18+42": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01+42": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356", "357", "358", "359", "360", "361", "362", "363", "364", "365" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "263" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1699,38 +1702,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "d37d89fc-9a3b-4b3c-ab76-4f25ba6df9ff" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b971499d-50f5-4f6f-b570-b5a55bdd8cca" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191307Z:b971499d-50f5-4f6f-b570-b5a55bdd8cca" ], + "x-ms-request-id": [ "258cfd9d-fea8-4e87-9d4d-8623f3d8a35d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "cfdf4cc4-4775-4ecd-864c-bc67deb0a108" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163118Z:cfdf4cc4-4775-4ecd-864c-bc67deb0a108" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:13:07 GMT" ] + "Date": [ "Wed, 12 May 2021 16:31:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "494" ], + "Content-Length": [ "495" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"name\":\"dfe34299-740d-4fc5-8507-57ea44d9dca4\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:06:03.3639862Z\",\"endTime\":\"2020-10-26T19:13:06.495309Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"be3914a6-61f4-44d0-ab13-b16521eda5c8\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"name\":\"da15ee12-a02e-488e-9c7c-87ba2d71eebd\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-12T16:25:14.2040145Z\",\"endTime\":\"2021-05-12T16:31:10.4203158Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterDelete\",\"RootActivityId\":\"3c0ff9f6-306a-47c8-837c-9a0a74c3af38\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoCluster+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18\u0026operationResultResponseType=Location+43": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01\u0026operationResultResponseType=Location+43": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/dfe34299-740d-4fc5-8507-57ea44d9dca4?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/da15ee12-a02e-488e-9c7c-87ba2d71eebd?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351", "352", "353", "354", "355", "356", "357", "358", "359", "360", "361", "362", "363", "364", "365", "366" ], - "x-ms-client-request-id": [ "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be", "dcff0687-2ac5-4ec3-a5a2-30864029e3be" ], - "CommandName": [ "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster", "Remove-AzKustoCluster" ], - "FullCommandName": [ "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete", "Remove-AzKustoCluster_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "264" ], + "x-ms-client-request-id": [ "ad690596-36c5-4e35-af05-e1964c9dd737" ], + "CommandName": [ "Remove-AzKustoCluster" ], + "FullCommandName": [ "Remove-AzKustoCluster_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1740,21 +1743,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4cb7782b-98a4-4c2f-b3df-3edec9068bda" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-correlation-request-id": [ "5adf8b7b-9e8d-40e5-89e5-7098908fb1da" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191307Z:5adf8b7b-9e8d-40e5-89e5-7098908fb1da" ], + "x-ms-request-id": [ "37ee44cd-2822-47c4-8c3e-ee044084cc07" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "5f48ac6e-c9df-45f8-b0ad-4666902cd909" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163118Z:5f48ac6e-c9df-45f8-b0ad-4666902cd909" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:13:07 GMT" ] + "Date": [ "Wed, 12 May 2021 16:31:18 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Remove-AzKustoCluster.Tests.ps1 b/src/Kusto/test/Remove-AzKustoCluster.Tests.ps1 index 7f731290c73a..4ffeed93677d 100644 --- a/src/Kusto/test/Remove-AzKustoCluster.Tests.ps1 +++ b/src/Kusto/test/Remove-AzKustoCluster.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoCluster.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Remove-AzKustoCluster' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoCluster.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'Delete' { $name = "testcluster" + $env.rstr4 New-AzKustoCluster -ResourceGroupName $env.resourceGroupName -Name $name -Location $env.location -SkuName $env.skuName -SkuTier $env.skuTier diff --git a/src/Kusto/test/Remove-AzKustoClusterLanguageExtension.Recording.json b/src/Kusto/test/Remove-AzKustoClusterLanguageExtension.Recording.json index 403aa8c2aa7a..488af70ee71e 100644 --- a/src/Kusto/test/Remove-AzKustoClusterLanguageExtension.Recording.json +++ b/src/Kusto/test/Remove-AzKustoClusterLanguageExtension.Recording.json @@ -1,9 +1,10 @@ { - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/removeLanguageExtensions?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+RemoveExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/removeLanguageExtensions?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/removeLanguageExtensions?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/removeLanguageExtensions?api-version=2021-01-01", "Content": "{\r\n \"value\": [\r\n {\r\n \"languageExtensionName\": \"R\"\r\n }\r\n ]\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -16,38 +17,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9eb79165-c49a-4d97-b842-7f493a457c32?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "dcc22b72-1499-46cb-b670-a20c3d740c79" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9eb79165-c49a-4d97-b842-7f493a457c32?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], - "x-ms-correlation-request-id": [ "3ced5f22-6a8f-42ab-8680-420e9e6a4077" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191308Z:3ced5f22-6a8f-42ab-8680-420e9e6a4077" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4938eae7-2631-45b5-8d9c-4921d42a2233?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "x-ms-request-id": [ "6a5389d2-98fc-4504-aec9-00c589bf668d" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4938eae7-2631-45b5-8d9c-4921d42a2233?api-version=2021-01-01" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "34a0679b-641e-46b9-bac8-a9985bab2716" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163119Z:34a0679b-641e-46b9-bac8-a9985bab2716" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:13:08 GMT" ] + "Date": [ "Wed, 12 May 2021 16:31:19 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9eb79165-c49a-4d97-b842-7f493a457c32?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+RemoveExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4938eae7-2631-45b5-8d9c-4921d42a2233?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9eb79165-c49a-4d97-b842-7f493a457c32?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4938eae7-2631-45b5-8d9c-4921d42a2233?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "367", "368" ], - "x-ms-client-request-id": [ "d3527283-28ea-49ac-aa8e-61dbb4542657", "d3527283-28ea-49ac-aa8e-61dbb4542657" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "266" ], + "x-ms-client-request-id": [ "cdb0e01b-0c70-4b2d-81d5-b84b602f7785" ], + "CommandName": [ "Remove-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -57,38 +59,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "7aa9e5b8-a136-4ad2-a928-11821337e581" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f59175d3-5658-493b-89af-4b765daadf66" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191338Z:f59175d3-5658-493b-89af-4b765daadf66" ], + "x-ms-request-id": [ "119a49e1-59f5-41a6-ad11-f6b20cd2426b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "ade39512-9e1a-4cff-baa6-822ed4b80187" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163150Z:ade39512-9e1a-4cff-baa6-822ed4b80187" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:13:38 GMT" ] + "Date": [ "Wed, 12 May 2021 16:31:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "507" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9eb79165-c49a-4d97-b842-7f493a457c32\",\"name\":\"9eb79165-c49a-4d97-b842-7f493a457c32\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:13:08.5109362Z\",\"endTime\":\"2020-10-26T19:13:21.3125269Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"5582e537-92c6-4997-ad72-63a85f768e23\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4938eae7-2631-45b5-8d9c-4921d42a2233\",\"name\":\"4938eae7-2631-45b5-8d9c-4921d42a2233\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-12T16:31:19.8109441Z\",\"endTime\":\"2021-05-12T16:31:24.4672595Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"c2b66669-f4a4-47ca-8e3c-34ce4024f97f\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9eb79165-c49a-4d97-b842-7f493a457c32?api-version=2020-09-18\u0026operationResultResponseType=Location+3": { + "[NoDescription]+[NoContext]+RemoveExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4938eae7-2631-45b5-8d9c-4921d42a2233?api-version=2021-01-01\u0026operationResultResponseType=Location+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9eb79165-c49a-4d97-b842-7f493a457c32?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4938eae7-2631-45b5-8d9c-4921d42a2233?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "367", "368", "369" ], - "x-ms-client-request-id": [ "d3527283-28ea-49ac-aa8e-61dbb4542657", "d3527283-28ea-49ac-aa8e-61dbb4542657", "d3527283-28ea-49ac-aa8e-61dbb4542657" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "267" ], + "x-ms-client-request-id": [ "cdb0e01b-0c70-4b2d-81d5-b84b602f7785" ], + "CommandName": [ "Remove-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -98,31 +100,32 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c74cd894-ae66-4208-8fb1-b43c80ccb5f3" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-correlation-request-id": [ "12362054-37b2-4ac8-85ae-58ea0e1951c0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191339Z:12362054-37b2-4ac8-85ae-58ea0e1951c0" ], + "x-ms-request-id": [ "aee468fa-ee7e-4f85-9c82-5dfe3fcd1440" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "754a2c60-3775-4647-9a40-47ff3662f44f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163150Z:754a2c60-3775-4647-9a40-47ff3662f44f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:13:38 GMT" ] + "Date": [ "Wed, 12 May 2021 16:31:49 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "370" ], - "x-ms-client-request-id": [ "b6b8e9bf-278b-445f-b161-8b1971bb214b" ], + "x-ms-unique-id": [ "268" ], + "x-ms-client-request-id": [ "930e2de9-4543-43ad-b889-205de5d44f75" ], "CommandName": [ "Get-AzKustoCluster" ], "FullCommandName": [ "Get-AzKustoCluster_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -137,31 +140,31 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "ETag": [ "\"2021-05-12T16:31:23.8422679Z\"" ], + "x-ms-request-id": [ "76a1fd39-c96c-403d-a69c-b2dc1de10e71" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "2ff1a372-b957-4c8f-80b9-f4d6f0b78aca" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d6017f36-856d-4b94-928d-57831ef353a8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191339Z:d6017f36-856d-4b94-928d-57831ef353a8" ], + "x-ms-correlation-request-id": [ "b5cbacc9-dae4-4a85-a3a6-0b0b03f433fe" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163150Z:b5cbacc9-dae4-4a85-a3a6-0b0b03f433fe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:13:39 GMT" ] + "Date": [ "Wed, 12 May 2021 16:31:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "846" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[{\"languageExtensionName\":\"PYTHON\"}]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-12T16:31:23.8422679Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/removeLanguageExtensions?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+RemoveViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/removeLanguageExtensions?api-version=2021-01-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/removeLanguageExtensions?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/removeLanguageExtensions?api-version=2021-01-01", "Content": "{\r\n \"value\": [\r\n {\r\n \"languageExtensionName\": \"PYTHON\"\r\n }\r\n ]\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -174,284 +177,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "3fd523a3-1818-45b1-ad7e-c4af7d0ecdc2" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], - "x-ms-correlation-request-id": [ "26a6e600-fad6-4a74-97f4-54f6ec73a27a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191340Z:26a6e600-fad6-4a74-97f4-54f6ec73a27a" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4ca20720-1e53-4919-8db7-77b0f554eab2?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "x-ms-request-id": [ "0693304a-cdb3-4860-b097-72074fe6fbcc" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4ca20720-1e53-4919-8db7-77b0f554eab2?api-version=2021-01-01" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "27d7a4b8-34b0-4104-ab34-e43b23539aa8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163151Z:27d7a4b8-34b0-4104-ab34-e43b23539aa8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:13:39 GMT" ] + "Date": [ "Wed, 12 May 2021 16:31:50 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null - } - }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "371", "372" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "52497f5d-4930-4f23-b507-5ba1d0db21ac" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d0927916-714e-4518-9ce4-a8e4aa4a0c75" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191410Z:d0927916-714e-4518-9ce4-a8e4aa4a0c75" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:14:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:13:50.4062867Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "371", "372", "373" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-request-id": [ "6ef1e766-3cd5-4e60-b98a-41e67e734b0e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "12d2394d-cd4e-47ba-8a1f-b7696da1e08c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191440Z:12d2394d-cd4e-47ba-8a1f-b7696da1e08c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:14:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:13:50.4062867Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "371", "372", "373", "374" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "f02cce6c-e8ef-48ee-886d-f9cdc3bcb29c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "684d5f9b-e318-466d-bacd-7cde3052f725" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191511Z:684d5f9b-e318-466d-bacd-7cde3052f725" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:15:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:13:50.4062867Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "371", "372", "373", "374", "375" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "2fbf0680-d40f-4004-994f-fffbcc87033f" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "679eb164-571c-4eb4-9cba-1febe8151978" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191541Z:679eb164-571c-4eb4-9cba-1febe8151978" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:15:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:13:50.4062867Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "371", "372", "373", "374", "375", "376" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "05516755-44ff-4f76-8610-6990c3b19d8d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e5931512-2ca6-4799-8efc-1a5457654d29" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191611Z:e5931512-2ca6-4799-8efc-1a5457654d29" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:16:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:13:50.4062867Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", "Content": null, - "Headers": { - "x-ms-unique-id": [ "371", "372", "373", "374", "375", "376", "377" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "3d978aa0-89e5-4729-bade-8358171effd4" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5a7da746-d7a7-4748-98cd-cbf2e30f0be9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191641Z:5a7da746-d7a7-4748-98cd-cbf2e30f0be9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:16:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:13:50.4062867Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "isContentBase64": false } }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4ca20720-1e53-4919-8db7-77b0f554eab2?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4ca20720-1e53-4919-8db7-77b0f554eab2?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "371", "372", "373", "374", "375", "376", "377", "378" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "270" ], + "x-ms-client-request-id": [ "e99cefcc-20ae-4be8-b0f6-02ab43ccc17b" ], + "CommandName": [ "Remove-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -461,202 +219,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "7169cd6c-be48-4af6-b5cb-87b4cb5dd43e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "04db3b2d-a8f4-406d-baff-c0bef6ce9b93" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "76c09783-a84c-4f2c-bc25-6d6913830139" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191712Z:76c09783-a84c-4f2c-bc25-6d6913830139" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:17:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:13:50.4062867Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "371", "372", "373", "374", "375", "376", "377", "378", "379" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "0b7fa403-9578-4b31-9869-0672a4e8a3d4" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "687c5f16-418d-46c5-bc1d-8a51faf40431" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191742Z:687c5f16-418d-46c5-bc1d-8a51faf40431" ], + "x-ms-correlation-request-id": [ "af7d1373-c8d6-4d04-9cb7-c08cb9ef9f62" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163221Z:af7d1373-c8d6-4d04-9cb7-c08cb9ef9f62" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:17:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:13:50.4062867Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "371", "372", "373", "374", "375", "376", "377", "378", "379", "380" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "173c6a21-1060-442c-a330-b6713fdb2d2b" ], - "x-ms-request-id": [ "c9c0727b-eee3-4cab-ae60-40a7448c627d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191812Z:173c6a21-1060-442c-a330-b6713fdb2d2b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:18:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:13:50.4062867Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "371", "372", "373", "374", "375", "376", "377", "378", "379", "380", "381" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "95188f46-5b11-4001-ad4e-452930d67ebd" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f0fa66e6-d329-44bd-9a28-713fdd48ae28" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191843Z:f0fa66e6-d329-44bd-9a28-713fdd48ae28" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:18:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "504" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:13:50.4062867Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "371", "372", "373", "374", "375", "376", "377", "378", "379", "380", "381", "382" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "e2ec1b98-0796-4376-b8f6-6736a68d5c20" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3fe07247-511f-4d01-964d-a493acd3a66d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191913Z:3fe07247-511f-4d01-964d-a493acd3a66d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:19:13 GMT" ] + "Date": [ "Wed, 12 May 2021 16:32:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "507" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"name\":\"75e484d2-7368-4fee-bc4c-d51d8ad99c53\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:13:40.1562849Z\",\"endTime\":\"2020-10-26T19:18:55.3906682Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"ab836fac-a536-4e74-aa9f-004f38cce63d\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4ca20720-1e53-4919-8db7-77b0f554eab2\",\"name\":\"4ca20720-1e53-4919-8db7-77b0f554eab2\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-12T16:31:51.2527437Z\",\"endTime\":\"2021-05-12T16:31:56.0965384Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"58e766b6-73bd-498d-810e-f5cb43bf4c15\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoClusterLanguageExtension+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18\u0026operationResultResponseType=Location+14": { + "[NoDescription]+[NoContext]+RemoveViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4ca20720-1e53-4919-8db7-77b0f554eab2?api-version=2021-01-01\u0026operationResultResponseType=Location+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/75e484d2-7368-4fee-bc4c-d51d8ad99c53?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4ca20720-1e53-4919-8db7-77b0f554eab2?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "371", "372", "373", "374", "375", "376", "377", "378", "379", "380", "381", "382", "383" ], - "x-ms-client-request-id": [ "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2", "e9d1df9d-b2da-467d-96f0-aa1acc105ff2" ], - "CommandName": [ "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension", "Remove-AzKustoClusterLanguageExtension" ], - "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded", "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "271" ], + "x-ms-client-request-id": [ "e99cefcc-20ae-4be8-b0f6-02ab43ccc17b" ], + "CommandName": [ "Remove-AzKustoClusterLanguageExtension" ], + "FullCommandName": [ "Remove-AzKustoClusterLanguageExtension_RemoveViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -666,21 +260,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "de1320f5-55a8-4425-95f7-49502e308fc5" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-correlation-request-id": [ "37d2893f-fb87-4a76-9d94-fefbd015e33f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191913Z:37d2893f-fb87-4a76-9d94-fefbd015e33f" ], + "x-ms-request-id": [ "87df4638-6187-4a17-bc55-ed4e8df10dd2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "d451e67a-cc60-4c7a-8cf0-f8dc5eefa413" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163221Z:d451e67a-cc60-4c7a-8cf0-f8dc5eefa413" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:19:13 GMT" ] + "Date": [ "Wed, 12 May 2021 16:32:21 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Remove-AzKustoClusterLanguageExtension.Tests.ps1 b/src/Kusto/test/Remove-AzKustoClusterLanguageExtension.Tests.ps1 index e3623fcbe324..4bdfa1458d7f 100644 --- a/src/Kusto/test/Remove-AzKustoClusterLanguageExtension.Tests.ps1 +++ b/src/Kusto/test/Remove-AzKustoClusterLanguageExtension.Tests.ps1 @@ -1,17 +1,18 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoClusterLanguageExtension.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Remove-AzKustoClusterLanguageExtension' { + BeforeAll{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoClusterLanguageExtension.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'RemoveExpanded' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/Remove-AzKustoClusterPrincipalAssignment.Recording.json b/src/Kusto/test/Remove-AzKustoClusterPrincipalAssignment.Recording.json index cb90edb6abb8..5d9c1a83d799 100644 --- a/src/Kusto/test/Remove-AzKustoClusterPrincipalAssignment.Recording.json +++ b/src/Kusto/test/Remove-AzKustoClusterPrincipalAssignment.Recording.json @@ -1,9 +1,10 @@ { - "Remove-AzKustoClusterPrincipalAssignment+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"principalId\": \"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\r\n \"principalType\": \"App\",\r\n \"role\": \"AllDatabasesViewer\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"principalId\": \"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\r\n \"role\": \"AllDatabasesViewer\",\r\n \"principalType\": \"App\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -17,38 +18,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"\"" ], - "x-ms-request-id": [ "bc88cc90-8262-4cbb-af6e-d39ceb3cabc3" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2d3c673e-e1e2-4bfa-ba53-0dcf8d23e030?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "5b241e50-f245-4add-9b99-6c6bf9ac530f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191917Z:5b241e50-f245-4add-9b99-6c6bf9ac530f" ], + "x-ms-request-id": [ "73aa731f-3f29-4da1-b96a-2fc6e1c9b6a1" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/45072da4-ffab-41db-8802-319291ad907b?api-version=2021-01-01" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-correlation-request-id": [ "a1545da0-e110-42e2-958f-add3e91f9547" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163223Z:a1545da0-e110-42e2-958f-add3e91f9547" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:19:16 GMT" ] + "Date": [ "Wed, 12 May 2021 16:32:23 GMT" ] }, "ContentHeaders": { "Content-Length": [ "452" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1\",\"name\":\"testclustermlhoe5/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"principalType\":\"App\",\"role\":\"AllDatabasesViewer\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1\",\"name\":\"testclusterqlp6ob/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"AllDatabasesViewer\",\"principalType\":\"App\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Remove-AzKustoClusterPrincipalAssignment+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2d3c673e-e1e2-4bfa-ba53-0dcf8d23e030?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/45072da4-ffab-41db-8802-319291ad907b?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2d3c673e-e1e2-4bfa-ba53-0dcf8d23e030?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/45072da4-ffab-41db-8802-319291ad907b?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "384", "385" ], - "x-ms-client-request-id": [ "439dedab-1226-44f6-8abb-68a432efc6cd", "439dedab-1226-44f6-8abb-68a432efc6cd" ], - "CommandName": [ "New-AzKustoClusterPrincipalAssignment", "New-AzKustoClusterPrincipalAssignment" ], - "FullCommandName": [ "New-AzKustoClusterPrincipalAssignment_CreateExpanded", "New-AzKustoClusterPrincipalAssignment_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "273" ], + "x-ms-client-request-id": [ "79fc2fbe-0c45-4473-b171-00df15b4e8a7" ], + "CommandName": [ "New-AzKustoClusterPrincipalAssignment" ], + "FullCommandName": [ "New-AzKustoClusterPrincipalAssignment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -58,38 +60,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], - "x-ms-request-id": [ "98baaace-3a65-4a8c-a598-7e9fb59faf7b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a4a0bb29-f819-41d3-90e8-2f7c6c3b650e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191947Z:a4a0bb29-f819-41d3-90e8-2f7c6c3b650e" ], + "x-ms-request-id": [ "f9bd70d1-360a-4eac-8e62-b9e3b8c4ee16" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "de2416cc-bd2f-44c5-a0c7-aa0b7204a71b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163253Z:de2416cc-bd2f-44c5-a0c7-aa0b7204a71b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:19:46 GMT" ] + "Date": [ "Wed, 12 May 2021 16:32:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "511" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/2d3c673e-e1e2-4bfa-ba53-0dcf8d23e030\",\"name\":\"2d3c673e-e1e2-4bfa-ba53-0dcf8d23e030\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:19:16.849098Z\",\"endTime\":\"2020-10-26T19:19:18.3960282Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServicePrincipalAssignmentsAdd\",\"RootActivityId\":\"a6c7161e-f0e0-4a90-a94a-f1e9b5b98d54\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/45072da4-ffab-41db-8802-319291ad907b\",\"name\":\"45072da4-ffab-41db-8802-319291ad907b\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-12T16:32:23.284062Z\",\"endTime\":\"2021-05-12T16:32:24.9569556Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServicePrincipalAssignmentsAdd\",\"RootActivityId\":\"eb49148b-9827-4c20-b836-740d2e597eea\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoClusterPrincipalAssignment+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "384", "385", "386" ], - "x-ms-client-request-id": [ "439dedab-1226-44f6-8abb-68a432efc6cd", "439dedab-1226-44f6-8abb-68a432efc6cd", "439dedab-1226-44f6-8abb-68a432efc6cd" ], - "CommandName": [ "New-AzKustoClusterPrincipalAssignment", "New-AzKustoClusterPrincipalAssignment", "New-AzKustoClusterPrincipalAssignment" ], - "FullCommandName": [ "New-AzKustoClusterPrincipalAssignment_CreateExpanded", "New-AzKustoClusterPrincipalAssignment_CreateExpanded", "New-AzKustoClusterPrincipalAssignment_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "274" ], + "x-ms-client-request-id": [ "79fc2fbe-0c45-4473-b171-00df15b4e8a7" ], + "CommandName": [ "New-AzKustoClusterPrincipalAssignment" ], + "FullCommandName": [ "New-AzKustoClusterPrincipalAssignment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -100,33 +102,33 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c6a943e7-c40f-4dbb-9e30-8a533f05fe6b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "da6f8d94-b952-40c5-b52d-36dded8fe108" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a6e31c7b-4b7b-4675-b120-bedf1f1cad13" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191947Z:a6e31c7b-4b7b-4675-b120-bedf1f1cad13" ], + "x-ms-correlation-request-id": [ "d89f77a2-6aac-4a8b-9b8d-091b9b2c5043" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163254Z:d89f77a2-6aac-4a8b-9b8d-091b9b2c5043" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:19:46 GMT" ] + "Date": [ "Wed, 12 May 2021 16:32:54 GMT" ] }, "ContentHeaders": { "Content-Length": [ "570" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1\",\"name\":\"testclustermlhoe5/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"AllDatabasesViewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"lugoldbekusto\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1\",\"name\":\"testclusterqlp6ob/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"AllDatabasesViewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"lugoldbekusto\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Remove-AzKustoClusterPrincipalAssignment+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "387" ], - "x-ms-client-request-id": [ "c0f892e8-5ab5-4745-9d41-db9bd3e40fba" ], + "x-ms-unique-id": [ "275" ], + "x-ms-client-request-id": [ "40e09c26-3696-4fa9-9c61-0880c50a1e5e" ], "CommandName": [ "Remove-AzKustoClusterPrincipalAssignment" ], "FullCommandName": [ "Remove-AzKustoClusterPrincipalAssignment_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -141,38 +143,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e0450e4f-2602-4dec-99d2-9316fbc803e7?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e0450e4f-2602-4dec-99d2-9316fbc803e7?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14989" ], - "x-ms-request-id": [ "6940fdcb-4b87-48e0-80ec-56f67258282c" ], - "x-ms-correlation-request-id": [ "6940fdcb-4b87-48e0-80ec-56f67258282c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T191948Z:6940fdcb-4b87-48e0-80ec-56f67258282c" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2a50aede-7eaa-457e-b363-41c031cf7d31?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2a50aede-7eaa-457e-b363-41c031cf7d31?api-version=2021-01-01" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14990" ], + "x-ms-request-id": [ "bf800e8f-dd7b-46b2-ac7c-fa3e53ae626c" ], + "x-ms-correlation-request-id": [ "bf800e8f-dd7b-46b2-ac7c-fa3e53ae626c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163255Z:bf800e8f-dd7b-46b2-ac7c-fa3e53ae626c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:19:47 GMT" ] + "Date": [ "Wed, 12 May 2021 16:32:55 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Remove-AzKustoClusterPrincipalAssignment+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e0450e4f-2602-4dec-99d2-9316fbc803e7?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2a50aede-7eaa-457e-b363-41c031cf7d31?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e0450e4f-2602-4dec-99d2-9316fbc803e7?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2a50aede-7eaa-457e-b363-41c031cf7d31?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "387", "388" ], - "x-ms-client-request-id": [ "c0f892e8-5ab5-4745-9d41-db9bd3e40fba", "c0f892e8-5ab5-4745-9d41-db9bd3e40fba" ], - "CommandName": [ "Remove-AzKustoClusterPrincipalAssignment", "Remove-AzKustoClusterPrincipalAssignment" ], - "FullCommandName": [ "Remove-AzKustoClusterPrincipalAssignment_Delete", "Remove-AzKustoClusterPrincipalAssignment_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "276" ], + "x-ms-client-request-id": [ "40e09c26-3696-4fa9-9c61-0880c50a1e5e" ], + "CommandName": [ "Remove-AzKustoClusterPrincipalAssignment" ], + "FullCommandName": [ "Remove-AzKustoClusterPrincipalAssignment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -182,38 +185,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "740a0a58-be27-4a9c-b75d-50d576dc5eed" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d4ffc07d-72ba-4b9e-af43-2a7a37c1ce3f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192018Z:d4ffc07d-72ba-4b9e-af43-2a7a37c1ce3f" ], + "x-ms-request-id": [ "dca967d4-15d8-43db-8101-c06fd59a5cd3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "dd6f4b64-7d0d-456b-869a-6b09b2d03402" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163325Z:dd6f4b64-7d0d-456b-869a-6b09b2d03402" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:20:17 GMT" ] + "Date": [ "Wed, 12 May 2021 16:33:24 GMT" ] }, "ContentHeaders": { "Content-Length": [ "513" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e0450e4f-2602-4dec-99d2-9316fbc803e7\",\"name\":\"e0450e4f-2602-4dec-99d2-9316fbc803e7\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:19:47.9797152Z\",\"endTime\":\"2020-10-26T19:19:49.8703381Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServicePrincipalAssignmentsDrop\",\"RootActivityId\":\"39738f43-feee-42bf-a096-6054b897f6cc\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/2a50aede-7eaa-457e-b363-41c031cf7d31\",\"name\":\"2a50aede-7eaa-457e-b363-41c031cf7d31\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-12T16:32:54.9747823Z\",\"endTime\":\"2021-05-12T16:32:56.5530651Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServicePrincipalAssignmentsDrop\",\"RootActivityId\":\"f771b6bb-3c99-4312-ba26-fd51ec5f1ddb\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoClusterPrincipalAssignment+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e0450e4f-2602-4dec-99d2-9316fbc803e7?api-version=2020-09-18\u0026operationResultResponseType=Location+6": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2a50aede-7eaa-457e-b363-41c031cf7d31?api-version=2021-01-01\u0026operationResultResponseType=Location+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e0450e4f-2602-4dec-99d2-9316fbc803e7?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2a50aede-7eaa-457e-b363-41c031cf7d31?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "387", "388", "389" ], - "x-ms-client-request-id": [ "c0f892e8-5ab5-4745-9d41-db9bd3e40fba", "c0f892e8-5ab5-4745-9d41-db9bd3e40fba", "c0f892e8-5ab5-4745-9d41-db9bd3e40fba" ], - "CommandName": [ "Remove-AzKustoClusterPrincipalAssignment", "Remove-AzKustoClusterPrincipalAssignment", "Remove-AzKustoClusterPrincipalAssignment" ], - "FullCommandName": [ "Remove-AzKustoClusterPrincipalAssignment_Delete", "Remove-AzKustoClusterPrincipalAssignment_Delete", "Remove-AzKustoClusterPrincipalAssignment_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "277" ], + "x-ms-client-request-id": [ "40e09c26-3696-4fa9-9c61-0880c50a1e5e" ], + "CommandName": [ "Remove-AzKustoClusterPrincipalAssignment" ], + "FullCommandName": [ "Remove-AzKustoClusterPrincipalAssignment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -223,21 +226,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "259912c4-c452-47df-a316-7bf60076ecc0" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-correlation-request-id": [ "42fda78a-45ec-4b39-a50b-7b947aeb72f0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192018Z:42fda78a-45ec-4b39-a50b-7b947aeb72f0" ], + "x-ms-request-id": [ "76fd4a4d-3837-4bee-b6d4-69af5f87c461" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], + "x-ms-correlation-request-id": [ "9210e672-7072-444e-839d-03054354dbd9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163326Z:9210e672-7072-444e-839d-03054354dbd9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:20:17 GMT" ] + "Date": [ "Wed, 12 May 2021 16:33:25 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Remove-AzKustoClusterPrincipalAssignment.Tests.ps1 b/src/Kusto/test/Remove-AzKustoClusterPrincipalAssignment.Tests.ps1 index e5140d0e2732..e57000b14607 100644 --- a/src/Kusto/test/Remove-AzKustoClusterPrincipalAssignment.Tests.ps1 +++ b/src/Kusto/test/Remove-AzKustoClusterPrincipalAssignment.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoClusterPrincipalAssignment.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Remove-AzKustoClusterPrincipalAssignment' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoClusterPrincipalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'Delete' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/Remove-AzKustoDataConnection.Recording.json b/src/Kusto/test/Remove-AzKustoDataConnection.Recording.json index 2a3dc1a07ace..cbc70e796cc7 100644 --- a/src/Kusto/test/Remove-AzKustoDataConnection.Recording.json +++ b/src/Kusto/test/Remove-AzKustoDataConnection.Recording.json @@ -1,58 +1,56 @@ { - "Remove-AzKustoDataConnection+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+1": { "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", - "Content": null, + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventHub\",\r\n \"properties\": {\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\r\n \"consumerGroup\": \"$Default\",\r\n \"compression\": \"None\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "662" ], - "x-ms-client-request-id": [ "af8a95a4-93b2-4d16-9404-cf3a418602c1" ], - "CommandName": [ "Remove-AzKustoDataConnection" ], - "FullCommandName": [ "Remove-AzKustoDataConnection_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "339" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/473ba3d3-e5c2-4dc3-a568-4dc6053dc657?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/473ba3d3-e5c2-4dc3-a568-4dc6053dc657?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-request-id": [ "359b5e00-3941-4087-9c85-7ec2c54f3ffb" ], - "x-ms-correlation-request-id": [ "359b5e00-3941-4087-9c85-7ec2c54f3ffb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205827Z:359b5e00-3941-4087-9c85-7ec2c54f3ffb" ], + "x-ms-request-id": [ "414a79f1-45d9-4780-b182-29f50ca9c183" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/419a5c21-37b3-40c0-b67d-f5f64bfb0768?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-correlation-request-id": [ "7945ad16-e128-4feb-af24-a5eedaaecba3" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160311Z:7945ad16-e128-4feb-af24-a5eedaaecba3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:58:27 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:03:11 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "678" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"compression\":\"None\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDataConnection+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/473ba3d3-e5c2-4dc3-a568-4dc6053dc657?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/419a5c21-37b3-40c0-b67d-f5f64bfb0768?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/473ba3d3-e5c2-4dc3-a568-4dc6053dc657?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/419a5c21-37b3-40c0-b67d-f5f64bfb0768?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "662", "663" ], - "x-ms-client-request-id": [ "af8a95a4-93b2-4d16-9404-cf3a418602c1", "af8a95a4-93b2-4d16-9404-cf3a418602c1" ], - "CommandName": [ "Remove-AzKustoDataConnection", "Remove-AzKustoDataConnection" ], - "FullCommandName": [ "Remove-AzKustoDataConnection_Delete", "Remove-AzKustoDataConnection_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "443" ], + "x-ms-client-request-id": [ "303d6665-75f6-4221-b711-d5ea5fc103cf" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection" ], + "FullCommandName": [ "New-AzKustoDataConnection_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -60,40 +58,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "cae5287e-e9c1-4010-82c2-f47c2e1a1ff9" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c7644a80-4fe9-47fc-bd49-5feb66818e76" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205858Z:c7644a80-4fe9-47fc-bd49-5feb66818e76" ], + "x-ms-request-id": [ "fd24cfcd-0d1d-40f3-bb1d-0a12423b2f07" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "781fe4f3-56b5-41d0-9a91-573263632c16" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160342Z:781fe4f3-56b5-41d0-9a91-573263632c16" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:58:57 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:03:41 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "517" ], + "Content-Length": [ "356" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/473ba3d3-e5c2-4dc3-a568-4dc6053dc657\",\"name\":\"473ba3d3-e5c2-4dc3-a568-4dc6053dc657\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:58:27.8010828Z\",\"endTime\":\"2020-10-26T20:58:31.0357353Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DmServiceDataObtainerDrop\",\"RootActivityId\":\"8a81773b-d4cf-4076-97de-1afbfdc0e201\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/419a5c21-37b3-40c0-b67d-f5f64bfb0768\",\"name\":\"419a5c21-37b3-40c0-b67d-f5f64bfb0768\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T16:03:11.6493646Z\",\"endTime\":\"2021-05-13T16:03:15.790423Z\",\"percentComplete\":1.0,\"properties\":{}}", + "isContentBase64": false } }, - "Remove-AzKustoDataConnection+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/473ba3d3-e5c2-4dc3-a568-4dc6053dc657?api-version=2020-09-18\u0026operationResultResponseType=Location+3": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/473ba3d3-e5c2-4dc3-a568-4dc6053dc657?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "662", "663", "664" ], - "x-ms-client-request-id": [ "af8a95a4-93b2-4d16-9404-cf3a418602c1", "af8a95a4-93b2-4d16-9404-cf3a418602c1", "af8a95a4-93b2-4d16-9404-cf3a418602c1" ], - "CommandName": [ "Remove-AzKustoDataConnection", "Remove-AzKustoDataConnection", "Remove-AzKustoDataConnection" ], - "FullCommandName": [ "Remove-AzKustoDataConnection_Delete", "Remove-AzKustoDataConnection_Delete", "Remove-AzKustoDataConnection_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "444" ], + "x-ms-client-request-id": [ "303d6665-75f6-4221-b711-d5ea5fc103cf" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection" ], + "FullCommandName": [ "New-AzKustoDataConnection_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -101,75 +99,83 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5db9f3cd-0b21-412b-a827-a9285a71faec" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-correlation-request-id": [ "a978ee26-7325-4aac-864e-d42a087bf450" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205858Z:a978ee26-7325-4aac-864e-d42a087bf450" ], + "x-ms-request-id": [ "044138b0-df22-4f9c-8924-bfb3302e711a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "57a13838-c155-4651-b239-5279da386bcc" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160343Z:57a13838-c155-4651-b239-5279da386bcc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:58:57 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:03:43 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "801" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":\"\",\"mappingRuleName\":\"\",\"dataFormat\":\"\",\"eventSystemProperties\":[],\"compression\":\"None\",\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDataConnection+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+4": { "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"EventHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"compression\": \"None\",\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\"\r\n }\r\n}", + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", + "Content": null, + "isContentBase64": false, "Headers": { + "x-ms-unique-id": [ "445" ], + "x-ms-client-request-id": [ "a121b518-5cff-45a6-964c-45d1638b8055" ], + "CommandName": [ "Remove-AzKustoDataConnection" ], + "FullCommandName": [ "Remove-AzKustoDataConnection_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "339" ] } }, "Response": { - "StatusCode": 201, + "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "3198e31c-4046-4539-9246-d92423225e8e" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/1b4b3469-f9cd-4ada-b662-94713d64a735?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "193" ], - "x-ms-correlation-request-id": [ "2553aad9-3234-451f-9ca0-2075dbc70db6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205900Z:2553aad9-3234-451f-9ca0-2075dbc70db6" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/69b55cc9-1e7b-48a0-bef8-e881e4a541e5?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-request-id": [ "25be00cd-db0e-43bf-8167-9d97f9de777b" ], + "x-ms-correlation-request-id": [ "25be00cd-db0e-43bf-8167-9d97f9de777b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160344Z:25be00cd-db0e-43bf-8167-9d97f9de777b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:58:59 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:03:44 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/69b55cc9-1e7b-48a0-bef8-e881e4a541e5?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "678" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"properties\":{\"compression\":\"None\",\"consumerGroup\":\"$Default\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"provisioningState\":\"Creating\"}}" + "Content": null, + "isContentBase64": false } }, - "Remove-AzKustoDataConnection+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/1b4b3469-f9cd-4ada-b662-94713d64a735?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/69b55cc9-1e7b-48a0-bef8-e881e4a541e5?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/1b4b3469-f9cd-4ada-b662-94713d64a735?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/69b55cc9-1e7b-48a0-bef8-e881e4a541e5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "665", "666" ], - "x-ms-client-request-id": [ "5be5acb3-e75b-479c-9535-3624cc335662", "5be5acb3-e75b-479c-9535-3624cc335662" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection" ], - "FullCommandName": [ "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "446" ], + "x-ms-client-request-id": [ "a121b518-5cff-45a6-964c-45d1638b8055" ], + "CommandName": [ "Remove-AzKustoDataConnection" ], + "FullCommandName": [ "Remove-AzKustoDataConnection_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -177,40 +183,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "9cbfc109-4250-48e0-ab12-809b9ba78457" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "14f28873-2b1b-4034-8189-d10b3875525e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205931Z:14f28873-2b1b-4034-8189-d10b3875525e" ], + "x-ms-request-id": [ "707311da-d97d-4421-9b2a-9a138be60ae0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "4b413fb5-d6f6-453c-9cbc-1ec80e892139" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160415Z:4b413fb5-d6f6-453c-9cbc-1ec80e892139" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:59:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:04:15 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "357" ], + "Content-Length": [ "517" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/1b4b3469-f9cd-4ada-b662-94713d64a735\",\"name\":\"1b4b3469-f9cd-4ada-b662-94713d64a735\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:59:00.6173237Z\",\"endTime\":\"2020-10-26T20:59:06.7115754Z\",\"percentComplete\":1.0,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/69b55cc9-1e7b-48a0-bef8-e881e4a541e5\",\"name\":\"69b55cc9-1e7b-48a0-bef8-e881e4a541e5\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T16:03:44.6520401Z\",\"endTime\":\"2021-05-13T16:03:45.4177725Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DmServiceDataObtainerDrop\",\"RootActivityId\":\"3cb6e625-909e-467b-b7e2-19d471dc95e8\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDataConnection+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/69b55cc9-1e7b-48a0-bef8-e881e4a541e5?api-version=2021-01-01\u0026operationResultResponseType=Location+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/69b55cc9-1e7b-48a0-bef8-e881e4a541e5?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "665", "666", "667" ], - "x-ms-client-request-id": [ "5be5acb3-e75b-479c-9535-3624cc335662", "5be5acb3-e75b-479c-9535-3624cc335662", "5be5acb3-e75b-479c-9535-3624cc335662" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection", "Az.Kusto.internal\\New-AzKustoDataConnection" ], - "FullCommandName": [ "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create", "New-AzKustoDataConnection_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "447" ], + "x-ms-client-request-id": [ "a121b518-5cff-45a6-964c-45d1638b8055" ], + "CommandName": [ "Remove-AzKustoDataConnection" ], + "FullCommandName": [ "Remove-AzKustoDataConnection_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -218,26 +224,23 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], - "x-ms-request-id": [ "1d696d2e-6597-4c6b-b2cc-4b7cd1313149" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "4131cce9-5bec-41f8-bb7f-437dccbe35ad" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205932Z:4131cce9-5bec-41f8-bb7f-437dccbe35ad" ], + "x-ms-request-id": [ "ec108ac3-360d-4951-b474-95c57492b34e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "b456ec36-05a6-4c51-b3a0-667e9c28dd15" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T160415Z:b456ec36-05a6-4c51-b3a0-667e9c28dd15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:59:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 16:04:15 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "768" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":\"\",\"mappingRuleName\":\"\",\"dataFormat\":\"\",\"eventSystemProperties\":[],\"compression\":\"None\",\"provisioningState\":\"Succeeded\"}}" + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Remove-AzKustoDataConnection.Tests.ps1 b/src/Kusto/test/Remove-AzKustoDataConnection.Tests.ps1 index 03ed4aaa08a3..8777acef4493 100644 --- a/src/Kusto/test/Remove-AzKustoDataConnection.Tests.ps1 +++ b/src/Kusto/test/Remove-AzKustoDataConnection.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoDataConnection.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Remove-AzKustoDataConnection' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoDataConnection.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'Delete' { $subscriptionId = $env.SubscriptionId $location = $env.locationfordc @@ -26,7 +27,8 @@ Describe 'Remove-AzKustoDataConnection' { $eventHubResourceId = "/subscriptions/$subscriptionId/resourcegroups/$resourceGroupName/providers/Microsoft.EventHub/namespaces/$eventhubNS/eventhubs/$eventhub" $kind = "EventHub" + New-AzKustoDataConnection -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -DataConnectionName $dataConnectionName -Location $location -Kind $kind -EventHubResourceId $eventHubResourceId -ConsumerGroup '$Default' -Compression "None" Remove-AzKustoDataConnection -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -DataConnectionName $dataConnectionName - { New-AzKustoDataConnection -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -DataConnectionName $dataConnectionName -Location $location -Kind $kind -EventHubResourceId $eventHubResourceId -ConsumerGroup '$Default' -Compression "None" } | Should -Not -Throw + } } diff --git a/src/Kusto/test/Remove-AzKustoDatabase.Recording.json b/src/Kusto/test/Remove-AzKustoDatabase.Recording.json index 3a4c18d68c61..ae68cc3a001b 100644 --- a/src/Kusto/test/Remove-AzKustoDatabase.Recording.json +++ b/src/Kusto/test/Remove-AzKustoDatabase.Recording.json @@ -1,9 +1,10 @@ { - "Remove-AzKustoDatabase+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadWrite\",\r\n \"location\": \"East US\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadWrite\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -17,38 +18,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"\"" ], - "x-ms-request-id": [ "0dae6a19-d137-4e76-8300-af399bc77af1" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/eca94b4e-3b76-4f0a-8247-91ba04457b07?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], - "x-ms-correlation-request-id": [ "8bfcf05c-98f8-46e9-a6af-b2c2019b1c25" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192019Z:8bfcf05c-98f8-46e9-a6af-b2c2019b1c25" ], + "x-ms-request-id": [ "0abe877c-a2ef-4891-b32c-85bbfef9f622" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c40eb697-568f-4662-a780-6bdc086e25ec?api-version=2021-01-01" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], + "x-ms-correlation-request-id": [ "e654e765-cd47-4a4c-a118-3e6ac818e7ec" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163327Z:e654e765-cd47-4a4c-a118-3e6ac818e7ec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:20:19 GMT" ] + "Date": [ "Wed, 12 May 2021 16:33:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "363" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp\",\"name\":\"testclustermlhoe5/testdatabase46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o\",\"name\":\"testclusterqlp6ob/testdatabase9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"properties\":{\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/eca94b4e-3b76-4f0a-8247-91ba04457b07?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c40eb697-568f-4662-a780-6bdc086e25ec?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/eca94b4e-3b76-4f0a-8247-91ba04457b07?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c40eb697-568f-4662-a780-6bdc086e25ec?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "390", "391" ], - "x-ms-client-request-id": [ "c27b028c-338e-406d-8d0d-07338aa30182", "c27b028c-338e-406d-8d0d-07338aa30182" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "279" ], + "x-ms-client-request-id": [ "5d645e57-371c-4d51-8847-e3fb60dead16" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -58,38 +60,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "3358db5e-82ea-4d24-8159-999714153b8c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bde4f419-63e4-415a-817b-f7ad4d788258" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192050Z:bde4f419-63e4-415a-817b-f7ad4d788258" ], + "x-ms-request-id": [ "cffff602-be05-458c-9e60-315363ffcc31" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], + "x-ms-correlation-request-id": [ "96bf1786-dbd1-4c74-92ca-00e6a2cef09c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163357Z:96bf1786-dbd1-4c74-92ca-00e6a2cef09c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:20:50 GMT" ] + "Date": [ "Wed, 12 May 2021 16:33:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/eca94b4e-3b76-4f0a-8247-91ba04457b07\",\"name\":\"eca94b4e-3b76-4f0a-8247-91ba04457b07\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:20:19.8021217Z\",\"endTime\":\"2020-10-26T19:20:22.4173279Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"95cea829-d9ea-4f9f-a58c-900f511e3a2b\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/c40eb697-568f-4662-a780-6bdc086e25ec\",\"name\":\"c40eb697-568f-4662-a780-6bdc086e25ec\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-12T16:33:27.1488921Z\",\"endTime\":\"2021-05-12T16:33:29.1672234Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"e59694a0-66f3-4ee7-9c33-4aac501643ed\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "390", "391", "392" ], - "x-ms-client-request-id": [ "c27b028c-338e-406d-8d0d-07338aa30182", "c27b028c-338e-406d-8d0d-07338aa30182", "c27b028c-338e-406d-8d0d-07338aa30182" ], - "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase", "Az.Kusto.internal\\New-AzKustoDatabase" ], - "FullCommandName": [ "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create", "New-AzKustoDatabase_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "280" ], + "x-ms-client-request-id": [ "5d645e57-371c-4d51-8847-e3fb60dead16" ], + "CommandName": [ "Az.Kusto.internal\\New-AzKustoDatabase" ], + "FullCommandName": [ "New-AzKustoDatabase_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -100,33 +102,33 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a500be03-4a68-4285-bcdd-d0c0c4db3e4a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "0f77d9e0-abd0-4335-9488-35362f8eb2f9" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9e85e508-06d5-4664-b9a2-c8828391ecf8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192050Z:9e85e508-06d5-4664-b9a2-c8828391ecf8" ], + "x-ms-correlation-request-id": [ "cdbaf19d-f87a-42d4-a84b-2a594c854f37" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163358Z:cdbaf19d-f87a-42d4-a84b-2a594c854f37" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:20:50 GMT" ] + "Date": [ "Wed, 12 May 2021 16:33:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp\",\"name\":\"testclustermlhoe5/testdatabase46xdyp\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o\",\"name\":\"testclusterqlp6ob/testdatabase9u4t7o\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":0,\"hotCachePeriodInDays\":0,\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDatabase+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabase46xdyp?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabase9u4t7o?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "393" ], - "x-ms-client-request-id": [ "996fa3f6-2526-4bf9-852c-d5a1d3172954" ], + "x-ms-unique-id": [ "281" ], + "x-ms-client-request-id": [ "22250179-d3a5-4a9d-8cf4-fe532fcd736b" ], "CommandName": [ "Remove-AzKustoDatabase" ], "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -141,38 +143,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c8a756c2-e2d5-4df5-a99e-57b3745ee969?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c8a756c2-e2d5-4df5-a99e-57b3745ee969?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/afc1da4c-d5c0-4ee6-952b-6861eb155128?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/afc1da4c-d5c0-4ee6-952b-6861eb155128?api-version=2021-01-01" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14989" ], - "x-ms-request-id": [ "6dd5751b-b239-42d7-b19a-16999ed7e95d" ], - "x-ms-correlation-request-id": [ "6dd5751b-b239-42d7-b19a-16999ed7e95d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192051Z:6dd5751b-b239-42d7-b19a-16999ed7e95d" ], + "x-ms-request-id": [ "df971033-65b2-4175-a758-845be447bc80" ], + "x-ms-correlation-request-id": [ "df971033-65b2-4175-a758-845be447bc80" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163358Z:df971033-65b2-4175-a758-845be447bc80" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:20:50 GMT" ] + "Date": [ "Wed, 12 May 2021 16:33:58 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Remove-AzKustoDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c8a756c2-e2d5-4df5-a99e-57b3745ee969?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/afc1da4c-d5c0-4ee6-952b-6861eb155128?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c8a756c2-e2d5-4df5-a99e-57b3745ee969?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/afc1da4c-d5c0-4ee6-952b-6861eb155128?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "393", "394" ], - "x-ms-client-request-id": [ "996fa3f6-2526-4bf9-852c-d5a1d3172954", "996fa3f6-2526-4bf9-852c-d5a1d3172954" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "282" ], + "x-ms-client-request-id": [ "22250179-d3a5-4a9d-8cf4-fe532fcd736b" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -182,38 +185,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "a29a8f94-28b8-49b2-9ddd-636eedee5b8e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9699561e-ea36-466e-bfe8-62a733fdd2df" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192121Z:9699561e-ea36-466e-bfe8-62a733fdd2df" ], + "x-ms-request-id": [ "d6006b06-7c3d-462c-bb32-5081bd8599e2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], + "x-ms-correlation-request-id": [ "1f774687-8f13-4e36-9802-16f7ca5f8728" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163428Z:1f774687-8f13-4e36-9802-16f7ca5f8728" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:21:20 GMT" ] + "Date": [ "Wed, 12 May 2021 16:34:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "496" ], + "Content-Length": [ "494" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/c8a756c2-e2d5-4df5-a99e-57b3745ee969\",\"name\":\"c8a756c2-e2d5-4df5-a99e-57b3745ee969\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:20:51.0197184Z\",\"endTime\":\"2020-10-26T19:20:53.9415554Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"78f9f190-7159-4805-88fd-1e7244e6884f\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/afc1da4c-d5c0-4ee6-952b-6861eb155128\",\"name\":\"afc1da4c-d5c0-4ee6-952b-6861eb155128\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-12T16:33:58.60365Z\",\"endTime\":\"2021-05-12T16:34:01.6661531Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDelete\",\"RootActivityId\":\"91811d5d-0985-40f9-9db8-2a79e68d9153\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c8a756c2-e2d5-4df5-a99e-57b3745ee969?api-version=2020-09-18\u0026operationResultResponseType=Location+6": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/afc1da4c-d5c0-4ee6-952b-6861eb155128?api-version=2021-01-01\u0026operationResultResponseType=Location+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c8a756c2-e2d5-4df5-a99e-57b3745ee969?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/afc1da4c-d5c0-4ee6-952b-6861eb155128?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "393", "394", "395" ], - "x-ms-client-request-id": [ "996fa3f6-2526-4bf9-852c-d5a1d3172954", "996fa3f6-2526-4bf9-852c-d5a1d3172954", "996fa3f6-2526-4bf9-852c-d5a1d3172954" ], - "CommandName": [ "Remove-AzKustoDatabase", "Remove-AzKustoDatabase", "Remove-AzKustoDatabase" ], - "FullCommandName": [ "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete", "Remove-AzKustoDatabase_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "283" ], + "x-ms-client-request-id": [ "22250179-d3a5-4a9d-8cf4-fe532fcd736b" ], + "CommandName": [ "Remove-AzKustoDatabase" ], + "FullCommandName": [ "Remove-AzKustoDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -223,21 +226,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "fcfd2cca-7def-4465-b459-dfa8275029d3" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-correlation-request-id": [ "403728da-b904-41a3-bb46-1814b093015d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192121Z:403728da-b904-41a3-bb46-1814b093015d" ], + "x-ms-request-id": [ "edb92917-bc61-4a89-97b7-4b609d955175" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "276" ], + "x-ms-correlation-request-id": [ "dd801225-7c58-4cd9-b699-4426a9372c7f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163429Z:dd801225-7c58-4cd9-b699-4426a9372c7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:21:21 GMT" ] + "Date": [ "Wed, 12 May 2021 16:34:28 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Remove-AzKustoDatabase.Tests.ps1 b/src/Kusto/test/Remove-AzKustoDatabase.Tests.ps1 index d9cea24c7d40..5786810cb229 100644 --- a/src/Kusto/test/Remove-AzKustoDatabase.Tests.ps1 +++ b/src/Kusto/test/Remove-AzKustoDatabase.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoDatabase.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Remove-AzKustoDatabase' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoDatabase.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'Delete' { $name = "testdatabase" + $env.rstr4 New-AzKustoDatabase -ResourceGroupName $env.resourceGroupName -ClusterName $env.clusterName -Name $name -Kind ReadWrite -Location $env.location diff --git a/src/Kusto/test/Remove-AzKustoDatabasePrincipal.Recording.json b/src/Kusto/test/Remove-AzKustoDatabasePrincipal.Recording.json index f1dc6ce7647c..4649abce5da4 100644 --- a/src/Kusto/test/Remove-AzKustoDatabasePrincipal.Recording.json +++ b/src/Kusto/test/Remove-AzKustoDatabasePrincipal.Recording.json @@ -1,12 +1,13 @@ { - "Remove-AzKustoDatabasePrincipal+[NoContext]+RemoveExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/listPrincipals?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+RemoveExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/listPrincipals?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/listPrincipals?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/listPrincipals?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "396" ], - "x-ms-client-request-id": [ "ed2a0db6-297c-4f44-a050-1c533764f20c" ], + "x-ms-unique-id": [ "284" ], + "x-ms-client-request-id": [ "eef7c199-785c-44c1-9cf4-08a755f4211f" ], "CommandName": [ "Get-AzKustoDatabasePrincipal" ], "FullCommandName": [ "Get-AzKustoDatabasePrincipal_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -21,35 +22,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-request-id": [ "5abf9bce-77c4-4e5a-9d28-e7e503b99713" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e96289fa-22fe-4336-a072-7cea26e17f98" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192122Z:e96289fa-22fe-4336-a072-7cea26e17f98" ], + "x-ms-request-id": [ "9915606a-a678-4b22-9252-c0e206de868b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "24b86df6-a985-41e2-9b91-62ac8234d422" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163430Z:24b86df6-a985-41e2-9b91-62ac8234d422" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:21:22 GMT" ] + "Date": [ "Wed, 12 May 2021 16:34:29 GMT" ] }, "ContentHeaders": { "Content-Length": [ "464" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"name\":\"KustoClientsScenarioTest\",\"role\":\"Viewer\",\"type\":\"App\",\"fqn\":\"aadapp=713c3475-5021-4f3b-a650-eaa9a83f25a4;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"\",\"appId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"tenantName\":\"Microsoft\"},{\"name\":\"Assaf Taubenfeld\",\"role\":\"Admin\",\"type\":\"User\",\"fqn\":\"aaduser=53d8fc23-618e-49fa-ae3f-ae65cc60aa37;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"astauben@microsoft.com\",\"appId\":\"\",\"tenantName\":\"Microsoft\"}]}" + "Content": "{\"value\":[{\"name\":\"Assaf Taubenfeld\",\"role\":\"Admin\",\"type\":\"User\",\"fqn\":\"aaduser=53d8fc23-618e-49fa-ae3f-ae65cc60aa37;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"astauben@microsoft.com\",\"appId\":\"\",\"tenantName\":\"Microsoft\"},{\"name\":\"KustoClientsScenarioTest\",\"role\":\"Viewer\",\"type\":\"App\",\"fqn\":\"aadapp=713c3475-5021-4f3b-a650-eaa9a83f25a4;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"\",\"appId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"tenantName\":\"Microsoft\"}]}", + "isContentBase64": false } }, - "Remove-AzKustoDatabasePrincipal+[NoContext]+RemoveExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/removePrincipals?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+RemoveExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/removePrincipals?api-version=2021-01-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/removePrincipals?api-version=2020-09-18", - "Content": "{\r\n \"value\": [\r\n {\r\n \"name\": \"KustoClientsScenarioTest\",\r\n \"type\": \"App\",\r\n \"appId\": \"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\r\n \"email\": \"\",\r\n \"role\": \"Viewer\"\r\n }\r\n ]\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/removePrincipals?api-version=2021-01-01", + "Content": "{\r\n \"value\": [\r\n {\r\n \"role\": \"Admin\",\r\n \"name\": \"Assaf Taubenfeld\",\r\n \"type\": \"User\",\r\n \"email\": \"astauben@microsoft.com\",\r\n \"appId\": \"\"\r\n }\r\n ]\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "202" ] + "Content-Length": [ "180" ] } }, "Response": { @@ -57,35 +58,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-request-id": [ "920aab6c-9472-4655-8cf8-7ab3c4124fa0" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d0c125e4-e7b7-497d-9204-7d00dcad73fa" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192123Z:d0c125e4-e7b7-497d-9204-7d00dcad73fa" ], + "x-ms-request-id": [ "34b2576d-2255-491d-aa63-b922d8ab84a2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-correlation-request-id": [ "df61f96b-b4bd-4fd8-82e1-f8b35e7e93f0" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163431Z:df61f96b-b4bd-4fd8-82e1-f8b35e7e93f0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:21:22 GMT" ] + "Date": [ "Wed, 12 May 2021 16:34:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "227" ], + "Content-Length": [ "248" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"name\":\"Assaf Taubenfeld\",\"role\":\"Admin\",\"type\":\"User\",\"fqn\":\"aaduser=53d8fc23-618e-49fa-ae3f-ae65cc60aa37;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"astauben@microsoft.com\",\"appId\":\"\",\"tenantName\":\"Microsoft\"}]}" + "Content": "{\"value\":[{\"name\":\"KustoClientsScenarioTest\",\"role\":\"Viewer\",\"type\":\"App\",\"fqn\":\"aadapp=713c3475-5021-4f3b-a650-eaa9a83f25a4;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"\",\"appId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"tenantName\":\"Microsoft\"}]}", + "isContentBase64": false } }, - "Remove-AzKustoDatabasePrincipal+[NoContext]+RemoveExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/addPrincipals?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+RemoveExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/addPrincipals?api-version=2021-01-01+3": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/addPrincipals?api-version=2020-09-18", - "Content": "{\r\n \"value\": [\r\n {\r\n \"name\": \"KustoClientsScenarioTest\",\r\n \"type\": \"App\",\r\n \"appId\": \"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\r\n \"email\": \"\",\r\n \"role\": \"Viewer\"\r\n }\r\n ]\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/addPrincipals?api-version=2021-01-01", + "Content": "{\r\n \"value\": [\r\n {\r\n \"role\": \"Admin\",\r\n \"name\": \"Assaf Taubenfeld\",\r\n \"type\": \"User\",\r\n \"email\": \"astauben@microsoft.com\",\r\n \"appId\": \"\"\r\n }\r\n ]\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "202" ] + "Content-Length": [ "180" ] } }, "Response": { @@ -93,23 +94,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-request-id": [ "7f4f16a2-bee7-46a5-9290-93123f2c6d6d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "1e41da08-5e61-4f6f-a86f-cd1790181cec" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192123Z:1e41da08-5e61-4f6f-a86f-cd1790181cec" ], + "x-ms-request-id": [ "b7c6824f-6274-4693-b02c-8efa103ad0cb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], + "x-ms-correlation-request-id": [ "34de99fa-db7c-49ce-b859-da23416b43d6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163432Z:34de99fa-db7c-49ce-b859-da23416b43d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:21:23 GMT" ] + "Date": [ "Wed, 12 May 2021 16:34:31 GMT" ] }, "ContentHeaders": { "Content-Length": [ "464" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"name\":\"Assaf Taubenfeld\",\"role\":\"Admin\",\"type\":\"User\",\"fqn\":\"aaduser=53d8fc23-618e-49fa-ae3f-ae65cc60aa37;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"astauben@microsoft.com\",\"appId\":\"\",\"tenantName\":\"Microsoft\"},{\"name\":\"KustoClientsScenarioTest\",\"role\":\"Viewer\",\"type\":\"App\",\"fqn\":\"aadapp=713c3475-5021-4f3b-a650-eaa9a83f25a4;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"\",\"appId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"tenantName\":\"Microsoft\"}]}" + "Content": "{\"value\":[{\"name\":\"KustoClientsScenarioTest\",\"role\":\"Viewer\",\"type\":\"App\",\"fqn\":\"aadapp=713c3475-5021-4f3b-a650-eaa9a83f25a4;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"\",\"appId\":\"713c3475-5021-4f3b-a650-eaa9a83f25a4\",\"tenantName\":\"Microsoft\"},{\"name\":\"Assaf Taubenfeld\",\"role\":\"Admin\",\"type\":\"User\",\"fqn\":\"aaduser=53d8fc23-618e-49fa-ae3f-ae65cc60aa37;72f988bf-86f1-41af-91ab-2d7cd011db47\",\"email\":\"astauben@microsoft.com\",\"appId\":\"\",\"tenantName\":\"Microsoft\"}]}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Remove-AzKustoDatabasePrincipal.Tests.ps1 b/src/Kusto/test/Remove-AzKustoDatabasePrincipal.Tests.ps1 index 695735c6f45e..0da9bde3321f 100644 --- a/src/Kusto/test/Remove-AzKustoDatabasePrincipal.Tests.ps1 +++ b/src/Kusto/test/Remove-AzKustoDatabasePrincipal.Tests.ps1 @@ -1,17 +1,18 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoDatabasePrincipal.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Remove-AzKustoDatabasePrincipal' { + BeforeAll{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoDatabasePrincipal.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'RemoveExpanded' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/Remove-AzKustoDatabasePrincipalAssignment.Recording.json b/src/Kusto/test/Remove-AzKustoDatabasePrincipalAssignment.Recording.json index d588ea33acf9..b7ecefc47627 100644 --- a/src/Kusto/test/Remove-AzKustoDatabasePrincipalAssignment.Recording.json +++ b/src/Kusto/test/Remove-AzKustoDatabasePrincipalAssignment.Recording.json @@ -1,9 +1,10 @@ { - "Remove-AzKustoDatabasePrincipalAssignment+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"principalId\": \"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\r\n \"principalType\": \"App\",\r\n \"role\": \"Viewer\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"principalId\": \"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\r\n \"role\": \"Viewer\",\r\n \"principalType\": \"App\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -17,38 +18,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"\"" ], - "x-ms-request-id": [ "8454aee5-6b49-4085-8723-2fb0c7e0d602" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/336efc25-8336-44f6-9117-828259fa84d5?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "f230e2aa-6e37-4c59-8427-317afa79f912" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192125Z:f230e2aa-6e37-4c59-8427-317afa79f912" ], + "x-ms-request-id": [ "71bf379e-1c4c-4f61-ae57-a4ca92aff3e2" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7b8b229f-a45f-4317-b5f4-dd4ce39295ef?api-version=2021-01-01" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-correlation-request-id": [ "8248579e-ab05-4990-aaf3-50b162de4f41" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163433Z:8248579e-ab05-4990-aaf3-50b162de4f41" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:21:24 GMT" ] + "Date": [ "Wed, 12 May 2021 16:34:33 GMT" ] }, "ContentHeaders": { "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"principalType\":\"App\",\"role\":\"Viewer\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"Viewer\",\"principalType\":\"App\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDatabasePrincipalAssignment+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/336efc25-8336-44f6-9117-828259fa84d5?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7b8b229f-a45f-4317-b5f4-dd4ce39295ef?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/336efc25-8336-44f6-9117-828259fa84d5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7b8b229f-a45f-4317-b5f4-dd4ce39295ef?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "399", "400" ], - "x-ms-client-request-id": [ "2e21eb04-901e-42e1-9b4a-f5665699ec4e", "2e21eb04-901e-42e1-9b4a-f5665699ec4e" ], - "CommandName": [ "New-AzKustoDatabasePrincipalAssignment", "New-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded", "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "288" ], + "x-ms-client-request-id": [ "7612f586-46b6-433a-b727-1ef7b20b3fa9" ], + "CommandName": [ "New-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -58,38 +60,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "fee08936-65e4-43b5-9856-33e9de72791c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "929cc03b-4347-4854-887b-b32afb99593f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192155Z:929cc03b-4347-4854-887b-b32afb99593f" ], + "x-ms-request-id": [ "e7b05cb3-6d31-4b2e-b49d-0ef2df4885fa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "431f982e-1497-4bbb-86ba-aa1e2c140e23" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163504Z:431f982e-1497-4bbb-86ba-aa1e2c140e23" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:21:54 GMT" ] + "Date": [ "Wed, 12 May 2021 16:35:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "503" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/336efc25-8336-44f6-9117-828259fa84d5\",\"name\":\"336efc25-8336-44f6-9117-828259fa84d5\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:21:24.8446283Z\",\"endTime\":\"2020-10-26T19:21:24.9227574Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseAddPrincipals\",\"RootActivityId\":\"986cae01-9ffe-45f2-95fe-def8768fcf78\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7b8b229f-a45f-4317-b5f4-dd4ce39295ef\",\"name\":\"7b8b229f-a45f-4317-b5f4-dd4ce39295ef\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-12T16:34:33.5447381Z\",\"endTime\":\"2021-05-12T16:34:33.7321874Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseAddPrincipals\",\"RootActivityId\":\"cc0a5199-87c4-4950-a759-b6e721fabd37\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDatabasePrincipalAssignment+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "399", "400", "401" ], - "x-ms-client-request-id": [ "2e21eb04-901e-42e1-9b4a-f5665699ec4e", "2e21eb04-901e-42e1-9b4a-f5665699ec4e", "2e21eb04-901e-42e1-9b4a-f5665699ec4e" ], - "CommandName": [ "New-AzKustoDatabasePrincipalAssignment", "New-AzKustoDatabasePrincipalAssignment", "New-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded", "New-AzKustoDatabasePrincipalAssignment_CreateExpanded", "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "289" ], + "x-ms-client-request-id": [ "7612f586-46b6-433a-b727-1ef7b20b3fa9" ], + "CommandName": [ "New-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -100,33 +102,33 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "55dab67e-9f97-4946-bfaa-2c6da3c0b8e8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "619656cd-2da4-4687-b096-83861fcc31e4" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7d2c9d47-b082-4715-8291-89c791063856" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192155Z:7d2c9d47-b082-4715-8291-89c791063856" ], + "x-ms-correlation-request-id": [ "8c751dc1-0259-4d52-bf75-ec06879a592f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163504Z:8c751dc1-0259-4d52-bf75-ec06879a592f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:21:54 GMT" ] + "Date": [ "Wed, 12 May 2021 16:35:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "616" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"Viewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"lugoldbekusto\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"Viewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"lugoldbekusto\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDatabasePrincipalAssignment+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "402" ], - "x-ms-client-request-id": [ "767363f3-5de4-4173-a120-ab5f39c85b58" ], + "x-ms-unique-id": [ "290" ], + "x-ms-client-request-id": [ "391fbfc1-6c59-4134-afc7-83627d1494b0" ], "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment" ], "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -141,38 +143,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2d1c7a88-520d-4934-8da1-b0f241f68b91?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2d1c7a88-520d-4934-8da1-b0f241f68b91?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/34e523ce-b107-4d42-8e8d-fd6ad61cc221?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/34e523ce-b107-4d42-8e8d-fd6ad61cc221?api-version=2021-01-01" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14988" ], - "x-ms-request-id": [ "b9b3e05f-d15e-4e5f-8c5d-69f1e443743f" ], - "x-ms-correlation-request-id": [ "b9b3e05f-d15e-4e5f-8c5d-69f1e443743f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192156Z:b9b3e05f-d15e-4e5f-8c5d-69f1e443743f" ], + "x-ms-request-id": [ "2c400002-a89c-4a80-b03f-88ef47a8d376" ], + "x-ms-correlation-request-id": [ "2c400002-a89c-4a80-b03f-88ef47a8d376" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163505Z:2c400002-a89c-4a80-b03f-88ef47a8d376" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:21:55 GMT" ] + "Date": [ "Wed, 12 May 2021 16:35:05 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Remove-AzKustoDatabasePrincipalAssignment+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2d1c7a88-520d-4934-8da1-b0f241f68b91?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/34e523ce-b107-4d42-8e8d-fd6ad61cc221?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2d1c7a88-520d-4934-8da1-b0f241f68b91?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/34e523ce-b107-4d42-8e8d-fd6ad61cc221?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "402", "403" ], - "x-ms-client-request-id": [ "767363f3-5de4-4173-a120-ab5f39c85b58", "767363f3-5de4-4173-a120-ab5f39c85b58" ], - "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment", "Remove-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete", "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "291" ], + "x-ms-client-request-id": [ "391fbfc1-6c59-4134-afc7-83627d1494b0" ], + "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -182,38 +185,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "eb372356-85f6-4713-8776-cb5025101aaa" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "135f95d6-83b8-4030-8f38-22732e45d7f7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192226Z:135f95d6-83b8-4030-8f38-22732e45d7f7" ], + "x-ms-request-id": [ "c6c32d8a-db76-4d4c-b8a4-13f1da086f43" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "bb7a4a3a-e635-410b-bb2e-33c0851ec4c6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163535Z:bb7a4a3a-e635-410b-bb2e-33c0851ec4c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:22:26 GMT" ] + "Date": [ "Wed, 12 May 2021 16:35:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/2d1c7a88-520d-4934-8da1-b0f241f68b91\",\"name\":\"2d1c7a88-520d-4934-8da1-b0f241f68b91\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:21:56.1835804Z\",\"endTime\":\"2020-10-26T19:21:56.2616951Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDropPrincipals\",\"RootActivityId\":\"5418312f-1f1a-4708-9228-ca8aff745bf1\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/34e523ce-b107-4d42-8e8d-fd6ad61cc221\",\"name\":\"34e523ce-b107-4d42-8e8d-fd6ad61cc221\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-12T16:35:05.3966248Z\",\"endTime\":\"2021-05-12T16:35:05.6465646Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDropPrincipals\",\"RootActivityId\":\"f8cbbb64-8845-460c-bb74-cdc30a6bcbf5\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Remove-AzKustoDatabasePrincipalAssignment+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/2d1c7a88-520d-4934-8da1-b0f241f68b91?api-version=2020-09-18\u0026operationResultResponseType=Location+6": { + "[NoDescription]+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/34e523ce-b107-4d42-8e8d-fd6ad61cc221?api-version=2021-01-01\u0026operationResultResponseType=Location+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/2d1c7a88-520d-4934-8da1-b0f241f68b91?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/34e523ce-b107-4d42-8e8d-fd6ad61cc221?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "402", "403", "404" ], - "x-ms-client-request-id": [ "767363f3-5de4-4173-a120-ab5f39c85b58", "767363f3-5de4-4173-a120-ab5f39c85b58", "767363f3-5de4-4173-a120-ab5f39c85b58" ], - "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment", "Remove-AzKustoDatabasePrincipalAssignment", "Remove-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete", "Remove-AzKustoDatabasePrincipalAssignment_Delete", "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "292" ], + "x-ms-client-request-id": [ "391fbfc1-6c59-4134-afc7-83627d1494b0" ], + "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -223,21 +226,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "2cb4e284-9d35-4150-9902-18ecc0814d2e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-correlation-request-id": [ "6eb452ad-3a9c-43da-8b38-b2aa53024743" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192226Z:6eb452ad-3a9c-43da-8b38-b2aa53024743" ], + "x-ms-request-id": [ "e31eb4d8-5a10-4a39-a360-b7ea2413b920" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "2bf62e4c-ed5d-4d9f-b9ab-94b162ab443f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210512T163536Z:2bf62e4c-ed5d-4d9f-b9ab-94b162ab443f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:22:26 GMT" ] + "Date": [ "Wed, 12 May 2021 16:35:36 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], "Content-Length": [ "0" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Remove-AzKustoDatabasePrincipalAssignment.Tests.ps1 b/src/Kusto/test/Remove-AzKustoDatabasePrincipalAssignment.Tests.ps1 index 13604cafc87b..c604c453b0d7 100644 --- a/src/Kusto/test/Remove-AzKustoDatabasePrincipalAssignment.Tests.ps1 +++ b/src/Kusto/test/Remove-AzKustoDatabasePrincipalAssignment.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoDatabasePrincipalAssignment.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Remove-AzKustoDatabasePrincipalAssignment' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoDatabasePrincipalAssignment.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'Delete' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName diff --git a/src/Kusto/test/Remove-AzKustoScript.Tests.ps1 b/src/Kusto/test/Remove-AzKustoScript.Tests.ps1 new file mode 100644 index 000000000000..eeb02e37560c --- /dev/null +++ b/src/Kusto/test/Remove-AzKustoScript.Tests.ps1 @@ -0,0 +1,25 @@ +Describe 'Remove-AzKustoScript' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzKustoScript.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Kusto/test/Start-AzKustoCluster.Recording.json b/src/Kusto/test/Start-AzKustoCluster.Recording.json index 3789ccb17d7d..3094be8ee06d 100644 --- a/src/Kusto/test/Start-AzKustoCluster.Recording.json +++ b/src/Kusto/test/Start-AzKustoCluster.Recording.json @@ -1,12 +1,13 @@ { - "Start-AzKustoCluster+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/stop?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/stop?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/stop?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/stop?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], + "x-ms-unique-id": [ "214" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], "CommandName": [ "Stop-AzKustoCluster" ], "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,163 +20,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "4f4057b6-f489-4996-9182-775d350c3fbd" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], - "x-ms-correlation-request-id": [ "1c608346-ea9a-45af-957c-c61f7031dfa2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192227Z:1c608346-ea9a-45af-957c-c61f7031dfa2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:22:27 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "405", "406" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "9066fa95-451d-4154-9f23-244aad9a819e" ], - "x-ms-request-id": [ "7ea25d26-8443-40ec-8d94-f1fe6db3f450" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192257Z:9066fa95-451d-4154-9f23-244aad9a819e" ], + "x-ms-request-id": [ "27f79eba-c8c4-45ed-9ca7-2e4b17ede85d" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], + "x-ms-correlation-request-id": [ "5f933fdd-2704-48cf-b08f-e3d033f94baf" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131136Z:5f933fdd-2704-48cf-b08f-e3d033f94baf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:22:57 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "405", "406", "407" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "390f134e-7efe-446b-a249-114df082c39b" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "696c3972-e30f-42f8-9b76-a32a354ce133" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192328Z:696c3972-e30f-42f8-9b76-a32a354ce133" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:23:27 GMT" ] + "Date": [ "Thu, 13 May 2021 13:11:35 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", "Content": null, - "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-request-id": [ "c2af069a-6c1e-4f97-97cb-16affb16b5e8" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bd0c24e4-af08-4a1a-a83f-da75fbbaa410" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192358Z:bd0c24e4-af08-4a1a-a83f-da75fbbaa410" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:23:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "215" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -183,81 +62,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "277" ], - "x-ms-request-id": [ "df2ac001-ae98-4ad1-bfa4-9dc041f17b9f" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "197ac904-bc10-4560-9aea-a9654443e873" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192428Z:197ac904-bc10-4560-9aea-a9654443e873" ], + "x-ms-request-id": [ "a30668d2-e770-4edc-ae2b-830ea9901a62" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "f30f7382-a6a7-4eef-8e89-02afb8d7d231" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131206Z:f30f7382-a6a7-4eef-8e89-02afb8d7d231" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:24:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "276" ], - "x-ms-request-id": [ "70e06d74-02f4-4463-b6ec-ed93db2b29d5" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "4f5978a9-dce9-46ff-af0a-99b21097d2ba" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192459Z:4f5978a9-dce9-46ff-af0a-99b21097d2ba" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:24:58 GMT" ] + "Date": [ "Thu, 13 May 2021 13:12:06 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "216" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -265,40 +103,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a21718a1-f0c0-4db6-b871-23f63cecd70c" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "26886d5a-631a-4d26-a12a-678d8914f76e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "00e80b37-17fe-49d6-b904-5ed43d0a96e2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192529Z:00e80b37-17fe-49d6-b904-5ed43d0a96e2" ], + "x-ms-correlation-request-id": [ "f2b7125f-7446-40af-ab5d-da5ac95d4ba9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131236Z:f2b7125f-7446-40af-ab5d-da5ac95d4ba9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:25:28 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:12:36 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "217" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -306,40 +144,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "9418799b-989d-4fa6-ab62-907db6bbac6a" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "f6d65551-4042-43f9-9a20-533f0d0f2264" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f9095c09-f59d-4f40-a1ed-3b538ba44a43" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192559Z:f9095c09-f59d-4f40-a1ed-3b538ba44a43" ], + "x-ms-correlation-request-id": [ "90169a6e-7560-4a2f-84fc-16029f624b4e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131307Z:90169a6e-7560-4a2f-84fc-16029f624b4e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:25:59 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:13:06 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "218" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -347,40 +185,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "bb6f1d0c-8d56-493d-a6f2-daff5e7d7d84" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "6970a7eb-5570-45c0-ba2f-0408556cd756" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b7b1e519-2aac-4399-a05b-33362d27ca55" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192629Z:b7b1e519-2aac-4399-a05b-33362d27ca55" ], + "x-ms-correlation-request-id": [ "0583e812-8f0c-4354-8215-47af427d4cc8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131337Z:0583e812-8f0c-4354-8215-47af427d4cc8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:26:29 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:13:36 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "219" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -388,40 +226,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "7c8d353b-aaf3-4a08-8c66-8600766a4ae0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "4ee7923d-59c0-48c6-b74d-7c8023a1829a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "22615553-0c57-4893-9a55-d84b7e0d7d56" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192700Z:22615553-0c57-4893-9a55-d84b7e0d7d56" ], + "x-ms-correlation-request-id": [ "c09fc058-1085-4522-b907-7da4fa76780c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131408Z:c09fc058-1085-4522-b907-7da4fa76780c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:26:59 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:14:07 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "220" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -429,81 +267,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a31fcce4-b943-4d79-a9ef-e06609c4fbb7" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "9eb52f34-1e9d-45ee-81d6-0c0949511934" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5038d891-4084-4acc-b661-1fc29101d39f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192730Z:5038d891-4084-4acc-b661-1fc29101d39f" ], + "x-ms-correlation-request-id": [ "24729075-d724-4cce-8024-19550b19c40e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131438Z:24729075-d724-4cce-8024-19550b19c40e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:27:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "a73118a4-e118-4b9a-83de-667047176e48" ], - "x-ms-request-id": [ "53749e79-1729-4196-8141-2dc905c27e9b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192800Z:a73118a4-e118-4b9a-83de-667047176e48" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:28:00 GMT" ] + "Date": [ "Thu, 13 May 2021 13:14:38 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+13": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "221" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -511,40 +308,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "7018f69b-2ce4-41f9-af62-4ab8fa17b952" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bdfc810b-07b8-4be5-b2ef-d9d239c5a76e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192831Z:bdfc810b-07b8-4be5-b2ef-d9d239c5a76e" ], + "x-ms-request-id": [ "ad69cceb-6f20-4ac9-a157-a275feaf19c4" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "89cb8b9d-a7b6-48f8-82c8-ca375c59feb1" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131508Z:89cb8b9d-a7b6-48f8-82c8-ca375c59feb1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:28:30 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:15:08 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+14": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "222" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -552,40 +349,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "69354580-e05c-4aba-92f0-49490fde0d1a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "407da24f-f525-45e8-86ab-edf2aae6a128" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192901Z:407da24f-f525-45e8-86ab-edf2aae6a128" ], + "x-ms-request-id": [ "26b8d176-d48d-4e58-ac25-d90f1166c370" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "34b75dc8-84bb-4258-a46c-b8ca5fc82df4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131539Z:34b75dc8-84bb-4258-a46c-b8ca5fc82df4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:29:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:15:38 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+15": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418", "419" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "223" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -593,40 +390,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-request-id": [ "b7c462b9-963b-4104-9b71-e30917895b5f" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "342a682f-2af6-4088-9251-0be6b361825d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T192931Z:342a682f-2af6-4088-9251-0be6b361825d" ], + "x-ms-request-id": [ "fd617262-3ba3-49f1-8fec-667ffd9cc71f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "ad44aec8-7435-439b-97dd-11d37ec101a6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131609Z:ad44aec8-7435-439b-97dd-11d37ec101a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:29:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:16:08 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+16": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418", "419", "420" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "224" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -634,40 +431,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], - "x-ms-request-id": [ "4309a64f-bdd2-45db-bfe2-acad2ed3c07a" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d2f3669c-2f04-4227-9906-377ebbee7414" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193002Z:d2f3669c-2f04-4227-9906-377ebbee7414" ], + "x-ms-request-id": [ "29a7f7d8-6438-43db-bd38-41bcc7405fdf" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "acf9a04d-1384-4568-be87-02bdf1609e4a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131639Z:acf9a04d-1384-4568-be87-02bdf1609e4a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:30:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:16:39 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+17": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418", "419", "420", "421" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "225" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -675,40 +472,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "47fbdd41-f8e0-4db9-9f9d-9b7684ff21cc" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "12a0aff4-ddda-4a06-a3b3-64f6df3797c2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193032Z:12a0aff4-ddda-4a06-a3b3-64f6df3797c2" ], + "x-ms-request-id": [ "a2d4e212-e7a4-4cb8-a98d-3774eb08916e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "22327311-db27-4dde-9c9d-b9fe50ca5c42" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131710Z:22327311-db27-4dde-9c9d-b9fe50ca5c42" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:30:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:17:09 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:11:36.8071241Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+18": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418", "419", "420", "421", "422" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "226" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -716,40 +513,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "479f9b2b-5837-4758-b456-e8483637a717" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "cd2fabef-fcbc-487f-a4a8-08a0379d962d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193102Z:cd2fabef-fcbc-487f-a4a8-08a0379d962d" ], + "x-ms-request-id": [ "840250b2-59cc-4b40-b999-8ba419be3c91" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "80304ca5-e6c3-46f4-b390-ff95bc7e6560" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131740Z:80304ca5-e6c3-46f4-b390-ff95bc7e6560" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:31:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:17:40 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "495" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:22:28.6839651Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/de417283-1ea9-4cfd-a57e-8412ebd04421\",\"name\":\"de417283-1ea9-4cfd-a57e-8412ebd04421\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:11:36.1508903Z\",\"endTime\":\"2021-05-13T13:17:28.721506Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b81b169f-2e32-45bb-a156-9c5fd8ae984a\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18+19": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01\u0026operationResultResponseType=Location+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/de417283-1ea9-4cfd-a57e-8412ebd04421?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418", "419", "420", "421", "422", "423" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "227" ], + "x-ms-client-request-id": [ "bf655857-9cdc-48b8-9699-e3ae42bef139" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -757,74 +554,34 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "1927598a-8942-4aeb-882a-75e61bec730d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "dcb9e1ce-fc6a-4a8b-9c4b-6409322a478c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193132Z:dcb9e1ce-fc6a-4a8b-9c4b-6409322a478c" ], + "x-ms-request-id": [ "b39aed3c-fe64-4030-b296-e9be0be5f274" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "5ac2643c-a77a-49ab-aedc-5faa21729544" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131740Z:5ac2643c-a77a-49ab-aedc-5faa21729544" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:31:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:17:40 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "496" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"name\":\"860aa8b2-4c0c-48f4-bb34-70660b4305ae\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:22:27.4652193Z\",\"endTime\":\"2020-10-26T19:31:21.6154136Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"3edce544-f7ee-4439-b5a8-7a29b0f8b448\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" - } - }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18\u0026operationResultResponseType=Location+20": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/860aa8b2-4c0c-48f4-bb34-70660b4305ae?api-version=2020-09-18\u0026operationResultResponseType=Location", "Content": null, - "Headers": { - "x-ms-unique-id": [ "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418", "419", "420", "421", "422", "423", "424" ], - "x-ms-client-request-id": [ "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634", "ac9fcc63-97ed-457b-b28f-fea5a8493634" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "91eb99b2-bfd8-4271-83ea-afb855c51fe7" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-correlation-request-id": [ "a749739f-ba97-48f7-861c-d8ade481ae34" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193133Z:a749739f-ba97-48f7-861c-d8ade481ae34" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:31:32 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/start?api-version=2020-09-18+21": { + "[NoDescription]+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/start?api-version=2021-01-01+15": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/start?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/start?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d" ], + "x-ms-unique-id": [ "228" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], "CommandName": [ "Start-AzKustoCluster" ], "FullCommandName": [ "Start-AzKustoCluster_Start" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -837,122 +594,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "6e1b5111-e160-4570-a30a-f206311c750c" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-correlation-request-id": [ "85c6abee-31f3-4495-8279-5a2b712d74bc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193133Z:85c6abee-31f3-4495-8279-5a2b712d74bc" ], + "x-ms-request-id": [ "6ca449c6-b3e3-4394-9139-badb58e54df3" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], + "x-ms-correlation-request-id": [ "be7417c3-e792-4839-812b-89e84f4be331" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131741Z:be7417c3-e792-4839-812b-89e84f4be331" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:31:33 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+22": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "425", "426" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "279c658e-328b-48fc-9e23-10799b644215" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "49b61274-59cc-4910-96ef-3ed4d592a88c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193203Z:49b61274-59cc-4910-96ef-3ed4d592a88c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:32:03 GMT" ] + "Date": [ "Thu, 13 May 2021 13:17:41 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+23": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", "Content": null, - "Headers": { - "x-ms-unique-id": [ "425", "426", "427" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "62c29b81-7f84-4999-a284-df074267e6de" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ba095627-5b59-4586-ad16-35d84c3b4639" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193233Z:ba095627-5b59-4586-ad16-35d84c3b4639" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:32:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "491" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+24": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "229" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -960,40 +636,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "967f8c77-3891-484c-bff7-65db02a378b3" ], - "x-ms-request-id": [ "6bc8359b-13f7-4274-9199-d7ab464be273" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "44755473-13e4-4fd9-b115-a045a8ae203b" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193304Z:967f8c77-3891-484c-bff7-65db02a378b3" ], + "x-ms-correlation-request-id": [ "6ce9acfd-ce40-4745-b3ad-6a09ff7ed852" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131812Z:6ce9acfd-ce40-4745-b3ad-6a09ff7ed852" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:33:04 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:18:12 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+25": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "230" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1001,40 +677,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "6e73de66-6151-4f19-8035-2420b5aaa123" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "f4764ab9-d921-404b-8e7e-24c74098c12b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "21eb0644-538f-463e-a95d-10c73cfe897e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193334Z:21eb0644-538f-463e-a95d-10c73cfe897e" ], + "x-ms-correlation-request-id": [ "7b8939b5-6034-43b2-8311-c69740b32372" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131842Z:7b8939b5-6034-43b2-8311-c69740b32372" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:33:34 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:18:41 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+26": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "231" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1042,40 +718,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "1abb880e-4c4c-4044-bbbc-f666359d9246" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "020a4301-4b1a-4f1c-ada7-cec6b1c9d2e0" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ccc67329-ba2b-4157-aede-09b9271d8b11" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193405Z:ccc67329-ba2b-4157-aede-09b9271d8b11" ], + "x-ms-correlation-request-id": [ "daaa5588-fa3f-4075-a94c-135035101f41" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131912Z:daaa5588-fa3f-4075-a94c-135035101f41" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:34:04 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:19:12 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+27": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "232" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1083,40 +759,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3b8e0181-1a48-449c-9800-b24052c93f1c" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "8c0a0d49-5772-460d-b219-eab71f2644c5" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "462bb4b2-3c47-44ad-81cf-b78eeaea6dcb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193435Z:462bb4b2-3c47-44ad-81cf-b78eeaea6dcb" ], + "x-ms-correlation-request-id": [ "aac2955a-bc0a-4b81-a785-71d896147819" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131943Z:aac2955a-bc0a-4b81-a785-71d896147819" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:34:35 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:19:42 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+28": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "233" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1124,40 +800,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "b7cc4701-fd50-497c-a197-50d4d00676e3" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "b5269d90-35ce-4c84-81fa-71f12d3de31b" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "6bfc1c2b-858b-411d-97f0-3957f816d785" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193507Z:6bfc1c2b-858b-411d-97f0-3957f816d785" ], + "x-ms-correlation-request-id": [ "e66af626-98f2-4474-a15d-f8ea0e78dbb3" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132014Z:e66af626-98f2-4474-a15d-f8ea0e78dbb3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:35:07 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:20:13 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+29": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "234" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1165,40 +841,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "993227fb-657c-4afc-8e4f-85e321955172" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "2c71c936-7c33-44c2-9554-389a9ed0dc5e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "70a82bd6-ce97-4925-9268-d66bb67c8742" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193538Z:70a82bd6-ce97-4925-9268-d66bb67c8742" ], + "x-ms-correlation-request-id": [ "384f5015-f488-4165-821f-36749b27b1fb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132044Z:384f5015-f488-4165-821f-36749b27b1fb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:35:37 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:20:44 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+30": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "235" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1206,40 +882,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "770505a7-6a1c-45e5-a25e-0e69eaa5cac1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "5bb48e95-703c-491e-90c9-2e9fa7610bb9" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "81bfb7a3-441f-416f-b852-0df6289b013d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193608Z:81bfb7a3-441f-416f-b852-0df6289b013d" ], + "x-ms-correlation-request-id": [ "dff7aad3-0e51-46c5-be92-a2c7e83bf3b6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132115Z:dff7aad3-0e51-46c5-be92-a2c7e83bf3b6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:36:07 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:21:14 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+31": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434", "435" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "236" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1247,40 +923,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8182e663-f699-40cd-a27a-6788ab578da7" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "64c5ab34-f197-4b13-b95d-8fc33213a71e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "44789f38-1d80-45d3-beef-0ac4549663a6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193638Z:44789f38-1d80-45d3-beef-0ac4549663a6" ], + "x-ms-correlation-request-id": [ "b9973a31-8e62-49d2-ad95-437b48ab28e2" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132145Z:b9973a31-8e62-49d2-ad95-437b48ab28e2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:36:38 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:21:45 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+32": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434", "435", "436" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "237" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1288,40 +964,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "df89cd34-62d2-4a60-aac9-9a642ce8c5b6" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "d15fbd91-f6bc-443b-94ca-063cd50e93ce" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8b1a409c-8429-4ea5-99c4-414179f43c65" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193708Z:8b1a409c-8429-4ea5-99c4-414179f43c65" ], + "x-ms-correlation-request-id": [ "9d35cb2e-68d6-4de3-9233-049fc8e06ddd" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132216Z:9d35cb2e-68d6-4de3-9233-049fc8e06ddd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:37:08 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:22:15 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+33": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434", "435", "436", "437" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "238" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1329,40 +1005,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "e16a4fb5-9aa9-4602-9fa8-6d01795e47ae" ], - "x-ms-request-id": [ "4e0cac07-81d5-44bf-a81c-d7d03da9032e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "61bf899e-b28f-4519-be6b-0d01a8781442" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193739Z:e16a4fb5-9aa9-4602-9fa8-6d01795e47ae" ], + "x-ms-correlation-request-id": [ "810e3b1b-2c4e-4004-8696-cbffbac84aea" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132246Z:810e3b1b-2c4e-4004-8696-cbffbac84aea" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:37:38 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:22:45 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+34": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434", "435", "436", "437", "438" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "239" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1370,40 +1046,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ba71c701-a6e5-4ace-845e-f6c645e3d464" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "45e72435-d5d6-4ce0-a938-4b30e6941f37" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7fd3d4c8-0de9-4f14-bd3c-2a0a7b09d11f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193809Z:7fd3d4c8-0de9-4f14-bd3c-2a0a7b09d11f" ], + "x-ms-correlation-request-id": [ "3ba27451-d6c1-4826-b6e2-2d0f9aab778c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132316Z:3ba27451-d6c1-4826-b6e2-2d0f9aab778c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:38:09 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:23:16 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+35": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434", "435", "436", "437", "438", "439" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "240" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1411,40 +1087,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3d8e1a95-91d8-4052-bda4-9c69ae59e77c" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "a27f7346-ee84-4e04-a11f-133876e8d968" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c868a58e-8a72-4632-82cc-ec6d54d5f4e6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193840Z:c868a58e-8a72-4632-82cc-ec6d54d5f4e6" ], + "x-ms-correlation-request-id": [ "1792d352-988a-4fd3-b92e-d5e042d3127e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132347Z:1792d352-988a-4fd3-b92e-d5e042d3127e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:38:39 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:23:46 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+36": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434", "435", "436", "437", "438", "439", "440" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "241" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1452,40 +1128,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "4b077f96-f0b9-4d25-bc54-82219b3d19d6" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "f0ce504c-3a87-49ea-ace9-078b9fd5de5c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "709574dd-4b3d-4288-b7f9-a4faad4c576b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193910Z:709574dd-4b3d-4288-b7f9-a4faad4c576b" ], + "x-ms-correlation-request-id": [ "3db66a01-e473-4c31-9b42-8415e623ce9c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132417Z:3db66a01-e473-4c31-9b42-8415e623ce9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:39:09 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:24:17 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+37": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434", "435", "436", "437", "438", "439", "440", "441" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "242" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1493,40 +1169,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "fa2fcf63-7b93-473d-921b-d8495e903d4a" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "cfa9f532-b90d-4309-86d1-c8015075a55c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "169f6d65-26f5-41d3-a3b0-867a94ec4e4d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T193940Z:169f6d65-26f5-41d3-a3b0-867a94ec4e4d" ], + "x-ms-correlation-request-id": [ "d71aaee1-27be-4f4b-ab26-136931a39ca0" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132448Z:d71aaee1-27be-4f4b-ab26-136931a39ca0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:39:40 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:24:47 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+38": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434", "435", "436", "437", "438", "439", "440", "441", "442" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "243" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1534,40 +1210,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8b55bf34-3737-4593-a5bb-34b6b43e595a" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "ae1c10f7-ce8f-4861-87a6-3de4298cb292" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "abb90543-6992-4afb-9fce-911165dcb77f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194010Z:abb90543-6992-4afb-9fce-911165dcb77f" ], + "x-ms-correlation-request-id": [ "aeb78a57-6015-4d64-949d-f842819b41b8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132518Z:aeb78a57-6015-4d64-949d-f842819b41b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:40:10 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:25:18 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "491" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:31:35.0841604Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18+39": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434", "435", "436", "437", "438", "439", "440", "441", "442", "443" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "244" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1575,40 +1251,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "6d112ffb-e299-44c2-967b-419408342a4c" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "2311684f-ff45-483b-a96d-20cd184ee13b" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "69ac4dea-1705-4641-946f-0a3a0885fb4c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194041Z:69ac4dea-1705-4641-946f-0a3a0885fb4c" ], + "x-ms-correlation-request-id": [ "3cfd854f-9b2b-4967-84fb-f1d4a81d3ca0" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132548Z:3cfd854f-9b2b-4967-84fb-f1d4a81d3ca0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:40:40 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:25:48 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "494" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"name\":\"97ba9c25-fa3f-4777-8b08-a30f6c6c064d\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:31:33.381035Z\",\"endTime\":\"2020-10-26T19:40:20.6905908Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"b477b7dd-0d19-4ff8-86b1-fc6da5385d01\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18\u0026operationResultResponseType=Location+40": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/97ba9c25-fa3f-4777-8b08-a30f6c6c064d?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "425", "426", "427", "428", "429", "430", "431", "432", "433", "434", "435", "436", "437", "438", "439", "440", "441", "442", "443", "444" ], - "x-ms-client-request-id": [ "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d", "7593501b-4922-4007-9d5c-67be217a505d" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "245" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1616,38 +1292,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "79ca81dd-7af1-4d7c-990c-a5eea320a342" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "92c4db78-105a-483f-b22d-055460b71a46" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-correlation-request-id": [ "e4e6d421-b26a-4fb0-b8a5-97e2477707f4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194041Z:e4e6d421-b26a-4fb0-b8a5-97e2477707f4" ], + "x-ms-correlation-request-id": [ "43fee878-ec4b-47fb-a742-5d641de5e5ce" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132619Z:43fee878-ec4b-47fb-a742-5d641de5e5ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:40:40 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:26:19 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "492" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "445" ], - "x-ms-client-request-id": [ "a12d17b6-62b8-4322-8ce9-abfafbe47f27" ], - "CommandName": [ "Get-AzKustoCluster" ], - "FullCommandName": [ "Get-AzKustoCluster_Get" ], + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "246" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1655,82 +1333,81 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "47ff0d7c-728b-4629-9e3e-a2b8feb0969c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d7c556a6-d4ad-47aa-8d62-b4fa92978de6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194041Z:d7c556a6-d4ad-47aa-8d62-b4fa92978de6" ], + "x-ms-request-id": [ "45087ee2-1da2-4450-872b-49fca76b2568" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "f91f2dc8-80b3-4492-9d41-6cc138b27091" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132650Z:f91f2dc8-80b3-4492-9d41-6cc138b27091" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:40:40 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:26:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie\",\"name\":\"testclusterojskie\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterojskie.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterojskie.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/stop?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+34": { "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/stop?api-version=2020-09-18", + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "247" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "a27ba258-6cbd-491a-919b-3810e8406646" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], - "x-ms-correlation-request-id": [ "db03aee1-b876-418d-8835-3b8171b8988d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194042Z:db03aee1-b876-418d-8835-3b8171b8988d" ], + "x-ms-request-id": [ "26228571-7e94-453b-9a9d-55f6ddacd1e9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "1845fb63-a8f4-4868-81c7-e0b16f66b57f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132720Z:1845fb63-a8f4-4868-81c7-e0b16f66b57f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:40:41 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:27:19 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "492" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "248" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1738,40 +1415,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "a56c3eb8-c954-4e7c-a19d-b662867a78c6" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "301a5b32-8715-4b41-b650-a17270f21dc2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194112Z:301a5b32-8715-4b41-b650-a17270f21dc2" ], + "x-ms-request-id": [ "6ee5b11f-438e-46ea-a3cf-9ee4a7573235" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "302eda52-95cd-4f6d-a42e-d1ce426a30f0" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132750Z:302eda52-95cd-4f6d-a42e-d1ce426a30f0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:41:11 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:27:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:17:42.5597289Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "249" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1779,40 +1456,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "a92db455-6c97-4405-9dc5-50562c172f93" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3913d29d-a623-4cc4-9d04-77cfcb4162b2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194142Z:3913d29d-a623-4cc4-9d04-77cfcb4162b2" ], + "x-ms-request-id": [ "b61afe86-5ba6-48a7-97c3-85a9e0cf418e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "08904a54-def1-426e-a17c-5e245c90591c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132821Z:08904a54-def1-426e-a17c-5e245c90591c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:41:42 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:28:20 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "495" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/9cafaa11-494a-4859-b647-18636182e4b6\",\"name\":\"9cafaa11-494a-4859-b647-18636182e4b6\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:17:41.4659834Z\",\"endTime\":\"2021-05-13T13:27:56.7599772Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"fe341785-09e6-412a-a22e-078548c527bd\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01\u0026operationResultResponseType=Location+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/9cafaa11-494a-4859-b647-18636182e4b6?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "250" ], + "x-ms-client-request-id": [ "9c923cbd-b3cb-4dc9-8b8e-028e9f496b33" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1820,39 +1497,38 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "8d282a25-3618-4172-af65-e9762a77c4fe" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c07e160d-7125-4560-aed3-67f2b87ccd7a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194212Z:c07e160d-7125-4560-aed3-67f2b87ccd7a" ], + "x-ms-request-id": [ "46cf0656-e5ce-47a0-94be-a10bde3830f0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "4e78d15f-930e-44b2-a3bc-f17d45ccb446" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132821Z:4e78d15f-930e-44b2-a3bc-f17d45ccb446" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:42:12 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:28:21 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "251" ], + "x-ms-client-request-id": [ "85b0aa37-a0e6-4c89-8590-da36da0f82b9" ], + "CommandName": [ "Get-AzKustoCluster" ], + "FullCommandName": [ "Get-AzKustoCluster_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1861,81 +1537,83 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "a788f082-d96f-4d47-8597-5286a58c4f7c" ], - "x-ms-request-id": [ "cb7b2f7c-79a5-4777-bc98-f454391c00e8" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194243Z:a788f082-d96f-4d47-8597-5286a58c4f7c" ], + "x-ms-request-id": [ "a9f95c37-cd85-48ae-90de-bcc465934dcf" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "667aa520-71e7-4096-89b5-a11db2942b87" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132822Z:667aa520-71e7-4096-89b5-a11db2942b87" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:42:42 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:28:21 GMT" ], + "ETag": [ "\"2021-05-13T13:27:56.1662770Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq\",\"name\":\"testclusters3vznq\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T13:27:56.1662770Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusters3vznq.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusters3vznq.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/stop?api-version=2021-01-01+2": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/stop?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "252" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "5b9f9ed7-2d90-4835-92c1-81bd3b43d05d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bfed67ff-2f58-42ca-98b7-ab33a1eb7a67" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194313Z:bfed67ff-2f58-42ca-98b7-ab33a1eb7a67" ], + "x-ms-request-id": [ "90d63122-0a13-4ea1-8eef-688185458537" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], + "x-ms-correlation-request-id": [ "534b7cd4-391c-47c0-bcfb-eda4bd2271e7" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132822Z:534b7cd4-391c-47c0-bcfb-eda4bd2271e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:43:13 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:28:22 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "253" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1943,40 +1621,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e9bf8903-c2bb-45b5-9785-0b3eb7f454a4" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "b76bed1a-3e2e-4505-b201-d409332d35e4" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f2be6ceb-ef59-4bd3-850c-329977ccdc84" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194344Z:f2be6ceb-ef59-4bd3-850c-329977ccdc84" ], + "x-ms-correlation-request-id": [ "b1b4a365-f396-4c51-8baf-2ed080dfee3d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132853Z:b1b4a365-f396-4c51-8baf-2ed080dfee3d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:43:43 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:28:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "254" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1984,40 +1662,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "0328f020-fdfe-47cb-8736-cafce3dc050d" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "54203604-97af-4774-83de-8e2f241943c0" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "df459717-a4f6-4e4d-8024-1d5272b8dfeb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194414Z:df459717-a4f6-4e4d-8024-1d5272b8dfeb" ], + "x-ms-correlation-request-id": [ "6c455ef7-9771-40d1-85b8-95dbd0024f69" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132923Z:6c455ef7-9771-40d1-85b8-95dbd0024f69" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:44:14 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:29:22 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "255" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2025,40 +1703,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "0bc1e15e-776a-42e6-957f-8738b03818ea" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "918cf57e-dde5-418f-8dbe-d3463a70f042" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "90c19cb4-1625-44f6-b221-17d81e9dbacb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194444Z:90c19cb4-1625-44f6-b221-17d81e9dbacb" ], + "x-ms-correlation-request-id": [ "05bcbf32-fe5f-42e8-8d9f-bab16287c2e5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T132953Z:05bcbf32-fe5f-42e8-8d9f-bab16287c2e5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:44:44 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:29:53 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "256" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2066,40 +1744,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ccbbe6c7-ae7d-4ed1-8888-0d5b216b4594" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "c2b547a0-8894-407b-8b71-a147ead00ee1" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d6cc7641-f1c7-436b-9b45-1648f3a351b9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194514Z:d6cc7641-f1c7-436b-9b45-1648f3a351b9" ], + "x-ms-correlation-request-id": [ "7debeb78-8b32-4bc2-a243-e0cf6a72e198" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133024Z:7debeb78-8b32-4bc2-a243-e0cf6a72e198" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:45:14 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:30:23 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+12": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "257" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2107,40 +1785,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f18661f8-4a59-4a3c-801b-12f09840696a" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "bd7bd945-7149-49e1-8582-ed771cf2fbea" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8480f99a-88f7-403d-bc77-2e144ea16308" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194545Z:8480f99a-88f7-403d-bc77-2e144ea16308" ], + "x-ms-correlation-request-id": [ "f38dc559-70bd-48e3-8372-9674e755eceb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133054Z:f38dc559-70bd-48e3-8372-9674e755eceb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:45:44 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:30:54 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+13": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "258" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2148,40 +1826,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "18e3b32c-6e7d-4797-ab3c-25f3b7930e0b" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "aac71b10-4c05-4a72-97e6-7db583a40347" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "96e479e3-dc50-4f04-813b-ad24da2df6ea" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194615Z:96e479e3-dc50-4f04-813b-ad24da2df6ea" ], + "x-ms-correlation-request-id": [ "b5af5e64-ee00-4897-a64f-e9222e31b0ae" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133125Z:b5af5e64-ee00-4897-a64f-e9222e31b0ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:46:14 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:31:24 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+14": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457", "458" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "259" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2189,40 +1867,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "19472d0b-143f-4a7a-90ac-e3855d4a8584" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "4158245f-9c4d-4f68-a3fb-e41b7c3fe524" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "70507d6d-af66-4bea-9dc7-271b5482f76b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194645Z:70507d6d-af66-4bea-9dc7-271b5482f76b" ], + "x-ms-correlation-request-id": [ "c508da17-f78c-4cc7-824f-872130eba71c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133155Z:c508da17-f78c-4cc7-824f-872130eba71c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:46:44 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:31:55 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+15": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457", "458", "459" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "260" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2230,40 +1908,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a82c380d-773e-43a5-a6be-d58ad530c5c0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "a43af996-2927-44f6-809f-1e76db08237f" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "fff706e6-d803-40d8-8df6-4aaebb23cb7a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194715Z:fff706e6-d803-40d8-8df6-4aaebb23cb7a" ], + "x-ms-correlation-request-id": [ "4168b71b-78a8-49bc-b033-c4cd42dc8fa8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133226Z:4168b71b-78a8-49bc-b033-c4cd42dc8fa8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:47:14 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:32:25 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+16": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457", "458", "459", "460" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "261" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2271,40 +1949,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "0a2c5828-c394-40df-9ca0-66d2603b5103" ], - "x-ms-request-id": [ "fff3a60c-772d-48a1-860d-6dc4ad81d035" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "4dd54642-8f65-4e67-b994-bb3993332d52" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194746Z:0a2c5828-c394-40df-9ca0-66d2603b5103" ], + "x-ms-correlation-request-id": [ "018ea86e-3021-4264-8e6f-1a00ecc9225f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133256Z:018ea86e-3021-4264-8e6f-1a00ecc9225f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:47:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:32:55 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+17": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457", "458", "459", "460", "461" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "262" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2312,40 +1990,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "bf4bcb50-22de-4298-a784-45ab3e8451c3" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "b14edede-ca87-4772-97bf-1b54c12a993d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bf0bb240-aa2a-4112-ad2c-7a93142cc208" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194816Z:bf0bb240-aa2a-4112-ad2c-7a93142cc208" ], + "x-ms-correlation-request-id": [ "2b3bdd48-ba4b-4bd4-9db6-9e26e7da2e94" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133326Z:2b3bdd48-ba4b-4bd4-9db6-9e26e7da2e94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:48:16 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:33:26 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+18": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457", "458", "459", "460", "461", "462" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "263" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2353,40 +2031,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8f79b6f6-771a-46b2-aaa0-f0e8d10a6268" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "1937e05e-3b05-4141-8f44-c216d9cf403c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ae582f86-2af7-490d-ac50-3baeb3a462ab" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194847Z:ae582f86-2af7-490d-ac50-3baeb3a462ab" ], + "x-ms-correlation-request-id": [ "684e6b89-5024-4907-b15b-5891ccfcccec" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133357Z:684e6b89-5024-4907-b15b-5891ccfcccec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:48:46 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:33:57 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:28:23.3541444Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+19": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457", "458", "459", "460", "461", "462", "463" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "264" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2394,40 +2072,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "0679746e-f0b7-4018-b42d-cbf5eb88e78f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "56d991b9-8611-4175-a6af-d1b18e7cf06e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e4354caa-04bf-4e02-8eea-2240c1c520a9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194917Z:e4354caa-04bf-4e02-8eea-2240c1c520a9" ], + "x-ms-correlation-request-id": [ "3cbe90cb-9e04-465a-8c32-9a45e6c99a6d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133427Z:3cbe90cb-9e04-465a-8c32-9a45e6c99a6d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:49:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:34:27 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "495" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/68081a42-34dc-489a-86f8-14de920d5e76\",\"name\":\"68081a42-34dc-489a-86f8-14de920d5e76\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:28:22.588504Z\",\"endTime\":\"2021-05-13T13:34:12.3718986Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"16e4e413-a983-4f27-80dc-3d02829a849f\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+20": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01\u0026operationResultResponseType=Location+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/68081a42-34dc-489a-86f8-14de920d5e76?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457", "458", "459", "460", "461", "462", "463", "464" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "265" ], + "x-ms-client-request-id": [ "c6c55224-abbd-48eb-b2e2-5cf274cd0acc" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2435,81 +2113,81 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "065a8a65-f84f-4f16-b11a-0aa88e673a57" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "18cac849-9456-4785-aa08-2aa5f6bea7d6" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "161c8174-0de9-4551-8e0e-d46e6575911e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T194947Z:161c8174-0de9-4551-8e0e-d46e6575911e" ], + "x-ms-correlation-request-id": [ "77aa0348-1908-4568-a200-459860890866" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133428Z:77aa0348-1908-4568-a200-459860890866" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:49:46 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:34:28 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+21": { + "[NoDescription]+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/start?api-version=2021-01-01+16": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/start?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457", "458", "459", "460", "461", "462", "463", "464", "465" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "266" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "e3416244-9aec-48db-925e-b16c9a0b4175" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a6cee2e5-aadb-4442-95bf-96b01c08c871" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195017Z:a6cee2e5-aadb-4442-95bf-96b01c08c871" ], + "x-ms-request-id": [ "0a26c57e-d8f0-448e-bea3-1b8f87533060" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1186" ], + "x-ms-correlation-request-id": [ "08519237-d555-4f65-9af8-bc1bc1c98d36" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133428Z:08519237-d555-4f65-9af8-bc1bc1c98d36" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:50:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:34:28 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:40:43.1599841Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18+22": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457", "458", "459", "460", "461", "462", "463", "464", "465", "466" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "267" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2517,40 +2195,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "f09c30f0-7af4-4023-bd43-0417b1ebd93e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7d592076-058b-45ca-9f70-6a3b49702776" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195048Z:7d592076-058b-45ca-9f70-6a3b49702776" ], + "x-ms-request-id": [ "b31a31d8-50fe-47b8-92cd-9d102dd66c0b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], + "x-ms-correlation-request-id": [ "01dcfeee-9382-4f69-8f61-3d92382e36c9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133459Z:01dcfeee-9382-4f69-8f61-3d92382e36c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:50:47 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:34:58 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "496" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"name\":\"6a205ac3-8030-4c37-9d43-67b672d84b9d\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:40:41.9412334Z\",\"endTime\":\"2020-10-26T19:50:20.8448071Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"b9d94ba8-d038-466f-90aa-13824f075b4c\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18\u0026operationResultResponseType=Location+23": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/6a205ac3-8030-4c37-9d43-67b672d84b9d?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "446", "447", "448", "449", "450", "451", "452", "453", "454", "455", "456", "457", "458", "459", "460", "461", "462", "463", "464", "465", "466", "467" ], - "x-ms-client-request-id": [ "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c", "17344130-56b4-4897-9574-d25f5363a43c" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "268" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2558,79 +2236,81 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8bdc76e3-3c9e-4e14-8555-0807b21ed2e5" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-correlation-request-id": [ "ed72881e-5e25-4de8-bb14-fd97f214cc20" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195048Z:ed72881e-5e25-4de8-bb14-fd97f214cc20" ], + "x-ms-request-id": [ "ec28cbbc-9de9-4032-a16f-3ed613b32a14" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "188841db-3bb8-4931-8c8e-cd8295d952dd" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133529Z:188841db-3bb8-4931-8c8e-cd8295d952dd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:50:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:35:28 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "491" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/start?api-version=2020-09-18+24": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+19": { "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/start?api-version=2020-09-18", + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "269" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], "CommandName": [ "Start-AzKustoCluster" ], "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "2b607761-1ffe-4699-b775-449132264658" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], - "x-ms-correlation-request-id": [ "b0c9e612-6fee-4a54-a923-5ae323c615eb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195048Z:b0c9e612-6fee-4a54-a923-5ae323c615eb" ], + "x-ms-request-id": [ "277c3fbd-fcbb-4329-9908-f7fcd061f3b9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "cf30270a-6c11-4d68-a85b-1170e3a325ae" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133559Z:cf30270a-6c11-4d68-a85b-1170e3a325ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:50:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:35:59 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "491" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+25": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "270" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2638,40 +2318,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "2e6b89f3-ed5a-41ed-83aa-5faace549836" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "e210765c-0775-40b4-8983-3cfa7dc9bae5" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "599af14d-ff9a-49fb-848e-1678c1dbd2c9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195119Z:599af14d-ff9a-49fb-848e-1678c1dbd2c9" ], + "x-ms-correlation-request-id": [ "428fc2ca-bc7e-43c4-8607-ac06bbcc7cac" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133630Z:428fc2ca-bc7e-43c4-8607-ac06bbcc7cac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:51:18 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:36:29 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+26": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "271" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2679,40 +2359,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f784e053-a358-4708-b987-b05305b8e9b3" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "01a9b431-923d-44eb-8c0a-9b0fef86b71f" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "549f2713-6e4f-4605-be51-c167fa667141" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195149Z:549f2713-6e4f-4605-be51-c167fa667141" ], + "x-ms-correlation-request-id": [ "fa0ebd2f-3796-4905-a43e-caa4f9b91c62" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133700Z:fa0ebd2f-3796-4905-a43e-caa4f9b91c62" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:51:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:37:00 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+27": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "272" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2720,40 +2400,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "4734591c-729b-494a-bbdf-0ee45792661c" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "eb5733fa-860a-4c09-b452-d4d280887571" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5672d643-d9cf-4fd6-b330-739d8607cce4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195219Z:5672d643-d9cf-4fd6-b330-739d8607cce4" ], + "x-ms-correlation-request-id": [ "6f3c2574-d255-4111-a8bd-b70f73ce252c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133731Z:6f3c2574-d255-4111-a8bd-b70f73ce252c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:52:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:37:30 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+28": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "273" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2761,40 +2441,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "35713591-8687-4566-8796-177431f14212" ], - "x-ms-request-id": [ "3640cc20-0253-406b-9bc9-0031b85c3141" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "1e7a5738-f5a2-417a-9105-9368492779ce" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195250Z:35713591-8687-4566-8796-177431f14212" ], + "x-ms-correlation-request-id": [ "3810fa92-c58e-41a4-a7ca-534f77e104e1" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133801Z:3810fa92-c58e-41a4-a7ca-534f77e104e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:52:49 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:38:01 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+29": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "274" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2802,40 +2482,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "92fcf04a-a253-42ea-ad7a-50ef59f800ff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "2d98c392-6d46-45fe-bdb5-e80e998045ac" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "731e117b-f4e0-4a6b-938c-f6d9f5bdd0ea" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195320Z:731e117b-f4e0-4a6b-938c-f6d9f5bdd0ea" ], + "x-ms-correlation-request-id": [ "c24a0fa5-cecf-4844-abe1-83507596196c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133832Z:c24a0fa5-cecf-4844-abe1-83507596196c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:53:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:38:31 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+30": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "275" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2843,40 +2523,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "329b1de2-9d6d-4892-8f7d-64f48d60a0f1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "11d3661e-6445-4ade-a496-f0e3193601e7" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c1a4976a-7506-4d6b-ad5d-049e9796b9a2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195350Z:c1a4976a-7506-4d6b-ad5d-049e9796b9a2" ], + "x-ms-correlation-request-id": [ "11cabd14-af4f-4a06-9e90-bfae68abb804" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133902Z:11cabd14-af4f-4a06-9e90-bfae68abb804" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:53:50 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:39:02 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+31": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "276" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2884,40 +2564,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "58f9f49b-15ad-4a6b-b774-132f7a1ea722" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "1296435e-5795-43f0-86d3-bd57562b3bad" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "2099b2c3-1c47-4782-bb10-e510a3136647" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195421Z:2099b2c3-1c47-4782-bb10-e510a3136647" ], + "x-ms-correlation-request-id": [ "aead0e9f-156c-43d0-87ca-ebc6fec3b770" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T133932Z:aead0e9f-156c-43d0-87ca-ebc6fec3b770" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:54:20 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:39:32 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+32": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "277" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2925,40 +2605,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "9459ff17-87a7-488f-912d-1a07565cadde" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0b38030f-b787-461f-a856-9951f7232530" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195451Z:0b38030f-b787-461f-a856-9951f7232530" ], + "x-ms-request-id": [ "59494794-b124-4287-b70e-457f1b06926c" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "40dcb901-e291-4ffd-b950-0cdf297fb64a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134003Z:40dcb901-e291-4ffd-b950-0cdf297fb64a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:54:51 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:40:03 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+33": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476", "477" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "278" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2966,40 +2646,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "cdf9a339-41ee-4b55-adc7-16a1a2b37c5a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8c419c80-adc8-414c-90c5-8ac02518c616" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195521Z:8c419c80-adc8-414c-90c5-8ac02518c616" ], + "x-ms-request-id": [ "0ecbb18c-1b01-4cd7-83b9-cd538b3be935" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "5f9a58cb-5b82-46f9-b1b8-20ad6479e106" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134033Z:5f9a58cb-5b82-46f9-b1b8-20ad6479e106" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:55:21 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:40:33 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+34": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476", "477", "478" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "279" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3007,40 +2687,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "39982a25-0af6-498b-9c21-ed3998e1140f" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3eeb2e53-1415-4057-9735-9f72e36f042f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195552Z:3eeb2e53-1415-4057-9735-9f72e36f042f" ], + "x-ms-request-id": [ "3e83ffdf-fed4-4318-8319-825d03769b7a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "63ee5d0a-dc68-4bf9-8f54-49891f4194de" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134104Z:63ee5d0a-dc68-4bf9-8f54-49891f4194de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:55:51 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:41:03 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+35": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476", "477", "478", "479" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "280" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3048,40 +2728,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "8450f420-37b8-4dfa-aa32-4edb2a0a3557" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e2f487e8-05d6-4ea7-b870-2e45fd9890e6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195622Z:e2f487e8-05d6-4ea7-b870-2e45fd9890e6" ], + "x-ms-request-id": [ "e34e2ab1-f379-4c54-82c0-c61ee0adc1de" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "b7798b58-505f-40aa-90b1-17c39d2ad993" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134134Z:b7798b58-505f-40aa-90b1-17c39d2ad993" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:56:22 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:41:34 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+36": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476", "477", "478", "479", "480" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "281" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3089,40 +2769,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "ebaeb9b9-0b13-4fbb-87e2-da938a585616" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "00b16b22-e7a5-4aa7-bf2a-52a717753b5b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195652Z:00b16b22-e7a5-4aa7-bf2a-52a717753b5b" ], + "x-ms-request-id": [ "cc368ce3-36b7-4744-a889-865e85a92fee" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "ccd8d409-b184-4814-ba29-204383d31237" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134204Z:ccd8d409-b184-4814-ba29-204383d31237" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:56:52 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:42:04 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+37": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476", "477", "478", "479", "480", "481" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "282" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3130,40 +2810,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "409afa31-2321-413c-9336-8d134d767821" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8f47acf4-c17a-43bf-958a-098852695188" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195722Z:8f47acf4-c17a-43bf-958a-098852695188" ], + "x-ms-request-id": [ "6b0f5f63-505d-4c50-aff8-95b71eddf172" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "7ce02aff-47e7-4dcb-a85b-71c64984d5ae" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134235Z:7ce02aff-47e7-4dcb-a85b-71c64984d5ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:57:22 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:42:35 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+38": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476", "477", "478", "479", "480", "481", "482" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "283" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3171,40 +2851,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "21f1b69e-761c-4a9f-aac9-4951eefa0466" ], - "x-ms-request-id": [ "06eca308-1149-498b-b42a-d48cb58f962d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195753Z:21f1b69e-761c-4a9f-aac9-4951eefa0466" ], + "x-ms-request-id": [ "3e9447fb-3fa3-43e7-ad1f-5d0775b29fa0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "53d75d56-f046-4cf9-9e30-3da95101ed1f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134306Z:53d75d56-f046-4cf9-9e30-3da95101ed1f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:57:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:43:05 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+39": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476", "477", "478", "479", "480", "481", "482", "483" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "284" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3212,40 +2892,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "2154ed7f-12f2-4e3b-a795-0b6a3b708be3" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "1353d2ad-ee48-4fe8-865e-b7e5cf1b3d8c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195823Z:1353d2ad-ee48-4fe8-865e-b7e5cf1b3d8c" ], + "x-ms-request-id": [ "5563b661-d1e9-45de-b39e-039614261528" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "4e9dddc8-806a-4ccf-a630-0e30b9283b79" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134336Z:4e9dddc8-806a-4ccf-a630-0e30b9283b79" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:58:23 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:43:36 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+40": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476", "477", "478", "479", "480", "481", "482", "483", "484" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "285" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3253,40 +2933,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "41565c1a-3c85-4dd6-8d7a-74a569712c6b" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c08c0f90-4e55-4ddb-9bad-361290d5cc77" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195854Z:c08c0f90-4e55-4ddb-9bad-361290d5cc77" ], + "x-ms-request-id": [ "129fa97f-08f7-4154-98f8-530275c1f21a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "25aeb706-c206-4081-bf4f-6352c1feee51" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134406Z:25aeb706-c206-4081-bf4f-6352c1feee51" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:58:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:44:05 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "492" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:50:50.5202297Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:34:29.450104Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18+41": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476", "477", "478", "479", "480", "481", "482", "483", "484", "485" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "286" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3294,40 +2974,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "2c5fe5c0-135d-4dc3-9fb4-faebd1f1b2f8" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "cdaa5767-d068-4ddf-989d-c7761b995e08" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195924Z:cdaa5767-d068-4ddf-989d-c7761b995e08" ], + "x-ms-request-id": [ "50063ea4-7429-4d80-886e-2363d55f47fd" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "dfc2f05d-88a6-4961-a5d5-40286ca474b8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134438Z:dfc2f05d-88a6-4961-a5d5-40286ca474b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:59:24 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:44:38 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "495" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"name\":\"e8808edc-995a-4656-b4c2-ef09de0f2b9c\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:50:48.8171662Z\",\"endTime\":\"2020-10-26T19:59:21.8103226Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"0b946ad5-eec8-4ced-9985-2d900879ceb1\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"name\":\"07366e48-c2bd-4ad4-85a9-9e7d9f40c23a\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:34:28.6844152Z\",\"endTime\":\"2021-05-13T13:44:21.9081984Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"3ab4207b-5667-489c-b7ba-7daf0b8f9b04\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Start-AzKustoCluster+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18\u0026operationResultResponseType=Location+42": { + "[NoDescription]+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01\u0026operationResultResponseType=Location+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/e8808edc-995a-4656-b4c2-ef09de0f2b9c?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/07366e48-c2bd-4ad4-85a9-9e7d9f40c23a?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "468", "469", "470", "471", "472", "473", "474", "475", "476", "477", "478", "479", "480", "481", "482", "483", "484", "485", "486" ], - "x-ms-client-request-id": [ "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce", "a0b9dfa0-1c08-489d-aa33-e2cab0d6a0ce" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "287" ], + "x-ms-client-request-id": [ "76e0c18a-0ffc-4f29-98f3-234fe9baeb80" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3335,23 +3015,23 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9bebc308-2b41-4a0c-8cdb-4e0d8f2018ac" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-correlation-request-id": [ "039783f3-cdcc-46e1-9c8b-d7188ec88ba3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195924Z:039783f3-cdcc-46e1-9c8b-d7188ec88ba3" ], + "x-ms-request-id": [ "4035f625-39cb-4803-aee9-c987fc5dba39" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "0eb20bf9-328b-4c08-904e-1bc63622f545" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T134439Z:0eb20bf9-328b-4c08-904e-1bc63622f545" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:59:24 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:44:38 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Start-AzKustoCluster.Tests.ps1 b/src/Kusto/test/Start-AzKustoCluster.Tests.ps1 index e809964b618d..7b6afe9c0ca5 100644 --- a/src/Kusto/test/Start-AzKustoCluster.Tests.ps1 +++ b/src/Kusto/test/Start-AzKustoCluster.Tests.ps1 @@ -1,17 +1,20 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzKustoCluster.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Start-AzKustoCluster' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzKustoCluster.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'Start' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.PlainClusterName diff --git a/src/Kusto/test/Stop-AzKustoCluster.Recording.json b/src/Kusto/test/Stop-AzKustoCluster.Recording.json index c27ae59555d9..5ad5a0edeb5b 100644 --- a/src/Kusto/test/Stop-AzKustoCluster.Recording.json +++ b/src/Kusto/test/Stop-AzKustoCluster.Recording.json @@ -1,12 +1,13 @@ { - "Stop-AzKustoCluster+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/stop?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/stop?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/stop?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/stop?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], + "x-ms-unique-id": [ "288" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], "CommandName": [ "Stop-AzKustoCluster" ], "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,122 +20,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "63f95985-ce84-45e3-b10b-3a9799a9eb69" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], - "x-ms-correlation-request-id": [ "86b55021-3ad3-4bd3-9e94-754dd17ef1b4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195925Z:86b55021-3ad3-4bd3-9e94-754dd17ef1b4" ], + "x-ms-request-id": [ "6e11ede8-1678-450f-be06-99ea70e46aee" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "947541fd-e7c3-4777-ac8d-312e02144906" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135344Z:947541fd-e7c3-4777-ac8d-312e02144906" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:59:25 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "487", "488" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "278" ], - "x-ms-request-id": [ "cf67068a-8c72-4759-a741-bad8c1c2184a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3eb4157e-e55a-4df0-830f-7720b6848487" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T195955Z:3eb4157e-e55a-4df0-830f-7720b6848487" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 19:59:55 GMT" ] + "Date": [ "Thu, 13 May 2021 13:53:43 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", "Content": null, - "Headers": { - "x-ms-unique-id": [ "487", "488", "489" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "2ce3ff45-1b6a-4d8a-8041-74398610208e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "235342d8-6acc-4e52-b3c7-8b29222aa1b4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200026Z:235342d8-6acc-4e52-b3c7-8b29222aa1b4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:00:25 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "289" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -142,81 +62,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "bf1ac6eb-d3c3-47fa-ac87-508b9c6a369f" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9f1b948a-0878-4603-b9d1-8cb2b2cbe08f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200056Z:9f1b948a-0878-4603-b9d1-8cb2b2cbe08f" ], + "x-ms-request-id": [ "828f7728-c01c-4a4b-a29c-176a61fe36c7" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "50c2444d-a6ef-4d00-93fd-42003f4faf68" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135414Z:50c2444d-a6ef-4d00-93fd-42003f4faf68" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:00:55 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "6cfe868e-af4b-49d7-86b2-e3e1f2b2ac39" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a844281c-df5a-4390-810b-cc126f4ae650" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200126Z:a844281c-df5a-4390-810b-cc126f4ae650" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:01:26 GMT" ] + "Date": [ "Thu, 13 May 2021 13:54:14 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "290" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -224,81 +103,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "27c908cb-2af8-4c93-a74f-45abfbd4257f" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "297624e9-6201-4f3a-b636-52d00c0c56a7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200156Z:297624e9-6201-4f3a-b636-52d00c0c56a7" ], + "x-ms-request-id": [ "f743b2e8-5481-4aa4-8073-c030673c3da8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "26f4dde4-7ecb-499a-b930-732ffd887062" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135444Z:26f4dde4-7ecb-499a-b930-732ffd887062" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:01:56 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "32b47182-c085-4d33-9169-3b20398687f3" ], - "x-ms-request-id": [ "c80e397c-ea8b-44eb-b2b7-8153125037f1" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200227Z:32b47182-c085-4d33-9169-3b20398687f3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:02:27 GMT" ] + "Date": [ "Thu, 13 May 2021 13:54:44 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "291" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -306,81 +144,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "ba318c86-a3db-4977-bbc3-ef524151ae65" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9c75129a-f1a3-4d34-ab82-5f6b8e1f47c4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200257Z:9c75129a-f1a3-4d34-ab82-5f6b8e1f47c4" ], + "x-ms-request-id": [ "12d37795-17bb-4627-82dc-5022970acbdf" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "21266fd4-f829-4b33-8133-465daa93f03d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135515Z:21266fd4-f829-4b33-8133-465daa93f03d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:02:57 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "4e88eb15-5b24-4d7a-ba07-bdb192f7578b" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d5693122-1f49-4229-a0aa-8ec6ac9e1598" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200328Z:d5693122-1f49-4229-a0aa-8ec6ac9e1598" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:03:28 GMT" ] + "Date": [ "Thu, 13 May 2021 13:55:14 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "292" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -388,81 +185,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "a3468553-8059-4f4b-b0a4-fd6f1d76e3ac" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5ab48456-8a8b-4a7a-b6d9-33060c486816" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200358Z:5ab48456-8a8b-4a7a-b6d9-33060c486816" ], + "x-ms-request-id": [ "99521433-e0da-4d61-89fa-4d0d618724e8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "8105bada-f165-4d26-9b20-7fbcebc20354" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135545Z:8105bada-f165-4d26-9b20-7fbcebc20354" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:03:57 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "cfc6381a-64e1-4a2f-8762-b291d62a1f1e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d4287025-dfe0-4a33-b605-243ac8db2790" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200428Z:d4287025-dfe0-4a33-b605-243ac8db2790" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:04:27 GMT" ] + "Date": [ "Thu, 13 May 2021 13:55:44 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+12": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "293" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -470,81 +226,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "96ab6e2f-0f0e-451e-8e3e-1192b9b633d7" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7247394b-a379-4193-b79c-edcd4fd55f53" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200458Z:7247394b-a379-4193-b79c-edcd4fd55f53" ], + "x-ms-request-id": [ "3aa4c50b-7f5b-4482-abee-7ec895097816" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], + "x-ms-correlation-request-id": [ "405d6e6c-9adb-4442-9d61-e2011010e72f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135615Z:405d6e6c-9adb-4442-9d61-e2011010e72f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:04:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498", "499" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "2fe6ce23-04f3-4193-87cf-e103dba60ecd" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "2d94d1cd-6708-4869-b50b-4f8eccee27c2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200529Z:2d94d1cd-6708-4869-b50b-4f8eccee27c2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:05:28 GMT" ] + "Date": [ "Thu, 13 May 2021 13:56:15 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+14": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498", "499", "500" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "294" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -552,81 +267,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "b1224a72-2d21-4721-b89f-556e2eb321c2" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "02efde0b-8276-4e63-87b0-05957de892d7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200559Z:02efde0b-8276-4e63-87b0-05957de892d7" ], + "x-ms-request-id": [ "3c9ef8cd-f728-4bbf-8a87-31f4332bf3c3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], + "x-ms-correlation-request-id": [ "425b4055-b67f-46d5-be7e-c4d79a2bd173" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135646Z:425b4055-b67f-46d5-be7e-c4d79a2bd173" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:05:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" - } - }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498", "499", "500", "501" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "967ac871-bcb8-4fa2-9f5c-405f4e3fb619" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a5464592-4942-4f84-b237-f8af84cd8020" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200629Z:a5464592-4942-4f84-b237-f8af84cd8020" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:06:28 GMT" ] + "Date": [ "Thu, 13 May 2021 13:56:45 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+16": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498", "499", "500", "501", "502" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "295" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -634,40 +308,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "990b9ca4-8d9f-4010-b096-ecc8914b09cc" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8abffe69-d695-4178-ad58-048aacff8ab3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200700Z:8abffe69-d695-4178-ad58-048aacff8ab3" ], + "x-ms-request-id": [ "0c8a47a0-6f43-4230-9274-ef97459bb7cc" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "293" ], + "x-ms-correlation-request-id": [ "7ee3627f-553b-42c2-9559-1b78f2eef630" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135716Z:7ee3627f-553b-42c2-9559-1b78f2eef630" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:07:00 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:57:15 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+17": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498", "499", "500", "501", "502", "503" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "296" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -675,40 +349,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "201def2f-a12e-4646-8c9b-244d5aa68906" ], - "x-ms-request-id": [ "5d4f2bba-2bd0-4d7e-b1cb-1f3951bff711" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200730Z:201def2f-a12e-4646-8c9b-244d5aa68906" ], + "x-ms-request-id": [ "83f3e990-00db-4b67-b4fd-5da0f8f118e0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "292" ], + "x-ms-correlation-request-id": [ "3135d1cc-0bca-4215-9c30-4815deea9b00" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135746Z:3135d1cc-0bca-4215-9c30-4815deea9b00" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:07:29 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:57:46 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+18": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498", "499", "500", "501", "502", "503", "504" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "297" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -716,40 +390,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "18b7ed3b-607b-4d1f-9f6c-f1aca9474338" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9b7a9b36-58ee-44ac-b2b5-0fa2478973c3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200801Z:9b7a9b36-58ee-44ac-b2b5-0fa2478973c3" ], + "x-ms-request-id": [ "2aa25f02-f076-4640-9506-a1f99a5e71b9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "291" ], + "x-ms-correlation-request-id": [ "eb6fe3cd-ceda-48ed-beb8-5676a2fb0aad" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135817Z:eb6fe3cd-ceda-48ed-beb8-5676a2fb0aad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:08:00 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:58:17 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+19": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498", "499", "500", "501", "502", "503", "504", "505" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "298" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -757,40 +431,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "f9e94e3b-9d7f-4bdc-80ff-6434e38cfbbf" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "62ef8396-bb62-4a29-9c01-6161d1e76552" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200831Z:62ef8396-bb62-4a29-9c01-6161d1e76552" ], + "x-ms-request-id": [ "0ce11e28-d06e-4a0b-a734-4401f6a4c939" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "2cc8e66a-9761-4ea8-a479-57d5d2630f4d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135847Z:2cc8e66a-9761-4ea8-a479-57d5d2630f4d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:08:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:58:47 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+20": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498", "499", "500", "501", "502", "503", "504", "505", "506" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "299" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -798,40 +472,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "4fac400f-f547-4b88-9ea8-049eaf6c0df9" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8bb7c1ee-1cd8-4cc1-bbad-7e11ddb9797e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200901Z:8bb7c1ee-1cd8-4cc1-bbad-7e11ddb9797e" ], + "x-ms-request-id": [ "a9ed653d-f1b0-4bc1-91d6-6064e0341de5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "c3e7ad9f-3f8d-4024-a342-0d5794fd55bb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135918Z:c3e7ad9f-3f8d-4024-a342-0d5794fd55bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:09:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:59:17 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "493" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Running\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T19:59:26.7792318Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:53:44.8270848Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18+21": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498", "499", "500", "501", "502", "503", "504", "505", "506", "507" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "300" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -839,40 +513,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "f81710f1-422b-4097-a1d7-90d232e7b692" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "28cacc66-a81a-40e8-9541-f5d9e57ef701" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200931Z:28cacc66-a81a-40e8-9541-f5d9e57ef701" ], + "x-ms-request-id": [ "59be7508-5d6d-477e-99e4-9f34be53dc0f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "ffd74cdd-f615-483e-a04d-2259c22e0d78" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135948Z:ffd74cdd-f615-483e-a04d-2259c22e0d78" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:09:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:59:48 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/29435a30-5d26-44e5-bd22-999fc2867ee3\",\"name\":\"29435a30-5d26-44e5-bd22-999fc2867ee3\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T19:59:25.5291949Z\",\"endTime\":\"2020-10-26T20:09:06.3027278Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"5d0fd88c-de35-43c3-ac5e-08ae610f1a1b\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/f4af4adb-73d4-4882-b843-f6663aa520d5\",\"name\":\"f4af4adb-73d4-4882-b843-f6663aa520d5\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:53:44.1395267Z\",\"endTime\":\"2021-05-13T13:59:37.2670743Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"238edf60-e650-47f3-8b37-3e91065e3f74\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18\u0026operationResultResponseType=Location+22": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01\u0026operationResultResponseType=Location+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/29435a30-5d26-44e5-bd22-999fc2867ee3?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/f4af4adb-73d4-4882-b843-f6663aa520d5?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "487", "488", "489", "490", "491", "492", "493", "494", "495", "496", "497", "498", "499", "500", "501", "502", "503", "504", "505", "506", "507", "508" ], - "x-ms-client-request-id": [ "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4", "7fb7b59d-97b3-40cb-be62-913f9e3a0ed4" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop", "Stop-AzKustoCluster_Stop" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "301" ], + "x-ms-client-request-id": [ "2db11ddb-69c6-4532-a456-1cee6766b23f" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -880,33 +554,34 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0c14275f-cf72-4fc2-ac4b-86a26145f9d6" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-correlation-request-id": [ "ea912487-a330-46cf-81f2-67292b991568" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200932Z:ea912487-a330-46cf-81f2-67292b991568" ], + "x-ms-request-id": [ "19f999c0-1e15-4dd3-9472-a7661adc6db0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "fc6ba464-7dee-4a6c-adac-117785a101e8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135948Z:fc6ba464-7dee-4a6c-adac-117785a101e8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:09:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:59:48 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/start?api-version=2020-09-18+23": { + "[NoDescription]+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/start?api-version=2021-01-01+15": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/start?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/start?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], + "x-ms-unique-id": [ "302" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], "CommandName": [ "Start-AzKustoCluster" ], "FullCommandName": [ "Start-AzKustoCluster_Start" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -919,40 +594,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "25deb2ae-ece6-45b9-8928-7fd665e00cc6" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], - "x-ms-correlation-request-id": [ "a98b8b96-ed0d-45a9-b559-2c0164d86b81" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T200932Z:a98b8b96-ed0d-45a9-b559-2c0164d86b81" ], + "x-ms-request-id": [ "dfef3df7-98b8-4dcf-b86d-9734f4550fe1" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "9a3a44f1-502d-49c7-9ca1-2dd6d87bb270" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T135949Z:9a3a44f1-502d-49c7-9ca1-2dd6d87bb270" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:09:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:59:49 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+24": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "303" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -960,40 +636,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "2df4aa4c-d522-4efe-aedd-696781beae3c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "723417c4-8afc-4e55-bf46-d792c56c8c6b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201002Z:723417c4-8afc-4e55-bf46-d792c56c8c6b" ], + "x-ms-request-id": [ "06285e11-0ace-41ad-a85f-bfb06cb843bf" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "a4fd2c7a-c646-46f4-85aa-697e52a6f13e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140019Z:a4fd2c7a-c646-46f4-85aa-697e52a6f13e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:10:02 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:00:18 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+25": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "304" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1001,40 +677,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "23c83ff8-e5b8-4379-b053-0ce47355d32e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5e40a0f7-1c48-48d3-9e93-890d3e722707" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201033Z:5e40a0f7-1c48-48d3-9e93-890d3e722707" ], + "x-ms-request-id": [ "70343978-5765-4780-987a-dd43d54abe4c" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "dc8e1b9d-6ba9-44b9-8419-fa476ce6dffd" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140049Z:dc8e1b9d-6ba9-44b9-8419-fa476ce6dffd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:10:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:00:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+26": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "305" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1042,40 +718,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "987a5bdc-3a66-4733-b30f-bf49c73ae383" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c0bd184d-69c4-47a7-86f4-f656035612c4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201103Z:c0bd184d-69c4-47a7-86f4-f656035612c4" ], + "x-ms-request-id": [ "53b4ffe9-1303-42a9-a15a-cce5ab112b7e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "56469af1-987c-4670-aee2-ed10ec2c63eb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140120Z:56469af1-987c-4670-aee2-ed10ec2c63eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:11:02 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:01:19 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+27": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "306" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1083,40 +759,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "455c22d2-7fa4-41e0-abdf-d204baa9fa3d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "05f5eabb-59af-4346-b9e3-c9cd7ce66508" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201133Z:05f5eabb-59af-4346-b9e3-c9cd7ce66508" ], + "x-ms-request-id": [ "548ea417-6d96-45ab-bb82-43cdb9e63ee6" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "f89957b4-2fb8-4ad0-9124-4cf805a71242" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140150Z:f89957b4-2fb8-4ad0-9124-4cf805a71242" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:11:33 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:01:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+28": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "307" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1124,40 +800,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "254c1fa2-93d5-48ef-8f3e-8c77fec8c9f4" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "4f423511-9f32-4c5f-ba0e-8cc90e493081" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201203Z:4f423511-9f32-4c5f-ba0e-8cc90e493081" ], + "x-ms-request-id": [ "5f0eb844-9458-4da8-8c04-a8af2c3fd23e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "00eee219-0abf-4532-b9b9-b1d36e0d31d3" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140220Z:00eee219-0abf-4532-b9b9-b1d36e0d31d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:12:03 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:02:20 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+29": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "308" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1165,40 +841,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "773d9b75-316d-4c9d-90b3-dae0fe74af24" ], - "x-ms-request-id": [ "79881eb9-8312-42b9-97f8-3b61ce92791d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201234Z:773d9b75-316d-4c9d-90b3-dae0fe74af24" ], + "x-ms-request-id": [ "4ea7fe63-7cd5-4fea-afaa-3037fc30d992" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "47ef756e-bafc-4e6b-b862-1194dbecb88f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140251Z:47ef756e-bafc-4e6b-b862-1194dbecb88f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:12:33 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:02:51 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+30": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "309" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1206,40 +882,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "e7826eb9-599b-4eab-b28d-3bdc89e54dad" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "65e0f036-b7ff-4887-a3e9-2d18f1c13b24" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201304Z:65e0f036-b7ff-4887-a3e9-2d18f1c13b24" ], + "x-ms-request-id": [ "86d01ed6-b32b-4d7d-a71c-9dd2eae1a319" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "3f4750c7-46dd-4597-ab80-b887f40d0521" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140321Z:3f4750c7-46dd-4597-ab80-b887f40d0521" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:13:03 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:03:21 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+31": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "310" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1247,40 +923,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "90f7d7c6-34a6-4cb6-8a23-52c3b3496620" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "11ecf1cd-4299-475a-9736-ba8450eaec65" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201335Z:11ecf1cd-4299-475a-9736-ba8450eaec65" ], + "x-ms-request-id": [ "3b8ebc71-cb16-41a7-89b4-0de33a40ceb6" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "b38a99a5-ff2b-4853-a7cb-846888b9411d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140352Z:b38a99a5-ff2b-4853-a7cb-846888b9411d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:13:34 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:03:51 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+32": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517", "518" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "311" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1288,40 +964,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "60a39fa6-560b-4392-abcc-2c18e501aaa7" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9f4ed2b8-20d4-49ac-9098-e95ef4ddffe5" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201405Z:9f4ed2b8-20d4-49ac-9098-e95ef4ddffe5" ], + "x-ms-request-id": [ "85aecf32-feac-44ed-b8a1-78d5c815952d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "4785f29c-f26b-46fc-a41c-e3cf8ffd51a7" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140422Z:4785f29c-f26b-46fc-a41c-e3cf8ffd51a7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:14:04 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:04:22 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+33": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517", "518", "519" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "312" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1329,40 +1005,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "9aa1a9ee-885a-44c8-b6ba-23c03851b88a" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "2cc0b1d3-d8ec-4297-8058-7681de180a1d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201435Z:2cc0b1d3-d8ec-4297-8058-7681de180a1d" ], + "x-ms-request-id": [ "fccd10c2-faa7-48d4-af1b-941f875b6865" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], + "x-ms-correlation-request-id": [ "2dd71bab-ca14-4133-9828-e0d14d3fd6ab" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140452Z:2dd71bab-ca14-4133-9828-e0d14d3fd6ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:14:34 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:04:51 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+34": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517", "518", "519", "520" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "313" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1370,40 +1046,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ed2769da-a133-422a-bee1-b54d2ddb7cc8" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "45d5462e-74bd-4571-9132-aa47f2088826" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ad318905-11d9-4b1c-889b-6a9dff5d3e40" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201505Z:ad318905-11d9-4b1c-889b-6a9dff5d3e40" ], + "x-ms-correlation-request-id": [ "1c3cf456-10d9-41f8-ace6-e58f39f3364a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140522Z:1c3cf456-10d9-41f8-ace6-e58f39f3364a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:15:05 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:05:22 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+35": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517", "518", "519", "520", "521" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "314" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1411,40 +1087,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "1571eed0-4aaf-4e5f-b16f-fc6d2cc31856" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "1c340b1d-c367-4986-b6bc-5ebb1b4fe4f7" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d0e38793-78cc-431d-8566-3586cd241bcc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201536Z:d0e38793-78cc-431d-8566-3586cd241bcc" ], + "x-ms-correlation-request-id": [ "6a246d50-1df5-41cb-82f9-a1c183ab080a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140553Z:6a246d50-1df5-41cb-82f9-a1c183ab080a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:15:35 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:05:52 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+36": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517", "518", "519", "520", "521", "522" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "315" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1452,40 +1128,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e48922d9-ecac-40dc-8c7e-d147c9ae4430" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "57628a6b-66aa-453e-89f9-43598464a415" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "2f6fdfb3-5002-453b-b70f-138356c944d0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201606Z:2f6fdfb3-5002-453b-b70f-138356c944d0" ], + "x-ms-correlation-request-id": [ "54b019e2-a4e9-47b4-8ae9-141b4cadc112" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140623Z:54b019e2-a4e9-47b4-8ae9-141b4cadc112" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:16:05 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:06:23 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+37": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517", "518", "519", "520", "521", "522", "523" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "316" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1493,40 +1169,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d19e628f-aefc-4a57-b2af-5cd292d431c6" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "9c546de1-5fa8-47a1-b54d-248c9eab8453" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3bdb3350-0806-413e-920a-2bf25f5d96e7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201636Z:3bdb3350-0806-413e-920a-2bf25f5d96e7" ], + "x-ms-correlation-request-id": [ "56442eb7-8aca-4e85-852b-9c92bdb32ade" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140653Z:56442eb7-8aca-4e85-852b-9c92bdb32ade" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:16:35 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:06:53 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+38": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517", "518", "519", "520", "521", "522", "523", "524" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "317" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1534,40 +1210,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f87bf71d-bb04-48d8-a602-df0234cea510" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "ec05fe12-4336-49c9-8e7a-27f5b1f62362" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b5b22af7-f62c-430a-96b8-4242f809cfb8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201707Z:b5b22af7-f62c-430a-96b8-4242f809cfb8" ], + "x-ms-correlation-request-id": [ "cdb706ef-d662-4020-b3d3-5adbfdd553cf" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140724Z:cdb706ef-d662-4020-b3d3-5adbfdd553cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:17:06 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:07:24 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+39": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517", "518", "519", "520", "521", "522", "523", "524", "525" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "318" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1575,40 +1251,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "52b7af00-3dda-4215-9702-1986cfa410fd" ], - "x-ms-request-id": [ "6da9d8d7-c415-4ce3-bdfe-e70dcf05e370" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "968c2728-c10f-4297-a7e7-52dbb3384325" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201737Z:52b7af00-3dda-4215-9702-1986cfa410fd" ], + "x-ms-correlation-request-id": [ "8f94d7ed-b738-4212-a1b8-5a19b77473e0" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140754Z:8f94d7ed-b738-4212-a1b8-5a19b77473e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:17:36 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:07:54 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:09:37.7894017Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18+40": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517", "518", "519", "520", "521", "522", "523", "524", "525", "526" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "319" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1616,40 +1292,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f17747ed-97f6-4b06-95a2-591de6e526e6" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "3eb019f0-9da1-4b6b-9d15-0141abe72bb8" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "ba4bc592-ecf1-4374-a380-c910cc942afd" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201807Z:ba4bc592-ecf1-4374-a380-c910cc942afd" ], + "x-ms-correlation-request-id": [ "c831e969-3e72-4d7f-9e5c-e95c75734fb4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140825Z:c831e969-3e72-4d7f-9e5c-e95c75734fb4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:18:07 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:08:24 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "495" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"name\":\"5384d9dc-3d4a-435e-b781-07ceaea2ebe1\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:09:32.5238192Z\",\"endTime\":\"2020-10-26T20:17:55.1294901Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"5b1e5c0d-c236-4879-b8ab-ae35ce31234c\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18\u0026operationResultResponseType=Location+41": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/5384d9dc-3d4a-435e-b781-07ceaea2ebe1?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "509", "510", "511", "512", "513", "514", "515", "516", "517", "518", "519", "520", "521", "522", "523", "524", "525", "526", "527" ], - "x-ms-client-request-id": [ "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c", "81d3bfe8-1102-47a3-8439-a7ae94ef191c" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start", "Start-AzKustoCluster_Start" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "320" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1657,38 +1333,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6e780fce-390a-48d7-8545-01828becd04d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "fa3098fc-71a2-40e2-8ad4-97c9a7435c5b" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-correlation-request-id": [ "5d3a9cc6-d798-44fe-ba09-3212aa1eaa7f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201808Z:5d3a9cc6-d798-44fe-ba09-3212aa1eaa7f" ], + "x-ms-correlation-request-id": [ "a5585455-13a1-42c9-82b0-a78db7e5e0ae" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140855Z:a5585455-13a1-42c9-82b0-a78db7e5e0ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:18:08 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:08:55 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "492" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "528" ], - "x-ms-client-request-id": [ "957d7358-a2bf-4b3a-b33d-1ae73359bf34" ], - "CommandName": [ "Get-AzKustoCluster" ], - "FullCommandName": [ "Get-AzKustoCluster_Get" ], + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "321" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1696,82 +1374,81 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "97c52dc4-f002-4271-9061-9b4c2b3d3f58" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0724fd93-d0a7-4438-a023-c0cab1e3e75c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201808Z:0724fd93-d0a7-4438-a023-c0cab1e3e75c" ], + "x-ms-request-id": [ "11ea2739-6a19-41cf-94ad-9ab34daaced8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "8bc247d7-cd8a-42ae-9c64-c829c8d304e9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140925Z:8bc247d7-cd8a-42ae-9c64-c829c8d304e9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:18:08 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:09:24 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie\",\"name\":\"testclusterojskie\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterojskie.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterojskie.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Running\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T13:59:49.9234915Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/stop?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01+35": { "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/stop?api-version=2020-09-18", + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "322" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "5c688296-4c3a-42a6-b15d-a8221b610fde" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], - "x-ms-correlation-request-id": [ "a05aa347-3ad4-49a6-9881-98486e3478fc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201809Z:a05aa347-3ad4-49a6-9881-98486e3478fc" ], + "x-ms-request-id": [ "85ee072d-9955-4f0b-938c-47067b8db8e9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "c5c83ace-d040-4cb6-9da8-59fc50c7d57a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140956Z:c5c83ace-d040-4cb6-9da8-59fc50c7d57a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:18:08 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:09:55 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "495" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d79b9e7e-f1e1-4050-a58b-744670145020\",\"name\":\"d79b9e7e-f1e1-4050-a58b-744670145020\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:59:49.1109913Z\",\"endTime\":\"2021-05-13T14:09:37.2932452Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"f4856e94-c5af-4d5b-b6f4-24693da20608\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01\u0026operationResultResponseType=Location+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d79b9e7e-f1e1-4050-a58b-744670145020?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "323" ], + "x-ms-client-request-id": [ "34f030cb-30ff-405e-a9a2-de084cc9c207" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1779,39 +1456,38 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "3c5bd8ec-7ee1-4218-a1a5-0e0b3749ce1f" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "216fda7e-8f85-4197-a8e8-ea5d81228a97" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201839Z:216fda7e-8f85-4197-a8e8-ea5d81228a97" ], + "x-ms-request-id": [ "819851c5-7911-427e-aa20-f53e84eea8bd" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], + "x-ms-correlation-request-id": [ "707d0553-fa9c-4e28-a782-b5226e66aa33" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140956Z:707d0553-fa9c-4e28-a782-b5226e66aa33" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:18:38 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:09:55 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "324" ], + "x-ms-client-request-id": [ "6ad82195-7418-4d16-956d-06432aa092a2" ], + "CommandName": [ "Get-AzKustoCluster" ], + "FullCommandName": [ "Get-AzKustoCluster_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1820,81 +1496,83 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "cb0e5005-1166-405d-a19f-e3ee0eaeed5f" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e11a2705-c6d5-482d-b7bb-fb001c571fc5" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201909Z:e11a2705-c6d5-482d-b7bb-fb001c571fc5" ], + "x-ms-request-id": [ "b4fd9c2d-1aa0-42a2-bfd0-dfdb2ca5a805" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "8980896a-a0c3-453d-8b02-59041fc61f2f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140956Z:8980896a-a0c3-453d-8b02-59041fc61f2f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:19:09 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:09:55 GMT" ], + "ETag": [ "\"2021-05-13T14:09:36.6525631Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq\",\"name\":\"testclusters3vznq\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T14:09:36.6525631Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusters3vznq.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusters3vznq.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/stop?api-version=2021-01-01+2": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/stop?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "325" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "ea8f1ccd-04b5-4198-b03e-dcd260b7f9e1" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "03165f02-da4b-44d7-9ead-20af8afe660a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T201940Z:03165f02-da4b-44d7-9ead-20af8afe660a" ], + "x-ms-request-id": [ "7aa7770b-6a19-4f7c-9586-ce7afc8ccba9" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "a859316d-5e87-41e8-b3a7-73e70a515b6c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T140957Z:a859316d-5e87-41e8-b3a7-73e70a515b6c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:19:40 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:09:56 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "326" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1902,40 +1580,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ac4c292f-8cd2-4350-a373-7f3307b8cb56" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "28f4924f-c7e9-4829-b112-7f35644aba04" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "def8cd13-68ef-46dd-a36d-bb6af59ea569" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202010Z:def8cd13-68ef-46dd-a36d-bb6af59ea569" ], + "x-ms-correlation-request-id": [ "4bf17050-6ccb-4554-91a5-8dda3ed888fb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141027Z:4bf17050-6ccb-4554-91a5-8dda3ed888fb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:20:09 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:10:26 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "327" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1943,40 +1621,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d0ebaf65-163b-4375-999c-0cf8b45c88c0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "beef66a0-d602-4ed0-9f02-907c5863e203" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "fc483305-d8b2-4934-ad6f-6b7694a9f32f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202040Z:fc483305-d8b2-4934-ad6f-6b7694a9f32f" ], + "x-ms-correlation-request-id": [ "8256dc06-1504-458b-83ba-54f40bc8b824" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141058Z:8256dc06-1504-458b-83ba-54f40bc8b824" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:20:40 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:10:57 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "328" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1984,40 +1662,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "772ed34a-b47e-4330-8f61-8c44663599cf" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "d1722711-bf8a-47f8-9371-6a9e4e5fde7e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "09793344-0480-4e71-bcff-59f678790a5d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202111Z:09793344-0480-4e71-bcff-59f678790a5d" ], + "x-ms-correlation-request-id": [ "20cd3d33-bfc6-46ae-a308-1f92cc8d12d8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141128Z:20cd3d33-bfc6-46ae-a308-1f92cc8d12d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:21:10 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:11:27 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "329" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2025,40 +1703,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3ebaeaae-7662-494e-9207-dc1888565016" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "a6898cf8-adbf-4ef0-8e2c-fc3b1010b2ea" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5b7edb45-7e9c-4ab7-b79a-013387e90b2b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202141Z:5b7edb45-7e9c-4ab7-b79a-013387e90b2b" ], + "x-ms-correlation-request-id": [ "087421bc-26e1-41bc-8b10-31d991c4495d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141159Z:087421bc-26e1-41bc-8b10-31d991c4495d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:21:41 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:11:58 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "330" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2066,40 +1744,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "01493cb0-71d9-42f3-83bb-ace73ef3cf81" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "3e71d92f-3295-4c1f-af9e-ec2578a559b7" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "221aa945-7253-4056-8098-3fb101c2a87d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202211Z:221aa945-7253-4056-8098-3fb101c2a87d" ], + "x-ms-correlation-request-id": [ "f252fdb8-57d4-4fd1-846a-1363d8e3c3c9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141229Z:f252fdb8-57d4-4fd1-846a-1363d8e3c3c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:22:11 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:12:29 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "331" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2107,40 +1785,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3cace7dc-39cc-4247-822c-f4e4ab260fd7" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "1ec11f1a-b316-4b20-a108-de58932c8663" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3d36543e-145d-4159-a658-e5580db94f40" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202241Z:3d36543e-145d-4159-a658-e5580db94f40" ], + "x-ms-correlation-request-id": [ "0a48e038-cdf4-4d5b-aeac-f3a89b87228e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141259Z:0a48e038-cdf4-4d5b-aeac-f3a89b87228e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:22:41 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:12:59 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+12": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "332" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2148,40 +1826,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "db78d077-bb4b-48f9-b28d-78abd1dcfe43" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "76bad787-a8ce-471d-836e-f31d96464288" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "30711e9d-908d-4c34-97a8-6bd6dd12a7fc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202312Z:30711e9d-908d-4c34-97a8-6bd6dd12a7fc" ], + "x-ms-correlation-request-id": [ "19708074-06f7-41c6-a096-9af1014aa51a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141330Z:19708074-06f7-41c6-a096-9af1014aa51a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:23:12 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:13:29 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+13": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "333" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2189,40 +1867,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "790f38e3-bf64-461c-a0fe-ed385e105ef1" ], - "x-ms-request-id": [ "e327caac-fe58-4445-bf39-f87c00447ca7" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "f7d9db95-1377-47b8-b26f-ad49a9c9ca08" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202342Z:790f38e3-bf64-461c-a0fe-ed385e105ef1" ], + "x-ms-correlation-request-id": [ "44f6e604-8cf0-4e72-ad5f-7a713a354e60" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141400Z:44f6e604-8cf0-4e72-ad5f-7a713a354e60" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:23:41 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:13:59 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+14": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540", "541" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "334" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2230,40 +1908,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a99e4662-60ad-4aaf-be42-448751c4e13f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "92072b72-e4a2-4628-96d0-7cd9f111af08" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3939b770-bc8f-4713-beff-a6fe0c094b81" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202413Z:3939b770-bc8f-4713-beff-a6fe0c094b81" ], + "x-ms-correlation-request-id": [ "79602205-b6b3-4cf6-9c90-a299021bedda" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141430Z:79602205-b6b3-4cf6-9c90-a299021bedda" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:24:12 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:14:30 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+15": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540", "541", "542" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "335" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2271,40 +1949,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "3a8261a1-116d-430f-837f-c1c13cada5b9" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "79a04808-6690-4f0f-b67e-683d28826efa" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202443Z:79a04808-6690-4f0f-b67e-683d28826efa" ], + "x-ms-request-id": [ "65e8ff5d-328b-4b8c-b1a0-a9974635fadf" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "c2e19dd6-359a-4331-aeea-2177ab5c0112" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141501Z:c2e19dd6-359a-4331-aeea-2177ab5c0112" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:24:43 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:15:01 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+16": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540", "541", "542", "543" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "336" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2312,40 +1990,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "6ae4a32a-8a7c-465a-a3cd-11787f1cc57f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "e33b3fa8-4d5e-4865-bc9e-182cb70c246c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "42c00a3c-6dfe-44fe-9e69-94b03ce2baa2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202513Z:42c00a3c-6dfe-44fe-9e69-94b03ce2baa2" ], + "x-ms-correlation-request-id": [ "7d875b40-90aa-4448-b022-1d7d8c91f23c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141531Z:7d875b40-90aa-4448-b022-1d7d8c91f23c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:25:13 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:15:30 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:09:58.077229Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+17": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540", "541", "542", "543", "544" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "337" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2353,40 +2031,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "0213439d-3780-4f96-b26f-d147eeb1c64f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "3e8781d6-c784-4fda-bf5a-2a743a5521b2" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "714de658-e606-43c4-b006-e0fc73f3291a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202544Z:714de658-e606-43c4-b006-e0fc73f3291a" ], + "x-ms-correlation-request-id": [ "c4157ee0-7cd6-475c-8689-f73eb78b5b6d" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141601Z:c4157ee0-7cd6-475c-8689-f73eb78b5b6d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:25:43 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:16:01 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"name\":\"d30abf15-0cf6-4e6b-81c3-c23335f2a5ff\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T14:09:57.4052904Z\",\"endTime\":\"2021-05-13T14:15:49.6351787Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"d52bbced-b0cd-4c69-9251-564b9840136b\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+18": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01\u0026operationResultResponseType=Location+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d30abf15-0cf6-4e6b-81c3-c23335f2a5ff?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540", "541", "542", "543", "544", "545" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "338" ], + "x-ms-client-request-id": [ "a6d6b540-8fe1-4435-a58b-82e835542685" ], + "CommandName": [ "Stop-AzKustoCluster" ], + "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2394,81 +2072,81 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "521d7caf-79a9-41ad-8105-f11a87a62f5f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "9578d4b7-bc81-4dce-88b9-6393cd0952d9" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7a7afaf0-e721-4df7-974a-c92ddb561777" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202614Z:7a7afaf0-e721-4df7-974a-c92ddb561777" ], + "x-ms-correlation-request-id": [ "de2f1af0-a7ea-46c8-8f71-1f055c4a8b98" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141602Z:de2f1af0-a7ea-46c8-8f71-1f055c4a8b98" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:26:14 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:16:02 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+19": { + "[NoDescription]+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/start?api-version=2021-01-01+16": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusters3vznq/start?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540", "541", "542", "543", "544", "545", "546" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "339" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "e50e1653-9852-4e3c-8c0f-ca4028ee3367" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "fdbbd08e-7062-49d7-8261-e2a25e24f6cb" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202645Z:fdbbd08e-7062-49d7-8261-e2a25e24f6cb" ], + "x-ms-request-id": [ "3c6554e8-bb27-4853-a850-0677e37099ae" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "215d411b-82f6-47d1-97b5-84d892363ceb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141603Z:215d411b-82f6-47d1-97b5-84d892363ceb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:26:44 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:16:02 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ "0" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": null, + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+20": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540", "541", "542", "543", "544", "545", "546", "547" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "340" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2476,40 +2154,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "fad7ceb0-5ea3-45c5-a5a2-feabb75eba73" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "db3c6dc1-9779-404d-9662-8cda87eb869f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202715Z:db3c6dc1-9779-404d-9662-8cda87eb869f" ], + "x-ms-request-id": [ "45542365-4c5b-434f-9c0b-5a37b125547b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "daa92dfc-456f-4280-af63-64574b104bd8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141633Z:daa92dfc-456f-4280-af63-64574b104bd8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:27:14 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:16:33 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+21": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540", "541", "542", "543", "544", "545", "546", "547", "548" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "341" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2517,40 +2195,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "e21b6260-f4dd-439c-8574-d7ef429f0cbe" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b0fa4611-6e02-4da1-9655-8e7e8c04be68" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202745Z:b0fa4611-6e02-4da1-9655-8e7e8c04be68" ], + "x-ms-request-id": [ "0904dce2-b9e1-4bf4-9055-1492f3d88b41" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "617a235a-48cf-4075-8f02-7225b3fe60e6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141703Z:617a235a-48cf-4075-8f02-7225b3fe60e6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:27:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:17:02 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "493" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:18:10.1871856Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18+22": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540", "541", "542", "543", "544", "545", "546", "547", "548", "549" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "342" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2558,40 +2236,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "c275f570-d824-4a69-b138-885ca1da1803" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c876f953-6326-4b3e-9e48-86259f8d1ea7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202815Z:c876f953-6326-4b3e-9e48-86259f8d1ea7" ], + "x-ms-request-id": [ "7ff2fa01-60fa-4613-96c3-ba8085694ce5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "f48eaa96-f2db-48ee-a64e-bcc7c79ebbae" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141733Z:f48eaa96-f2db-48ee-a64e-bcc7c79ebbae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:28:15 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:17:33 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "495" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"name\":\"7f58c6a8-5e81-46cd-b62d-daac60454f3b\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:18:08.8747354Z\",\"endTime\":\"2020-10-26T20:28:03.833459Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterSuspend\",\"RootActivityId\":\"e7d12ee3-2735-434d-b948-62d01cbff7a4\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18\u0026operationResultResponseType=Location+23": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/7f58c6a8-5e81-46cd-b62d-daac60454f3b?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "529", "530", "531", "532", "533", "534", "535", "536", "537", "538", "539", "540", "541", "542", "543", "544", "545", "546", "547", "548", "549", "550" ], - "x-ms-client-request-id": [ "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838", "0b30d2f6-3af9-41e4-a91e-0656ef0a9838" ], - "CommandName": [ "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster", "Stop-AzKustoCluster" ], - "FullCommandName": [ "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity", "Stop-AzKustoCluster_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "343" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2599,79 +2277,81 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f653c76e-237e-40d4-9e02-5af92d5a1b4c" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-correlation-request-id": [ "5d6e2dda-7f46-4e50-a3f1-f8057cf8dd4c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202816Z:5d6e2dda-7f46-4e50-a3f1-f8057cf8dd4c" ], + "x-ms-request-id": [ "da5c60ba-41d0-4a9f-b280-c75c921629e1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "c10df781-2487-41fc-87e2-00d3544426f3" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141804Z:c10df781-2487-41fc-87e2-00d3544426f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:28:15 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:18:03 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "492" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/start?api-version=2020-09-18+24": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+21": { "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclusterojskie/start?api-version=2020-09-18", + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "344" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], "CommandName": [ "Start-AzKustoCluster" ], "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "ec1e1150-743b-4c57-a381-c7fda0f74397" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-correlation-request-id": [ "d69835c8-6669-4f75-8b74-931b8940fd68" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202817Z:d69835c8-6669-4f75-8b74-931b8940fd68" ], + "x-ms-request-id": [ "0f663b6f-982c-4e7f-9bd3-c95f64ef2a21" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "b12808e0-71df-4735-bb16-3cac56cd4831" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141834Z:b12808e0-71df-4735-bb16-3cac56cd4831" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:28:16 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:18:34 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "492" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+25": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "345" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2679,40 +2359,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "fdbb7102-c931-4061-930f-5fc053b8411d" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "fde2b985-5bb1-4f42-8ce8-e1b773d86b1d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b45d107a-54bd-41dc-be0b-5ba4c3339385" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202847Z:b45d107a-54bd-41dc-be0b-5ba4c3339385" ], + "x-ms-correlation-request-id": [ "ee24c1b1-9e66-4a17-bb89-8de3417121ac" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141904Z:ee24c1b1-9e66-4a17-bb89-8de3417121ac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:28:46 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:19:03 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+26": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "346" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2720,40 +2400,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "1071ba83-2c29-401d-8ba0-3c527dfb963a" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "ca6db120-f03c-40bf-8d9f-1198f16fadba" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8b67ac10-d747-4777-9b6e-68f4667b660c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202917Z:8b67ac10-d747-4777-9b6e-68f4667b660c" ], + "x-ms-correlation-request-id": [ "74467a77-6e0c-4646-a043-26cea9c0670c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T141935Z:74467a77-6e0c-4646-a043-26cea9c0670c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:29:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:19:34 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+27": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "347" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2761,40 +2441,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "d463748c-c697-40bc-bd6b-0d07c9eccac1" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "dea0bfdd-8031-48e0-bdaa-c43c59246caa" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T202947Z:dea0bfdd-8031-48e0-bdaa-c43c59246caa" ], + "x-ms-request-id": [ "117ff2d3-ba71-4fb6-9f85-f7ba9177bd18" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "134dfbfc-c2cd-4103-8291-57a3bee099b5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142005Z:134dfbfc-c2cd-4103-8291-57a3bee099b5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:29:47 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:20:05 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+28": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "348" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2802,40 +2482,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "f73e43ff-0e32-4698-a285-142f91768d48" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "55526890-d8a6-4af7-a1aa-7f5671f9ddc8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203019Z:55526890-d8a6-4af7-a1aa-7f5671f9ddc8" ], + "x-ms-request-id": [ "8ee37fe5-c3b8-4d0e-8c75-b4bd47cc2aa0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "da2e1564-1b25-49f3-8971-74c40cc7ebaf" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142036Z:da2e1564-1b25-49f3-8971-74c40cc7ebaf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:30:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:20:36 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+29": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "349" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2843,40 +2523,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "5024dda1-0d3a-455f-9181-d09c33c68756" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0524732a-af76-4d9c-8688-2c192a0c2c7a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203050Z:0524732a-af76-4d9c-8688-2c192a0c2c7a" ], + "x-ms-request-id": [ "dde39c72-8ea8-4b8b-9dac-e1dc7c05fda9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "5742c522-61d7-4f7d-b115-f3a06e0fe128" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142106Z:5742c522-61d7-4f7d-b115-f3a06e0fe128" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:30:50 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:21:05 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+30": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "350" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2884,40 +2564,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "bf827b1d-3339-4ab2-b294-71a3e285af9a" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "641a5267-e15a-4020-a5d1-e6c1a8687b6b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203120Z:641a5267-e15a-4020-a5d1-e6c1a8687b6b" ], + "x-ms-request-id": [ "8ba4eac7-d935-49ef-9b2e-7d31d5a9645d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "84c61a32-e882-49b5-b908-72dae2d44c91" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142137Z:84c61a32-e882-49b5-b908-72dae2d44c91" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:31:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:21:36 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+31": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "351" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2925,40 +2605,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "6a6011be-d938-4424-81aa-ceef37a61d8a" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "cfde718f-066c-41ec-b2d2-4cfab8195e4f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203150Z:cfde718f-066c-41ec-b2d2-4cfab8195e4f" ], + "x-ms-request-id": [ "7c0cf252-31c5-4b7c-9c27-fb3704ddc96a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "9ac6f7f6-a2ec-4577-b303-b05c08c00f38" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142207Z:9ac6f7f6-a2ec-4577-b303-b05c08c00f38" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:31:49 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:22:07 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+32": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "352" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -2966,40 +2646,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "c8a8c4b6-a971-4c08-9e7f-14c2b15b02e5" ], - "x-ms-request-id": [ "01cbd7d0-8211-46d1-8140-9577022a9239" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203221Z:c8a8c4b6-a971-4c08-9e7f-14c2b15b02e5" ], + "x-ms-request-id": [ "2d3f6662-ca80-4e04-92b1-d71d0a788fd7" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "f8ce777e-2f8e-45f0-b41a-00dda63fed5c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142237Z:f8ce777e-2f8e-45f0-b41a-00dda63fed5c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:32:20 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:22:36 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+33": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559", "560" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "353" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3007,40 +2687,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "366d9ef6-774a-4360-86bb-3e81cb356c0b" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d7b8aa3d-f265-450b-81cb-a04790e50c4e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203251Z:d7b8aa3d-f265-450b-81cb-a04790e50c4e" ], + "x-ms-request-id": [ "20e116a0-f623-4947-9934-c29e0b9634da" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "6f990843-41b7-4abd-9901-87234183c179" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142308Z:6f990843-41b7-4abd-9901-87234183c179" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:32:51 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:23:07 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+34": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559", "560", "561" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "354" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3048,40 +2728,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "a8d03a8b-ae48-4d69-a9a1-377fc558d273" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7dcec918-81df-41e3-9665-62f0277c3eb6" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203322Z:7dcec918-81df-41e3-9665-62f0277c3eb6" ], + "x-ms-request-id": [ "f412c82a-bbd5-4b16-b559-e24afc7715eb" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "875a83ee-5927-49bd-8569-0343ab6a0e86" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142338Z:875a83ee-5927-49bd-8569-0343ab6a0e86" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:33:21 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:23:37 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+35": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559", "560", "561", "562" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "355" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3089,40 +2769,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "e2730943-7d31-4c6d-af4d-180f562c42ee" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a74d0b76-73df-4b9c-a672-6ea922b4011d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203353Z:a74d0b76-73df-4b9c-a672-6ea922b4011d" ], + "x-ms-request-id": [ "1ba329d2-52e7-4c49-a367-6a36e689e353" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "23cf9673-af25-42bb-9d14-25f54ed0dd33" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142408Z:23cf9673-af25-42bb-9d14-25f54ed0dd33" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:33:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:24:08 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+36": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559", "560", "561", "562", "563" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "356" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3130,40 +2810,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "c35c8369-e8f5-4667-ab86-a989c88ea5d4" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a7165888-c0aa-42e4-816f-1ad17911da65" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203423Z:a7165888-c0aa-42e4-816f-1ad17911da65" ], + "x-ms-request-id": [ "7924c590-99c4-4504-9310-40ab9adef171" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], + "x-ms-correlation-request-id": [ "436fa8c2-891e-4020-a477-e7ff44844fef" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142438Z:436fa8c2-891e-4020-a477-e7ff44844fef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:34:23 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:24:38 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+37": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559", "560", "561", "562", "563", "564" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "357" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3171,40 +2851,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "3b575485-d453-41e2-beb5-2c29979a0e65" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "15c36576-2944-4063-9669-3d564abfcf0c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203453Z:15c36576-2944-4063-9669-3d564abfcf0c" ], + "x-ms-request-id": [ "2136171b-84ba-4e06-a316-6729935e9250" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "364ed10c-6c85-4712-b673-386501f4d3ef" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142509Z:364ed10c-6c85-4712-b673-386501f4d3ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:34:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:25:09 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+38": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559", "560", "561", "562", "563", "564", "565" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "358" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3212,40 +2892,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "c12a4cc1-d94b-4ecc-a77c-f636f3528486" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3799f183-7668-46e2-9c35-d5ce066061a9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203524Z:3799f183-7668-46e2-9c35-d5ce066061a9" ], + "x-ms-request-id": [ "e4b860c6-2f14-4a83-82f3-31a9c4a45b33" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "50a4ce45-d69d-4cbb-b3c0-d2cade033a58" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142540Z:50a4ce45-d69d-4cbb-b3c0-d2cade033a58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:35:23 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:25:40 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+39": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559", "560", "561", "562", "563", "564", "565", "566" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "359" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3253,40 +2933,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "9cf03c2c-0846-4fd1-b40b-f9bbcffd4976" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "6f74b1ca-fc3b-491f-93c6-01ed1ca9c2d3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203554Z:6f74b1ca-fc3b-491f-93c6-01ed1ca9c2d3" ], + "x-ms-request-id": [ "29eba328-2f7d-4c91-86da-328ddea0f6e5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "1781bd67-c518-440a-a6cc-ee953fb0bf36" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142610Z:1781bd67-c518-440a-a6cc-ee953fb0bf36" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:35:54 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:26:09 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+40": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559", "560", "561", "562", "563", "564", "565", "566", "567" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "360" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3294,40 +2974,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "884316e4-1b20-445d-90a1-9bcaf586ba7a" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "454e6a7f-4258-465b-9b4b-d316248e7156" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203624Z:454e6a7f-4258-465b-9b4b-d316248e7156" ], + "x-ms-request-id": [ "92447666-2aab-4399-89c5-f1c2d0cdf71e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "a9d3f4d0-cc4e-4b39-95b0-3ac8c52cdc82" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142640Z:a9d3f4d0-cc4e-4b39-95b0-3ac8c52cdc82" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:36:23 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:26:40 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:28:18.6151347Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:16:04.1039521Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18+41": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01+38": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559", "560", "561", "562", "563", "564", "565", "566", "567", "568" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "361" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3335,40 +3015,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "ee834034-f864-4fbb-af64-57673c3f3973" ], - "x-ms-request-id": [ "c1e9ac5e-cc36-4e27-8224-d2f45d16796f" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203655Z:ee834034-f864-4fbb-af64-57673c3f3973" ], + "x-ms-request-id": [ "86b41ada-ff28-4fe8-b9ca-009e8c770aca" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "37318769-19fd-49b3-934d-b059d9f06a87" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142711Z:37318769-19fd-49b3-934d-b059d9f06a87" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:36:54 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:27:10 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "495" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"name\":\"a71fb8f5-99d0-421b-934e-c0c5777c0a16\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:28:17.0058225Z\",\"endTime\":\"2020-10-26T20:36:44.4051245Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"34a8e7f7-0969-4352-b4da-e23cac080c40\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/60072b2c-7166-4491-b265-25958ba5b10c\",\"name\":\"60072b2c-7166-4491-b265-25958ba5b10c\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T14:16:02.9320594Z\",\"endTime\":\"2021-05-13T14:26:50.2749254Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ClusterResume\",\"RootActivityId\":\"aec01def-1fd7-43a1-8e62-1bede12b6b7f\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Stop-AzKustoCluster+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18\u0026operationResultResponseType=Location+42": { + "[NoDescription]+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01\u0026operationResultResponseType=Location+39": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/a71fb8f5-99d0-421b-934e-c0c5777c0a16?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/60072b2c-7166-4491-b265-25958ba5b10c?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "551", "552", "553", "554", "555", "556", "557", "558", "559", "560", "561", "562", "563", "564", "565", "566", "567", "568", "569" ], - "x-ms-client-request-id": [ "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47", "bc093e11-943d-4303-a16c-6b3d9a0cfe47" ], - "CommandName": [ "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster", "Start-AzKustoCluster" ], - "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity", "Start-AzKustoCluster_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "362" ], + "x-ms-client-request-id": [ "b4998f39-8a31-4a17-8d81-4b55c94fcde6" ], + "CommandName": [ "Start-AzKustoCluster" ], + "FullCommandName": [ "Start-AzKustoCluster_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -3376,23 +3056,23 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "27122177-bdd3-490b-9f60-a8dc9fe22859" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-correlation-request-id": [ "a5a450ec-e4c1-48b5-b7ee-bca9e6b56b9c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203655Z:a5a450ec-e4c1-48b5-b7ee-bca9e6b56b9c" ], + "x-ms-request-id": [ "1a11afdf-29f0-42da-b8c1-10136251f60c" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "d77e54f5-e377-4c54-8acf-0df7a7df1ebf" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T142711Z:d77e54f5-e377-4c54-8acf-0df7a7df1ebf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:36:55 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:27:11 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Stop-AzKustoCluster.Tests.ps1 b/src/Kusto/test/Stop-AzKustoCluster.Tests.ps1 index 84c97057eb49..a91d93114c41 100644 --- a/src/Kusto/test/Stop-AzKustoCluster.Tests.ps1 +++ b/src/Kusto/test/Stop-AzKustoCluster.Tests.ps1 @@ -1,17 +1,20 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzKustoCluster.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Stop-AzKustoCluster' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzKustoCluster.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'Stop' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.PlainClusterName diff --git a/src/Kusto/test/Test-AzKustoClusterNameAvailability.Recording.json b/src/Kusto/test/Test-AzKustoClusterNameAvailability.Recording.json index d50ee2a0427c..aa0e3b0aaf7a 100644 --- a/src/Kusto/test/Test-AzKustoClusterNameAvailability.Recording.json +++ b/src/Kusto/test/Test-AzKustoClusterNameAvailability.Recording.json @@ -1,9 +1,10 @@ { - "Test-AzKustoClusterNameAvailability+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/checkNameAvailability?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/checkNameAvailability?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/checkNameAvailability?api-version=2020-09-18", - "Content": "{\r\n \"name\": \"testclustermlhoe5\",\r\n \"type\": \"Microsoft.Kusto/Clusters\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/checkNameAvailability?api-version=2021-01-01", + "Content": "{\r\n \"name\": \"testclusterqlp6ob\",\r\n \"type\": \"Microsoft.Kusto/clusters\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,25 +15,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-request-id": [ "c1d80828-f491-4050-bc73-d9a01df91960" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "c882981c-1f90-4903-87d0-b1adf29a512a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203656Z:c882981c-1f90-4903-87d0-b1adf29a512a" ], + "x-ms-request-id": [ "0916b8dc-4466-45dd-940c-a7b989446f2b" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "a272080e-ae02-4edd-9068-c09002f1a645" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130940Z:a272080e-ae02-4edd-9068-c09002f1a645" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:36:56 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:09:39 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "154" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"testclustermlhoe5\",\"nameAvailable\":false,\"message\":\"Name \u0027testclustermlhoe5\u0027 with type Engine is already taken. Please specify a different name\"}" + "Content": "{\"name\":\"testclusterqlp6ob\",\"nameAvailable\":false,\"message\":\"Name \u0027testclusterqlp6ob\u0027 with type Engine is already taken. Please specify a different name\"}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Test-AzKustoClusterNameAvailability.Tests.ps1 b/src/Kusto/test/Test-AzKustoClusterNameAvailability.Tests.ps1 index 07d7995a4103..07e42cf9b255 100644 --- a/src/Kusto/test/Test-AzKustoClusterNameAvailability.Tests.ps1 +++ b/src/Kusto/test/Test-AzKustoClusterNameAvailability.Tests.ps1 @@ -1,23 +1,23 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoClusterNameAvailability.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Test-AzKustoClusterNameAvailability' { + BeforeAll{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoClusterNameAvailability.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'CheckExpanded' { $clusterName = $env.clusterName $location = $env.location - $resourceType = $env.resourceType - $testResult = Test-AzKustoClusterNameAvailability -Name $clusterName -Location $location -Type $resourceType + $testResult = Test-AzKustoClusterNameAvailability -Name $clusterName -Location $location $testResult.Message | Should -Be "Name '$clusterName' with type Engine is already taken. Please specify a different name" } } diff --git a/src/Kusto/test/Test-AzKustoClusterPrincipalAssignmentNameAvailability.Recording.json b/src/Kusto/test/Test-AzKustoClusterPrincipalAssignmentNameAvailability.Recording.json index 8f3654c6e99f..d94363b85199 100644 --- a/src/Kusto/test/Test-AzKustoClusterPrincipalAssignmentNameAvailability.Recording.json +++ b/src/Kusto/test/Test-AzKustoClusterPrincipalAssignmentNameAvailability.Recording.json @@ -1,9 +1,10 @@ { - "Test-AzKustoClusterPrincipalAssignmentNameAvailability+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/checkPrincipalAssignmentNameAvailability?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/checkPrincipalAssignmentNameAvailability?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/checkPrincipalAssignmentNameAvailability?api-version=2020-09-18", - "Content": "{\r\n \"name\": \"KustoClientsScenarioTest\",\r\n \"type\": \"Microsoft.Kusto/clusters/principalAssignments\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/checkPrincipalAssignmentNameAvailability?api-version=2021-01-01", + "Content": "{\r\n \"name\": \"KustoClientsScenarioTest\",\r\n \"type\": \"Microsoft.Kusto/Clusters/principalAssignments\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,35 +15,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], - "x-ms-request-id": [ "5f6bceed-1cec-498a-8f20-4ac7a5352af3" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "39ea7fe2-3dbe-4708-bbd0-abe972940a5d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203657Z:39ea7fe2-3dbe-4708-bbd0-abe972940a5d" ], + "x-ms-request-id": [ "98d4c878-0e24-4bb8-832c-300f07071aa5" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "dec74f16-7494-463c-852f-8d1f52bdc272" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130948Z:dec74f16-7494-463c-852f-8d1f52bdc272" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:36:57 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:09:48 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "221" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"KustoClientsScenarioTest\",\"nameAvailable\":false,\"message\":\"Cluster principal assignment KustoClientsScenarioTest already exists in cluster testclustermlhoe5. Please select a different principal assignment name.\"}" + "Content": "{\"name\":\"KustoClientsScenarioTest\",\"nameAvailable\":false,\"message\":\"Cluster principal assignment KustoClientsScenarioTest already exists in cluster testclusterqlp6ob. Please select a different principal assignment name.\"}", + "isContentBase64": false } }, - "Test-AzKustoClusterPrincipalAssignmentNameAvailability+[NoContext]+CheckViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CheckViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "572" ], - "x-ms-client-request-id": [ "4abf6ab3-7a7f-409d-affe-db13f27f7ac0" ], + "x-ms-unique-id": [ "197" ], + "x-ms-client-request-id": [ "e77e3de6-5a36-4035-9ca6-98aef5cbe2b3" ], "CommandName": [ "Get-AzKustoCluster" ], "FullCommandName": [ "Get-AzKustoCluster_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -55,33 +56,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "aea41a51-9bae-4f1b-9e83-a129ba6ffd06" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "b324c21b-ed16-4987-83ca-6fb0ad468130" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5eb81e71-07e4-4475-92a5-52ec3b3a7e4c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203657Z:5eb81e71-07e4-4475-92a5-52ec3b3a7e4c" ], + "x-ms-correlation-request-id": [ "e0e1a267-0f1b-403c-aedd-a5274d35e6e0" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130948Z:e0e1a267-0f1b-403c-aedd-a5274d35e6e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:36:57 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:09:48 GMT" ], + "ETag": [ "\"2021-05-13T13:08:10.8911924Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T13:08:10.8911924Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Test-AzKustoClusterPrincipalAssignmentNameAvailability+[NoContext]+CheckViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/checkPrincipalAssignmentNameAvailability?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CheckViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/checkPrincipalAssignmentNameAvailability?api-version=2021-01-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/checkPrincipalAssignmentNameAvailability?api-version=2020-09-18", - "Content": "{\r\n \"name\": \"principalassignment1\",\r\n \"type\": \"Microsoft.Kusto/clusters/principalAssignments\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/checkPrincipalAssignmentNameAvailability?api-version=2021-01-01", + "Content": "{\r\n \"name\": \"principalassignment1\",\r\n \"type\": \"Microsoft.Kusto/Clusters/principalAssignments\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -92,25 +93,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], - "x-ms-request-id": [ "ee37dd8a-d796-479a-90b2-4041341c0e1a" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d8b3bc3c-8d61-4349-8fb2-ffd1c092ad69" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203658Z:d8b3bc3c-8d61-4349-8fb2-ffd1c092ad69" ], + "x-ms-request-id": [ "b3e79715-aee1-4c9f-88fd-59c3b5f34855" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "23e1cc91-4790-423d-95b1-743e70b4c2dd" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130949Z:23e1cc91-4790-423d-95b1-743e70b4c2dd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:36:58 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:09:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "65" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"principalassignment1\",\"nameAvailable\":true,\"message\":\"\"}" + "Content": "{\"name\":\"principalassignment1\",\"nameAvailable\":true,\"message\":\"\"}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Test-AzKustoClusterPrincipalAssignmentNameAvailability.Tests.ps1 b/src/Kusto/test/Test-AzKustoClusterPrincipalAssignmentNameAvailability.Tests.ps1 index ea3d5c65386c..7def43caa0b4 100644 --- a/src/Kusto/test/Test-AzKustoClusterPrincipalAssignmentNameAvailability.Tests.ps1 +++ b/src/Kusto/test/Test-AzKustoClusterPrincipalAssignmentNameAvailability.Tests.ps1 @@ -1,37 +1,36 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoClusterPrincipalAssignmentNameAvailability.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Test-AzKustoClusterPrincipalAssignmentNameAvailability' { + BeforeAll{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoClusterPrincipalAssignmentNameAvailability.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'CheckExpanded' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName $principalAssignmentName = $env.principalAssignmentName - $principalAssignmentResourceType = $env.clusterPrincipalAssignmentResourceType - - $availability = Test-AzKustoClusterPrincipalAssignmentNameAvailability -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $principalAssignmentName -Type $principalAssignmentResourceType - $availability.NameAvailable | Should Be $false - $availability.Name | Should Be $principalAssignmentName + + $availability = Test-AzKustoClusterPrincipalAssignmentNameAvailability -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $principalAssignmentName + $availability.NameAvailable | Should -Be $false + $availability.Name | Should -Be $principalAssignmentName } It 'CheckViaIdentityExpanded' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName $principalAssignmentName = $env.principalAssignmentName1 - $principalAssignmentResourceType = $env.clusterPrincipalAssignmentResourceType - + $cluster = Get-AzKustoCluster -ResourceGroupName $resourceGroupName -ClusterName $clusterName - $availability = Test-AzKustoClusterPrincipalAssignmentNameAvailability -InputObject $cluster -Name $principalAssignmentName -Type $principalAssignmentResourceType - $availability.NameAvailable | Should Be $true - $availability.Name | Should Be $principalAssignmentName + $availability = Test-AzKustoClusterPrincipalAssignmentNameAvailability -InputObject $cluster -Name $principalAssignmentName + $availability.NameAvailable | Should -Be $true + $availability.Name | Should -Be $principalAssignmentName } } diff --git a/src/Kusto/test/Test-AzKustoDataConnectionNameAvailability.Recording.json b/src/Kusto/test/Test-AzKustoDataConnectionNameAvailability.Recording.json index ec1761c54aa1..eebd4a965993 100644 --- a/src/Kusto/test/Test-AzKustoDataConnectionNameAvailability.Recording.json +++ b/src/Kusto/test/Test-AzKustoDataConnectionNameAvailability.Recording.json @@ -1,9 +1,10 @@ { - "Test-AzKustoDataConnectionNameAvailability+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/checkNameAvailability?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/checkNameAvailability?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/checkNameAvailability?api-version=2020-09-18", - "Content": "{\r\n \"name\": \"testdataconnectionmlhoe5\",\r\n \"type\": \"Microsoft.Kusto/Clusters/Databases/dataConnections\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/checkNameAvailability?api-version=2021-01-01", + "Content": "{\r\n \"name\": \"testdataconnectionqlp6ob\",\r\n \"type\": \"Microsoft.Kusto/Clusters/Databases/dataConnections\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,35 +15,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1186" ], - "x-ms-request-id": [ "bb402b74-a9eb-4351-ae15-6dd4b5b284bf" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9e92b1a6-449b-40b1-bfeb-9766894afa5d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203810Z:9e92b1a6-449b-40b1-bfeb-9766894afa5d" ], + "x-ms-request-id": [ "e9f298e7-4a86-4c00-9366-bb389caaf885" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], + "x-ms-correlation-request-id": [ "9dab96f4-ac72-496f-9530-767a85bdd4df" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131116Z:9dab96f4-ac72-496f-9530-767a85bdd4df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:38:09 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:11:16 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "255" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"testdataconnectionmlhoe5\",\"nameAvailable\":false,\"message\":\"Data Connection testdataconnectionmlhoe5 already exists in database databasetest in cluster eventgridclienttest. Please select a different data connection name.\",\"reason\":\"AlreadyExists\"}" + "Content": "{\"name\":\"testdataconnectionqlp6ob\",\"nameAvailable\":false,\"message\":\"Data Connection testdataconnectionqlp6ob already exists in database databasetest in cluster eventgridclienttest. Please select a different data connection name.\",\"reason\":\"AlreadyExists\"}", + "isContentBase64": false } }, - "Test-AzKustoDataConnectionNameAvailability+[NoContext]+CheckViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CheckViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "587" ], - "x-ms-client-request-id": [ "0919ff88-4844-46dd-a2c1-3bd056916a58" ], + "x-ms-unique-id": [ "212" ], + "x-ms-client-request-id": [ "e5f498e4-9fd7-41f4-a704-9d0f862b61e0" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -55,33 +56,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "a5540f8e-8f71-4884-84b5-52337d231785" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9d03b5e6-c082-460b-8598-c1153fc1a551" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203810Z:9d03b5e6-c082-460b-8598-c1153fc1a551" ], + "x-ms-request-id": [ "b9c9f4e7-4911-4df5-8e8c-12a779cb30f3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "c48762e3-c60a-428a-be30-f5a36b695f5f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131116Z:c48762e3-c60a-428a-be30-f5a36b695f5f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:38:09 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:11:16 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "529" ], + "Content-Length": [ "536" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest\",\"name\":\"eventgridclienttest/databasetest\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":3650,\"softDeletePeriod\":\"P3650D\",\"hotCachePeriodInDays\":31,\"hotCachePeriod\":\"P31D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest\",\"name\":\"eventgridclienttest/databasetest\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":false,\"softDeletePeriodInDays\":3650,\"softDeletePeriod\":\"P3650D\",\"hotCachePeriodInDays\":31,\"hotCachePeriod\":\"P31D\",\"statistics\":{\"size\":10497512.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Test-AzKustoDataConnectionNameAvailability+[NoContext]+CheckViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/checkNameAvailability?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CheckViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/checkNameAvailability?api-version=2021-01-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/checkNameAvailability?api-version=2020-09-18", - "Content": "{\r\n \"name\": \"testdataconnectionmlhoe546xdyp\",\r\n \"type\": \"Microsoft.Kusto/Clusters/Databases/dataConnections\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/checkNameAvailability?api-version=2021-01-01", + "Content": "{\r\n \"name\": \"testdataconnectionqlp6ob9u4t7o\",\r\n \"type\": \"Microsoft.Kusto/Clusters/Databases/dataConnections\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -92,25 +93,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], - "x-ms-request-id": [ "09fc40e1-dae0-48a3-ab0b-0aa3f76728ed" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "faeb064b-cc4e-45e7-af72-5753f499cf75" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203811Z:faeb064b-cc4e-45e7-af72-5753f499cf75" ], + "x-ms-request-id": [ "466fd3f2-8a15-492a-a641-8f338b04be0b" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], + "x-ms-correlation-request-id": [ "e71b5ce8-e8d7-4cf4-ac9f-e2522647186c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131117Z:e71b5ce8-e8d7-4cf4-ac9f-e2522647186c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:38:10 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:11:17 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "75" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"testdataconnectionmlhoe546xdyp\",\"nameAvailable\":true,\"message\":\"\"}" + "Content": "{\"name\":\"testdataconnectionqlp6ob9u4t7o\",\"nameAvailable\":true,\"message\":\"\"}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Test-AzKustoDataConnectionNameAvailability.Tests.ps1 b/src/Kusto/test/Test-AzKustoDataConnectionNameAvailability.Tests.ps1 index fcc31cacb6e3..6baa0905719e 100644 --- a/src/Kusto/test/Test-AzKustoDataConnectionNameAvailability.Tests.ps1 +++ b/src/Kusto/test/Test-AzKustoDataConnectionNameAvailability.Tests.ps1 @@ -1,26 +1,26 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoDataConnectionNameAvailability.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Test-AzKustoDataConnectionNameAvailability' { + BeforeAll{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoDataConnectionNameAvailability.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'CheckExpanded' { $resourceGroupName = $env.resourceGroupNamefordc $clusterName = $env.clusterNamefordc $databaseName = $env.databaseNamefordc $dataConnectionName = $env.dataConnectionName - $dataConnectionResourceType = $env.dataConnectionResourceType - $availability = Test-AzKustoDataConnectionNameAvailability -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -Name $dataConnectionName -Type $dataConnectionResourceType - $availability.NameAvailable | Should Be $false + $availability = Test-AzKustoDataConnectionNameAvailability -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -Name $dataConnectionName + $availability.NameAvailable | Should -Be $false } It 'CheckViaIdentityExpanded' { @@ -28,10 +28,9 @@ Describe 'Test-AzKustoDataConnectionNameAvailability' { $clusterName = $env.clusterNamefordc $databaseName = $env.databaseNamefordc $dataConnectionName = $env.dataConnectionName + $env.rstr4 - $dataConnectionResourceType = $env.dataConnectionResourceType $database = Get-AzKustoDatabase -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $databaseName - $availability = Test-AzKustoDataConnectionNameAvailability -InputObject $database -Name $dataConnectionName -Type $dataConnectionResourceType - $availability.NameAvailable | Should Be $true + $availability = Test-AzKustoDataConnectionNameAvailability -InputObject $database -Name $dataConnectionName + $availability.NameAvailable | Should -Be $true } } diff --git a/src/Kusto/test/Test-AzKustoDatabaseNameAvailability.Recording.json b/src/Kusto/test/Test-AzKustoDatabaseNameAvailability.Recording.json index 8a7ce2291c3a..f13227df3f7d 100644 --- a/src/Kusto/test/Test-AzKustoDatabaseNameAvailability.Recording.json +++ b/src/Kusto/test/Test-AzKustoDatabaseNameAvailability.Recording.json @@ -1,9 +1,10 @@ { - "Test-AzKustoDatabaseNameAvailability+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/checkNameAvailability?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/checkNameAvailability?api-version=2021-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/checkNameAvailability?api-version=2020-09-18", - "Content": "{\r\n \"name\": \"testdatabasemlhoe5\",\r\n \"type\": \"Microsoft.Kusto/Clusters/Databases\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/checkNameAvailability?api-version=2021-01-01", + "Content": "{\r\n \"name\": \"testdatabaseqlp6ob\",\r\n \"type\": \"Microsoft.Kusto/Clusters/Databases\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,35 +15,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], - "x-ms-request-id": [ "332481fa-b7b6-4fba-adaa-a9ad8ae52095" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "17c6f43e-e7c8-4423-a0c1-f53d96608258" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203659Z:17c6f43e-e7c8-4423-a0c1-f53d96608258" ], + "x-ms-request-id": [ "287f5e66-03b2-40ba-a070-2cabe817e183" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "99ae58f1-1889-4cdf-bab8-0b178e490bc4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130955Z:99ae58f1-1889-4cdf-bab8-0b178e490bc4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:36:58 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:09:54 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "177" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"testdatabasemlhoe5\",\"nameAvailable\":false,\"message\":\"Database testdatabasemlhoe5 already exists in cluster testclustermlhoe5. Please select a different database name.\"}" + "Content": "{\"name\":\"testdatabaseqlp6ob\",\"nameAvailable\":false,\"message\":\"Database testdatabaseqlp6ob already exists in cluster testclusterqlp6ob. Please select a different database name.\"}", + "isContentBase64": false } }, - "Test-AzKustoDatabaseNameAvailability+[NoContext]+CheckViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CheckViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "575" ], - "x-ms-client-request-id": [ "f779655f-e76a-4f20-aa67-79553b3d7b3c" ], + "x-ms-unique-id": [ "200" ], + "x-ms-client-request-id": [ "07b36310-f360-4410-80f5-0caed2b3afa0" ], "CommandName": [ "Get-AzKustoCluster" ], "FullCommandName": [ "Get-AzKustoCluster_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -55,33 +56,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "2aaf40d6-1568-4a65-989a-9f2cfdbb1a96" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "d2be7c34-a87f-47fa-a66d-9207f102ad42" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9750000c-2725-40a8-b5e7-f4381ebd1330" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203659Z:9750000c-2725-40a8-b5e7-f4381ebd1330" ], + "x-ms-correlation-request-id": [ "33348d53-e2e8-48bb-9a2c-d4ccef40a4b0" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130955Z:33348d53-e2e8-48bb-9a2c-d4ccef40a4b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:36:59 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:09:55 GMT" ], + "ETag": [ "\"2021-05-13T13:08:10.8911924Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T13:08:10.8911924Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Test-AzKustoDatabaseNameAvailability+[NoContext]+CheckViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/checkNameAvailability?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CheckViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/checkNameAvailability?api-version=2021-01-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/checkNameAvailability?api-version=2020-09-18", - "Content": "{\r\n \"name\": \"testdatabasemlhoe5gl478b\",\r\n \"type\": \"Microsoft.Kusto/Clusters/Databases\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/checkNameAvailability?api-version=2021-01-01", + "Content": "{\r\n \"name\": \"testdatabaseqlp6ob5gj291\",\r\n \"type\": \"Microsoft.Kusto/Clusters/Databases\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -92,25 +93,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], - "x-ms-request-id": [ "88f0d26b-0c3c-4dfb-8aa4-8a7efacb5be8" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "29adde62-b28a-4031-b4b7-4c2ade1d162c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203700Z:29adde62-b28a-4031-b4b7-4c2ade1d162c" ], + "x-ms-request-id": [ "e974c8d2-d163-40da-84b9-453fe1bb7443" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "27e16532-873c-4b94-bb44-92dbbc4ba65c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T130956Z:27e16532-873c-4b94-bb44-92dbbc4ba65c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:37:00 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:09:56 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "69" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"testdatabasemlhoe5gl478b\",\"nameAvailable\":true,\"message\":\"\"}" + "Content": "{\"name\":\"testdatabaseqlp6ob5gj291\",\"nameAvailable\":true,\"message\":\"\"}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Test-AzKustoDatabaseNameAvailability.Tests.ps1 b/src/Kusto/test/Test-AzKustoDatabaseNameAvailability.Tests.ps1 index 1b8c11bb328c..108efc39e517 100644 --- a/src/Kusto/test/Test-AzKustoDatabaseNameAvailability.Tests.ps1 +++ b/src/Kusto/test/Test-AzKustoDatabaseNameAvailability.Tests.ps1 @@ -1,17 +1,18 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoDatabaseNameAvailability.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Test-AzKustoDatabaseNameAvailability' { + BeforeAll{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoDatabaseNameAvailability.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'CheckExpanded' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName @@ -19,8 +20,8 @@ Describe 'Test-AzKustoDatabaseNameAvailability' { $databaseResourceType = $env.databaseType $availability = Test-AzKustoDatabaseNameAvailability -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $databaseName -Type $databaseResourceType - $availability.NameAvailable | Should Be $false - $availability.Name | Should Be $databaseName + $availability.NameAvailable | Should -Be $false + $availability.Name | Should -Be $databaseName } It 'CheckViaIdentityExpanded' { @@ -31,7 +32,7 @@ Describe 'Test-AzKustoDatabaseNameAvailability' { $cluster = Get-AzKustoCluster -ResourceGroupName $resourceGroupName -ClusterName $clusterName $availability = Test-AzKustoDatabaseNameAvailability -InputObject $cluster -Name $databaseName -Type $databaseResourceType - $availability.NameAvailable | Should Be $true - $availability.Name | Should Be $databaseName + $availability.NameAvailable | Should -Be $true + $availability.Name | Should -Be $databaseName } } diff --git a/src/Kusto/test/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.Recording.json b/src/Kusto/test/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.Recording.json index 21ed119af744..b2cbab5fb199 100644 --- a/src/Kusto/test/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.Recording.json +++ b/src/Kusto/test/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.Recording.json @@ -1,9 +1,10 @@ { - "Test-AzKustoDatabasePrincipalAssignmentNameAvailability+[NoContext]+CheckExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CheckExpanded+$PUT+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", - "Content": "{\r\n \"properties\": {\r\n \"principalId\": \"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\r\n \"principalType\": \"App\",\r\n \"role\": \"Viewer\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", + "Content": "{\r\n \"properties\": {\r\n \"principalId\": \"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\r\n \"role\": \"Viewer\",\r\n \"principalType\": \"App\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,41 +15,42 @@ "Response": { "StatusCode": 201, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "x-ms-request-id": [ "1a1fb886-bdbb-46f1-80c0-94177fd29851" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c1a6965c-185d-4088-aaa5-e71f1f1e29ce?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "ec1cb012-15c8-40b2-93d3-f107e4a136c0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203701Z:ec1cb012-15c8-40b2-93d3-f107e4a136c0" ], + "x-ms-request-id": [ "dd529db5-e060-4871-bda7-a1111cf6297c" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/060f6bf8-6bbf-453d-a830-f61a5c2e9739?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-correlation-request-id": [ "478e95cc-1c90-4ff2-a6c2-3e364c2c1158" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131002Z:478e95cc-1c90-4ff2-a6c2-3e364c2c1158" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:37:01 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:10:02 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"principalType\":\"App\",\"role\":\"Viewer\",\"provisioningState\":\"Creating\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"Viewer\",\"principalType\":\"App\",\"provisioningState\":\"Creating\"}}", + "isContentBase64": false } }, - "Test-AzKustoDatabasePrincipalAssignmentNameAvailability+[NoContext]+CheckExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/c1a6965c-185d-4088-aaa5-e71f1f1e29ce?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CheckExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/060f6bf8-6bbf-453d-a830-f61a5c2e9739?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/c1a6965c-185d-4088-aaa5-e71f1f1e29ce?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/060f6bf8-6bbf-453d-a830-f61a5c2e9739?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "577", "578" ], - "x-ms-client-request-id": [ "6d88ec28-a8f1-4980-a504-d1d70fc9a1fc", "6d88ec28-a8f1-4980-a504-d1d70fc9a1fc" ], - "CommandName": [ "New-AzKustoDatabasePrincipalAssignment", "New-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded", "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "203" ], + "x-ms-client-request-id": [ "e9857e29-3da1-4b5f-90e7-27644db0f0e3" ], + "CommandName": [ "New-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -56,40 +58,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "295aa555-9245-4eba-a003-8561b0241131" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "fb8110d2-430e-403e-9646-a04616e5355d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203732Z:fb8110d2-430e-403e-9646-a04616e5355d" ], + "x-ms-request-id": [ "23d66299-125a-47fa-92ac-9a4704af9447" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "996a0750-e561-4747-9dfb-16cec7b2742a" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131032Z:996a0750-e561-4747-9dfb-16cec7b2742a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:37:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:10:32 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "503" ], + "Content-Length": [ "502" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/c1a6965c-185d-4088-aaa5-e71f1f1e29ce\",\"name\":\"c1a6965c-185d-4088-aaa5-e71f1f1e29ce\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:37:01.8051379Z\",\"endTime\":\"2020-10-26T20:37:01.8988771Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseAddPrincipals\",\"RootActivityId\":\"84b2c3d5-94f9-458a-90bc-24bb7ed50ded\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/060f6bf8-6bbf-453d-a830-f61a5c2e9739\",\"name\":\"060f6bf8-6bbf-453d-a830-f61a5c2e9739\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:10:02.370213Z\",\"endTime\":\"2021-05-13T13:10:02.5889643Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseAddPrincipals\",\"RootActivityId\":\"4133ea69-f6f9-4944-92b3-ed2ac06edb4d\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Test-AzKustoDatabasePrincipalAssignmentNameAvailability+[NoContext]+CheckExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+CheckExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "577", "578", "579" ], - "x-ms-client-request-id": [ "6d88ec28-a8f1-4980-a504-d1d70fc9a1fc", "6d88ec28-a8f1-4980-a504-d1d70fc9a1fc", "6d88ec28-a8f1-4980-a504-d1d70fc9a1fc" ], - "CommandName": [ "New-AzKustoDatabasePrincipalAssignment", "New-AzKustoDatabasePrincipalAssignment", "New-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded", "New-AzKustoDatabasePrincipalAssignment_CreateExpanded", "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "204" ], + "x-ms-client-request-id": [ "e9857e29-3da1-4b5f-90e7-27644db0f0e3" ], + "CommandName": [ "New-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "New-AzKustoDatabasePrincipalAssignment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -97,33 +99,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d4f07aab-0863-49fa-927a-ec1ab5d3a4ee" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "00f63089-d6fd-445a-953c-db3b62e36849" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e0a7f624-391a-4c13-8964-bcd8a5730978" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203732Z:e0a7f624-391a-4c13-8964-bcd8a5730978" ], + "x-ms-correlation-request-id": [ "d17f62d6-e8bc-4c1d-9239-4df5798f8973" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131033Z:d17f62d6-e8bc-4c1d-9239-4df5798f8973" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:37:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:10:33 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "616" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"Viewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"lugoldbekusto\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob/principalassignment1\",\"type\":\"Microsoft.Kusto/Clusters/Databases/PrincipalAssignments\",\"etag\":\"\\\"\\\"\",\"tags\":{},\"properties\":{\"principalId\":\"e60fe5c8-d6a5-4dee-b382-fb4502588dd0\",\"role\":\"Viewer\",\"principalType\":\"App\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"tenantName\":\"Microsoft\",\"principalName\":\"lugoldbekusto\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Test-AzKustoDatabasePrincipalAssignmentNameAvailability+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/checkPrincipalAssignmentNameAvailability?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/checkPrincipalAssignmentNameAvailability?api-version=2021-01-01+4": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/checkPrincipalAssignmentNameAvailability?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/checkPrincipalAssignmentNameAvailability?api-version=2021-01-01", "Content": "{\r\n \"name\": \"principalassignment1\",\r\n \"type\": \"Microsoft.Kusto/Clusters/Databases/principalAssignments\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -134,35 +136,35 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], - "x-ms-request-id": [ "8061a717-0db5-4d1b-9896-e57ea541efa9" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9f259c3f-a721-4083-9e0a-1fcfd7bcd5d8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203733Z:9f259c3f-a721-4083-9e0a-1fcfd7bcd5d8" ], + "x-ms-request-id": [ "c793da1b-1c6f-451c-b073-5265ca649948" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-correlation-request-id": [ "c04b9195-27c1-4504-b460-e15c7a8bbf9b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131034Z:c04b9195-27c1-4504-b460-e15c7a8bbf9b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:37:32 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:10:34 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "216" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"principalassignment1\",\"nameAvailable\":false,\"message\":\"Database principal assignment principalassignment1 already exists in database testdatabasemlhoe5. Please select a different principal assignment name.\"}" + "Content": "{\"name\":\"principalassignment1\",\"nameAvailable\":false,\"message\":\"Database principal assignment principalassignment1 already exists in database testdatabaseqlp6ob. Please select a different principal assignment name.\"}", + "isContentBase64": false } }, - "Test-AzKustoDatabasePrincipalAssignmentNameAvailability+[NoContext]+CheckExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+CheckExpanded+$DELETE+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/PrincipalAssignments/principalassignment1?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/PrincipalAssignments/principalassignment1?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "581" ], - "x-ms-client-request-id": [ "4863addb-5e00-4857-a964-be40879bbbf0" ], + "x-ms-unique-id": [ "206" ], + "x-ms-client-request-id": [ "157994ad-9dac-4cc6-8912-0630faa779db" ], "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment" ], "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -175,40 +177,41 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ed561bea-b95d-472c-b40b-4aa531ab210b?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ed561bea-b95d-472c-b40b-4aa531ab210b?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-request-id": [ "5081775b-acab-4812-85a3-e9c2cb692f48" ], - "x-ms-correlation-request-id": [ "5081775b-acab-4812-85a3-e9c2cb692f48" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203733Z:5081775b-acab-4812-85a3-e9c2cb692f48" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d16aa65d-e993-45b9-9f66-1f4f3b1e59b2?api-version=2021-01-01" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14991" ], + "x-ms-request-id": [ "9dd8dbcf-43f6-48b0-b2f1-2a12c0082244" ], + "x-ms-correlation-request-id": [ "9dd8dbcf-43f6-48b0-b2f1-2a12c0082244" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131035Z:9dd8dbcf-43f6-48b0-b2f1-2a12c0082244" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:37:33 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:10:35 GMT" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d16aa65d-e993-45b9-9f66-1f4f3b1e59b2?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Test-AzKustoDatabasePrincipalAssignmentNameAvailability+[NoContext]+CheckExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ed561bea-b95d-472c-b40b-4aa531ab210b?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+CheckExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d16aa65d-e993-45b9-9f66-1f4f3b1e59b2?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ed561bea-b95d-472c-b40b-4aa531ab210b?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d16aa65d-e993-45b9-9f66-1f4f3b1e59b2?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "581", "582" ], - "x-ms-client-request-id": [ "4863addb-5e00-4857-a964-be40879bbbf0", "4863addb-5e00-4857-a964-be40879bbbf0" ], - "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment", "Remove-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete", "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "207" ], + "x-ms-client-request-id": [ "157994ad-9dac-4cc6-8912-0630faa779db" ], + "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -216,40 +219,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "25cb9d6d-3b87-4d4e-8ee2-e33da78bd376" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bc384eb3-c8ab-4917-b09d-61c40feed2b1" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203804Z:bc384eb3-c8ab-4917-b09d-61c40feed2b1" ], + "x-ms-request-id": [ "8d1402d8-d265-4efa-bf3a-b225c3aa30f7" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "c9656b5c-6cb7-415c-935e-fc6f3f5c76cb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131105Z:c9656b5c-6cb7-415c-935e-fc6f3f5c76cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:38:03 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:11:04 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "503" ], + "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/ed561bea-b95d-472c-b40b-4aa531ab210b\",\"name\":\"ed561bea-b95d-472c-b40b-4aa531ab210b\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:37:33.782264Z\",\"endTime\":\"2020-10-26T20:37:33.8603288Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDropPrincipals\",\"RootActivityId\":\"26ae7585-6560-4437-8520-708213a8070c\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d16aa65d-e993-45b9-9f66-1f4f3b1e59b2\",\"name\":\"d16aa65d-e993-45b9-9f66-1f4f3b1e59b2\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T13:10:35.1242426Z\",\"endTime\":\"2021-05-13T13:10:35.3899575Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseDropPrincipals\",\"RootActivityId\":\"7ced540c-16b0-4062-9aa1-a6f225a4a4c4\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Test-AzKustoDatabasePrincipalAssignmentNameAvailability+[NoContext]+CheckExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/ed561bea-b95d-472c-b40b-4aa531ab210b?api-version=2020-09-18\u0026operationResultResponseType=Location+7": { + "[NoDescription]+[NoContext]+CheckExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d16aa65d-e993-45b9-9f66-1f4f3b1e59b2?api-version=2021-01-01\u0026operationResultResponseType=Location+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/ed561bea-b95d-472c-b40b-4aa531ab210b?api-version=2020-09-18\u0026operationResultResponseType=Location", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d16aa65d-e993-45b9-9f66-1f4f3b1e59b2?api-version=2021-01-01\u0026operationResultResponseType=Location", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "581", "582", "583" ], - "x-ms-client-request-id": [ "4863addb-5e00-4857-a964-be40879bbbf0", "4863addb-5e00-4857-a964-be40879bbbf0", "4863addb-5e00-4857-a964-be40879bbbf0" ], - "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment", "Remove-AzKustoDatabasePrincipalAssignment", "Remove-AzKustoDatabasePrincipalAssignment" ], - "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete", "Remove-AzKustoDatabasePrincipalAssignment_Delete", "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "208" ], + "x-ms-client-request-id": [ "157994ad-9dac-4cc6-8912-0630faa779db" ], + "CommandName": [ "Remove-AzKustoDatabasePrincipalAssignment" ], + "FullCommandName": [ "Remove-AzKustoDatabasePrincipalAssignment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -257,33 +260,34 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6adcad09-04c1-4cd7-a141-9dcdb8ecf3b8" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-correlation-request-id": [ "7b3ba839-de68-43ed-8ad2-6a9cead8565b" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203804Z:7b3ba839-de68-43ed-8ad2-6a9cead8565b" ], + "x-ms-request-id": [ "145ee86d-0f6d-403e-8394-cba56a6ca9bc" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "077b5998-b1ca-42e9-80c9-5854c68e2f60" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131105Z:077b5998-b1ca-42e9-80c9-5854c68e2f60" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:38:03 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:11:04 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "0" ], + "Expires": [ "-1" ] }, - "Content": null + "Content": null, + "isContentBase64": false } }, - "Test-AzKustoDatabasePrincipalAssignmentNameAvailability+[NoContext]+CheckViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+CheckViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "584" ], - "x-ms-client-request-id": [ "ceb14784-6f58-45fb-866b-4a97924cbbd9" ], + "x-ms-unique-id": [ "209" ], + "x-ms-client-request-id": [ "fffe7394-3051-4d73-a163-5f5c715f3f54" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -296,33 +300,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "68124499-f151-43e3-9b2c-afbee9b3482d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "5beaf622-7207-4fc4-bcb9-83b82fd42265" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203804Z:5beaf622-7207-4fc4-bcb9-83b82fd42265" ], + "x-ms-request-id": [ "b8593c72-1f1b-4de7-89dd-19af59d97be0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "e70d6ae7-53c2-435b-a1f2-41ffa4da34c8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131106Z:e70d6ae7-53c2-435b-a1f2-41ffa4da34c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:38:03 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:11:05 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "518" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Test-AzKustoDatabasePrincipalAssignmentNameAvailability+[NoContext]+CheckViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/checkPrincipalAssignmentNameAvailability?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+CheckViaIdentityExpanded+$POST+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/checkPrincipalAssignmentNameAvailability?api-version=2021-01-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5/checkPrincipalAssignmentNameAvailability?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob/checkPrincipalAssignmentNameAvailability?api-version=2021-01-01", "Content": "{\r\n \"name\": \"principalassignment1\",\r\n \"type\": \"Microsoft.Kusto/Clusters/Databases/principalAssignments\"\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -333,25 +337,24 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], - "x-ms-request-id": [ "3d3ff73f-dea8-434c-a11a-8066ec21fafc" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bbbdc615-1386-41fd-a5f6-a074cea13838" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203805Z:bbbdc615-1386-41fd-a5f6-a074cea13838" ], + "x-ms-request-id": [ "96d1210a-3279-4551-8027-3216d6b13fea" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], + "x-ms-correlation-request-id": [ "47bcb571-fa15-415c-bb5d-9c6307d49c3f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T131107Z:47bcb571-fa15-415c-bb5d-9c6307d49c3f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:38:04 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 13:11:06 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "65" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"principalassignment1\",\"nameAvailable\":true,\"message\":\"\"}" + "Content": "{\"name\":\"principalassignment1\",\"nameAvailable\":true,\"message\":\"\"}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.Tests.ps1 b/src/Kusto/test/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.Tests.ps1 index 7f6ccf293045..b3d155f782ef 100644 --- a/src/Kusto/test/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.Tests.ps1 +++ b/src/Kusto/test/Test-AzKustoDatabasePrincipalAssignmentNameAvailability.Tests.ps1 @@ -1,31 +1,31 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability' { + BeforeAll{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'CheckExpanded' { $resourceGroupName = $env.resourceGroupName $clusterName = $env.clusterName $databaseName = $env.databaseName $principalAssignmentName = $env.principalAssignmentName1 $principalId = $env.principalId1 - $principalAssignmentResourceType = $env.databasePrincipalAssignmentResourceType $role = $env.databasePrincipalRole $principalType = $env.principalType New-AzKustoDatabasePrincipalAssignment -ResourceGroupName $resourceGroupName -ClusterName $clusterName -PrincipalAssignmentName $principalAssignmentName -DatabaseName $databaseName -PrincipalId $principalId -PrincipalType $principalType -Role $role - $availability = Test-AzKustoDatabasePrincipalAssignmentNameAvailability -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -Name $principalAssignmentName -Type $principalAssignmentResourceType - $availability.NameAvailable | Should Be $false - $availability.Name | Should Be $principalAssignmentName + $availability = Test-AzKustoDatabasePrincipalAssignmentNameAvailability -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -Name $principalAssignmentName + $availability.NameAvailable | Should -Be $false + $availability.Name | Should -Be $principalAssignmentName { Remove-AzKustoDatabasePrincipalAssignment -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -PrincipalAssignmentName $principalAssignmentName } | Should -Not -Throw } @@ -37,8 +37,8 @@ Describe 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability' { $principalAssignmentResourceType = $env.databasePrincipalAssignmentResourceType $cluster = Get-AzKustoDatabase -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $databaseName - $availability = Test-AzKustoDatabasePrincipalAssignmentNameAvailability -InputObject $cluster -Name $principalAssignmentName -Type $principalAssignmentResourceType - $availability.NameAvailable | Should Be $true - $availability.Name | Should Be $principalAssignmentName + $availability = Test-AzKustoDatabasePrincipalAssignmentNameAvailability -InputObject $cluster -Name $principalAssignmentName + $availability.NameAvailable | Should -Be $true + $availability.Name | Should -Be $principalAssignmentName } } diff --git a/src/Kusto/test/Test-AzKustoScriptNameAvailability.Tests.ps1 b/src/Kusto/test/Test-AzKustoScriptNameAvailability.Tests.ps1 new file mode 100644 index 000000000000..2c9401949abf --- /dev/null +++ b/src/Kusto/test/Test-AzKustoScriptNameAvailability.Tests.ps1 @@ -0,0 +1,25 @@ +Describe 'Test-AzKustoScriptNameAvailability' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzKustoScriptNameAvailability.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } + It 'CheckExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Kusto/test/Update-AzKustoCluster.Recording.json b/src/Kusto/test/Update-AzKustoCluster.Recording.json index 66bce1acf4c6..562edd10661a 100644 --- a/src/Kusto/test/Update-AzKustoCluster.Recording.json +++ b/src/Kusto/test/Update-AzKustoCluster.Recording.json @@ -1,9 +1,10 @@ { - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"Standard_D12_v2\",\r\n \"tier\": \"Standard\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,42 +15,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "79d8380d-f048-4b09-b10a-9f65fbd750f5" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "b3a7648f-77fb-47b0-a6ae-463981923cf4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "cf13f6a2-0db3-4f69-aa62-df26580a0a87" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203813Z:cf13f6a2-0db3-4f69-aa62-df26580a0a87" ], + "x-ms-correlation-request-id": [ "3c11379b-d302-4c30-980e-c707ad648489" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145038Z:3c11379b-d302-4c30-980e-c707ad648489" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:38:12 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:50:37 GMT" ], + "ETag": [ "\"2021-05-13T13:08:10.8911924Z\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "839" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T13:08:10.8911924Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "364" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -57,40 +59,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "7c5eb463-2fb5-4c4d-8243-74bed72daf94" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f8523a06-110d-4a42-a987-427b8fe95d23" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203843Z:f8523a06-110d-4a42-a987-427b8fe95d23" ], + "x-ms-request-id": [ "110ccca0-2c21-456d-8072-f2ebd1e227c5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "24599fba-f8e1-4c5e-87c0-01a4ea1fff73" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145108Z:24599fba-f8e1-4c5e-87c0-01a4ea1fff73" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:38:43 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:51:08 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "365" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -98,40 +100,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "cd6fd0c1-1d4c-43b6-8133-9731456babe0" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3d70b385-9f6f-4bf7-8066-3887cbc3c5e0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203913Z:3d70b385-9f6f-4bf7-8066-3887cbc3c5e0" ], + "x-ms-request-id": [ "a1acb9ab-00f9-45d9-a7d8-c7c23d39b228" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "4de5793e-ea22-4ccd-bb55-7cd5fa6ab2b9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145139Z:4de5793e-ea22-4ccd-bb55-7cd5fa6ab2b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:39:13 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:51:38 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "366" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -139,40 +141,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "88109d40-730c-45e4-95ae-9ac572ff4d3e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d103d6c6-0b6e-493f-8a0e-feedf572c861" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T203943Z:d103d6c6-0b6e-493f-8a0e-feedf572c861" ], + "x-ms-request-id": [ "ecfb10e6-c31a-454a-af51-78cee6b58664" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "a6ffde10-bda7-45d4-846b-97a8db45855e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145209Z:a6ffde10-bda7-45d4-846b-97a8db45855e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:39:43 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:52:09 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "367" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -180,40 +182,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "cf839e32-f04d-4370-9de5-ee9a32ce9c4d" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "357c5b09-84d5-474e-b58a-5cca159af053" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204014Z:357c5b09-84d5-474e-b58a-5cca159af053" ], + "x-ms-request-id": [ "4fa0c081-31f2-4982-b460-d89de40da869" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "54c4c091-1b9a-4dd2-99ab-d1bba1efebdb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145239Z:54c4c091-1b9a-4dd2-99ab-d1bba1efebdb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:40:14 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:52:38 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593", "594" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "368" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -221,40 +223,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "4dc31a0b-312c-4a29-82dc-97a0f9d2ee23" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "628db0e0-fdf7-4ecf-ae88-8735a6b718e3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204044Z:628db0e0-fdf7-4ecf-ae88-8735a6b718e3" ], + "x-ms-request-id": [ "617ea758-3b42-4fdc-85f3-50ae0259273d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], + "x-ms-correlation-request-id": [ "8c2e7fc5-5181-4b6b-be2b-72586f415fae" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145309Z:8c2e7fc5-5181-4b6b-be2b-72586f415fae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:40:44 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:53:09 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593", "594", "595" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "369" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -262,40 +264,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "0b11cc34-dcfb-4753-b668-61f81a83aae1" ], - "x-ms-request-id": [ "8c548e4e-5585-4c8c-86c1-3b832de0e919" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204114Z:0b11cc34-dcfb-4753-b668-61f81a83aae1" ], + "x-ms-request-id": [ "28973bc8-81d1-4a7f-958c-214493373a48" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], + "x-ms-correlation-request-id": [ "cded8e0d-5a92-497c-a9df-af8fee4db7db" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145340Z:cded8e0d-5a92-497c-a9df-af8fee4db7db" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:41:14 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:53:39 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593", "594", "595", "596" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "370" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -303,40 +305,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "ca0a9530-4ebd-4714-89ae-371849c2eed8" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "11ddced8-ffdb-41fb-8123-a10cf000a442" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204145Z:11ddced8-ffdb-41fb-8123-a10cf000a442" ], + "x-ms-request-id": [ "3fd46b6c-aba8-45f5-904f-5c76f7e17d49" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "293" ], + "x-ms-correlation-request-id": [ "9e57bca5-818f-4068-8732-adbc4fba7f19" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145410Z:9e57bca5-818f-4068-8732-adbc4fba7f19" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:41:44 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:54:09 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593", "594", "595", "596", "597" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "371" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -344,40 +346,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "7a26431c-42e2-4559-8a76-f241d6ff2b9e" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "348ee909-9b11-46f7-a52a-a2165d5f90aa" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204215Z:348ee909-9b11-46f7-a52a-a2165d5f90aa" ], + "x-ms-request-id": [ "419ef663-494d-4cd4-a8b7-08c2d718dc59" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "292" ], + "x-ms-correlation-request-id": [ "36d6cc79-3015-4c9d-b0b2-4cdf14c45ba5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145440Z:36d6cc79-3015-4c9d-b0b2-4cdf14c45ba5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:42:15 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:54:40 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593", "594", "595", "596", "597", "598" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "372" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -385,40 +387,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "1134a58d-0c6d-4467-b957-ef82054bfe69" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "6adae8ae-a53c-4d61-947e-53588e3d7eab" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204245Z:6adae8ae-a53c-4d61-947e-53588e3d7eab" ], + "x-ms-request-id": [ "70ea655a-b54d-40c9-bb14-730b101e2f55" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "291" ], + "x-ms-correlation-request-id": [ "a2fbbbe9-4350-4a5d-b19a-43deafb744a8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145511Z:a2fbbbe9-4350-4a5d-b19a-43deafb744a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:42:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:55:10 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593", "594", "595", "596", "597", "598", "599" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "373" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -426,40 +428,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "4d7992a1-6f6e-4fa0-b027-9f21e9ca664d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "efbbb944-d71e-405d-bc87-8b0ac42a9ad5" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204316Z:efbbb944-d71e-405d-bc87-8b0ac42a9ad5" ], + "x-ms-request-id": [ "37eeccb6-c360-4b67-a066-27a905e05e49" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], + "x-ms-correlation-request-id": [ "99b91d24-c5ae-4d1d-8bd0-d98e77397179" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145541Z:99b91d24-c5ae-4d1d-8bd0-d98e77397179" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:43:15 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:55:40 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+12": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593", "594", "595", "596", "597", "598", "599", "600" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "374" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -467,40 +469,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "aad42c77-bc0a-4e77-a5f6-244dec775955" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "b57698f5-cb30-4fe3-8d47-f0a8add6dbf3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204346Z:b57698f5-cb30-4fe3-8d47-f0a8add6dbf3" ], + "x-ms-request-id": [ "fa51715d-87a2-4f78-9e29-3a39b9771b59" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "2c97d606-6159-4ddd-aa56-0de9c57d5c46" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145612Z:2c97d606-6159-4ddd-aa56-0de9c57d5c46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:43:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:56:11 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+13": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593", "594", "595", "596", "597", "598", "599", "600", "601" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "375" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -508,40 +510,81 @@ "Response": { "StatusCode": 200, "Headers": { + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "f4afdd37-0d29-4aed-b8ee-2dc42baf65d8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "2ddc0abb-fa27-4f7f-95ec-62d311978a12" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145642Z:2ddc0abb-fa27-4f7f-95ec-62d311978a12" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:56:42 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] + }, + "ContentHeaders": { + "Content-Length": [ "504" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false + } + }, + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "376" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "eb527a4c-48fc-4062-9a5d-806dd8ab5fc0" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "319a949d-bb48-40af-9904-66fc2def2bd9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204416Z:319a949d-bb48-40af-9904-66fc2def2bd9" ], + "x-ms-request-id": [ "482e8f76-3c7c-4b00-b024-f08ec57443a8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "81e2001d-fde8-4765-983a-50efbfbe35f5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145712Z:81e2001d-fde8-4765-983a-50efbfbe35f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:44:16 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:57:12 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:38:20.3283029Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:50:44.4074047Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18+14": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593", "594", "595", "596", "597", "598", "599", "600", "601", "602" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "377" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -549,40 +592,81 @@ "Response": { "StatusCode": 200, "Headers": { + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "603ba313-eb1d-431e-b4de-184a3b807a77" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "96ea6607-e7d2-476a-83bd-e48427ae628e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145743Z:96ea6607-e7d2-476a-83bd-e48427ae628e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:57:42 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] + }, + "ContentHeaders": { + "Content-Length": [ "504" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:57:15.8728921Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false + } + }, + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/67202634-3662-4e3a-a777-7b7ffdbb2812?api-version=2021-01-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "378" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "279" ], - "x-ms-request-id": [ "af59ef1f-22de-4d1f-b78f-b147eae04e19" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "01a097d9-f3be-4b25-8642-4c82a4e3f1b3" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204446Z:01a097d9-f3be-4b25-8642-4c82a4e3f1b3" ], + "x-ms-request-id": [ "ab7f73da-f440-49f4-8a69-18190ea43309" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "f95341f9-9919-454d-8207-fb1b2a9c9d92" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145813Z:f95341f9-9919-454d-8207-fb1b2a9c9d92" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:44:46 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:58:13 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "507" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"name\":\"3059be7f-8f63-4696-94b9-44f7ba0f9e5f\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:38:12.9064709Z\",\"endTime\":\"2020-10-26T20:44:25.4715505Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"7c09e6e4-7c98-4780-9cf2-4adecbf27e29\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/67202634-3662-4e3a-a777-7b7ffdbb2812\",\"name\":\"67202634-3662-4e3a-a777-7b7ffdbb2812\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T14:50:38.1571967Z\",\"endTime\":\"2021-05-13T14:57:51.5494502Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"66874de9-b9ad-492b-a7ab-27f841c3cc04\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+15": { + "[NoDescription]+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "589", "590", "591", "592", "593", "594", "595", "596", "597", "598", "599", "600", "601", "602", "603" ], - "x-ms-client-request-id": [ "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452", "5f8d7ffa-c37d-41b1-94a0-b8c5b9052452" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded", "Update-AzKustoCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "379" ], + "x-ms-client-request-id": [ "65ff3ff6-dad9-4de4-831c-7cf75b9c7dd6" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -590,36 +674,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], - "x-ms-request-id": [ "78d017b1-9b44-4a4d-b336-3e2e1900964c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7610d4e9-1165-4390-9bbb-fd1384e776af" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204447Z:7610d4e9-1165-4390-9bbb-fd1384e776af" ], + "x-ms-request-id": [ "7b7b742d-a32b-4112-95a1-69ed84b8edb3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "bb4c9616-f321-4b25-b799-6d63d7c2a970" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145813Z:bb4c9616-f321-4b25-b799-6d63d7c2a970" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:44:46 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:58:13 GMT" ], + "ETag": [ "\"2021-05-13T14:57:15.2010826Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T14:57:15.2010826Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "604" ], - "x-ms-client-request-id": [ "b1884e4b-308d-4090-9aa9-aa93569ca3a2" ], + "x-ms-unique-id": [ "380" ], + "x-ms-client-request-id": [ "8b8cabc2-af3d-4847-8494-e6ef821dfd81" ], "CommandName": [ "Get-AzKustoCluster" ], "FullCommandName": [ "Get-AzKustoCluster_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -632,33 +716,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], - "x-ms-request-id": [ "22c87120-0063-45d9-8c0a-68e4a9d0c5c6" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "591c9dc6-80c2-4929-b2d5-4fd96185030d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204447Z:591c9dc6-80c2-4929-b2d5-4fd96185030d" ], + "x-ms-request-id": [ "a8693b1a-2da2-4ff4-bf7e-46310609580e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "9a172fc9-954f-4751-b74f-37cbbc6c8205" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145814Z:9a172fc9-954f-4751-b74f-37cbbc6c8205" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:44:47 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:58:13 GMT" ], + "ETag": [ "\"2021-05-13T14:57:15.2010826Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T14:57:15.2010826Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D12_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"Standard_D11_v2\",\r\n \"tier\": \"Standard\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -669,42 +753,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "8066ef3d-3f1e-4659-a2df-c04852806a7d" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "8815e108-470e-4a1f-bd3b-a31a42d5eac4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "6e45c840-4559-4054-b1fa-c64fbf3583c4" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204448Z:6e45c840-4559-4054-b1fa-c64fbf3583c4" ], + "x-ms-correlation-request-id": [ "04fc3eae-4ba4-424b-aaab-39f5ce217f50" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145816Z:04fc3eae-4ba4-424b-aaab-39f5ce217f50" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:44:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:58:15 GMT" ], + "ETag": [ "\"2021-05-13T14:57:15.2010826Z\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "811" ], + "Content-Length": [ "839" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T14:57:15.2010826Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "382" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -712,40 +797,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "1d6e0a93-dc5e-4c85-b365-8db5f87ac250" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "1d9dd79e-a98b-47db-bd3e-e345a6f7755e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204518Z:1d9dd79e-a98b-47db-bd3e-e345a6f7755e" ], + "x-ms-request-id": [ "c6137f3c-0512-4dd2-a3d1-79542b11a61a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "fa8e13d5-8422-4357-b77b-43fc6f3cca8e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145846Z:fa8e13d5-8422-4357-b77b-43fc6f3cca8e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:45:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:58:46 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "383" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -753,40 +838,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "ec51e4d1-6a40-4cb1-9b97-d10e598e4c7c" ], - "x-ms-request-id": [ "fed4fef6-e6d8-41a7-b5c2-16796ccbc737" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204549Z:ec51e4d1-6a40-4cb1-9b97-d10e598e4c7c" ], + "x-ms-request-id": [ "99c5af4b-58e0-4c36-80dc-a88a54b71721" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "2d43d3b6-fd35-4eaa-83f9-b7babe90f715" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145916Z:2d43d3b6-fd35-4eaa-83f9-b7babe90f715" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:45:48 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:59:16 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "384" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -794,40 +879,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "da75e889-bac7-4c20-b988-909803dd379a" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "eade74b9-a0bb-41fb-8b80-4aa7163334ce" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204619Z:eade74b9-a0bb-41fb-8b80-4aa7163334ce" ], + "x-ms-request-id": [ "02b04752-51a9-4379-a61e-b3473617d3aa" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "0f009be2-164e-48fa-a331-3e3567bae514" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T145946Z:0f009be2-164e-48fa-a331-3e3567bae514" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:46:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 14:59:46 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+6": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "385" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -835,40 +920,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "b20adeb4-914f-4ca9-9802-4777aea2a0cc" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "9e554b11-3003-4b9e-8edd-058a80666f95" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204649Z:9e554b11-3003-4b9e-8edd-058a80666f95" ], + "x-ms-request-id": [ "62920204-37f8-43a8-ad26-b3e49b54cca7" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "641c730d-7d92-4b7b-8ae2-26acf27c1fd8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150017Z:641c730d-7d92-4b7b-8ae2-26acf27c1fd8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:46:49 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:00:16 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+7": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "386" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -876,40 +961,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "9e716605-b851-4264-b7e1-e5e72414d6c8" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "df6ab588-d0d0-4d2a-bfba-9ab353d64ba8" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204720Z:df6ab588-d0d0-4d2a-bfba-9ab353d64ba8" ], + "x-ms-request-id": [ "83413dbc-160c-41b4-a998-bd3f38b8dad3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "15b1f0f0-2ca9-4f1c-8d0b-5e238319be9e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150048Z:15b1f0f0-2ca9-4f1c-8d0b-5e238319be9e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:47:20 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:00:47 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+8": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "387" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -917,40 +1002,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "04a753b8-0f30-4cd6-aafd-bc48e1e43b91" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3ed1ca7c-fe66-41ad-ae49-35b449334e84" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204750Z:3ed1ca7c-fe66-41ad-ae49-35b449334e84" ], + "x-ms-request-id": [ "2411b489-4f6f-4195-9158-1c8693ccc4c3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "e25d6f9e-62b0-4788-b8cb-e250bdddb6a6" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150118Z:e25d6f9e-62b0-4788-b8cb-e250bdddb6a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:47:49 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:01:17 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+9": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "388" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -958,40 +1043,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "d5e39e4e-5b05-46cb-8ddd-289e891e2aa1" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "58752b17-1bb1-4705-8e99-214b80d4d423" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204820Z:58752b17-1bb1-4705-8e99-214b80d4d423" ], + "x-ms-request-id": [ "1ce794b4-b964-48c2-acb1-64fd25067509" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "78cb9857-5509-46c0-a029-08f5dd8ea8b1" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150148Z:78cb9857-5509-46c0-a029-08f5dd8ea8b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:48:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:01:47 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+10": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612", "613" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "389" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -999,40 +1084,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "647309a4-a888-43b5-be77-fc251959f239" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "75121d93-4712-4efc-b555-dbb86ac1ece2" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204850Z:75121d93-4712-4efc-b555-dbb86ac1ece2" ], + "x-ms-request-id": [ "48b210bd-8418-4bf4-b469-797f565667af" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "af040db2-a70e-4550-b2df-dee0d2f0b710" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150218Z:af040db2-a70e-4550-b2df-dee0d2f0b710" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:48:50 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:02:18 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+11": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612", "613", "614" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "390" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1040,40 +1125,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "6604d1eb-2f91-401d-9067-1af352924a3b" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a4f5cd14-c83b-477d-b3ac-91516ca99d5a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204921Z:a4f5cd14-c83b-477d-b3ac-91516ca99d5a" ], + "x-ms-request-id": [ "23aa69aa-c369-47ef-81dd-48b271f8cfe8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "646852af-f12d-4549-9546-c33aecc22676" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150249Z:646852af-f12d-4549-9546-c33aecc22676" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:49:20 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:02:48 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+12": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612", "613", "614", "615" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "391" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1081,40 +1166,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], - "x-ms-request-id": [ "0e2bf861-706d-415e-b39a-e3b44db9a58e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bce9d992-5066-44ea-bbe9-063c20532571" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T204951Z:bce9d992-5066-44ea-bbe9-063c20532571" ], + "x-ms-request-id": [ "d4faf9e8-65d2-4eee-bfb7-cdfdd29a23ea" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "30bb05fc-400e-4d0f-a7e8-e347bb424d39" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150319Z:30bb05fc-400e-4d0f-a7e8-e347bb424d39" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:49:50 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:03:18 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+13": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612", "613", "614", "615", "616" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "392" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1122,40 +1207,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "d95e3c86-921a-403b-8566-e65f30295211" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "554efa12-a8be-4edd-8aed-9b2108ede723" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205021Z:554efa12-a8be-4edd-8aed-9b2108ede723" ], + "x-ms-request-id": [ "8145020c-f41d-4393-9541-59c0c95fed1e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], + "x-ms-correlation-request-id": [ "0bc293b5-c66b-4af5-8c9b-116ed1cf38b4" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150349Z:0bc293b5-c66b-4af5-8c9b-116ed1cf38b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:50:21 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:03:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+14": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612", "613", "614", "615", "616", "617" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "393" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1163,40 +1248,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-correlation-request-id": [ "48319707-e21d-432a-82bc-94210594c700" ], - "x-ms-request-id": [ "ae2e2379-8c9b-44f9-8e5c-bb85f17b2453" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205052Z:48319707-e21d-432a-82bc-94210594c700" ], + "x-ms-request-id": [ "2cb84a81-38e0-43ff-81a3-b69703e63c08" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], + "x-ms-correlation-request-id": [ "515a79d5-c34d-4da2-a932-9e8348847d9e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150420Z:515a79d5-c34d-4da2-a932-9e8348847d9e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:50:51 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:04:20 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:44:55.4546236Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T14:58:21.7414292Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+15": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612", "613", "614", "615", "616", "617", "618" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "394" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1204,40 +1289,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "86a98d0f-806e-46f3-8803-3615a09b2874" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "091146fb-1585-4b5d-87d6-ec6b1e55ec14" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205122Z:091146fb-1585-4b5d-87d6-ec6b1e55ec14" ], + "x-ms-request-id": [ "e2f45ddf-fe85-4d24-bbc1-dab628afdcf5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "280" ], + "x-ms-correlation-request-id": [ "65b09494-44c7-41c8-8f2d-83ff0341a54f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150450Z:65b09494-44c7-41c8-8f2d-83ff0341a54f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:51:21 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:04:49 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:50:55.5048244Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T15:04:23.1871593Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+16": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612", "613", "614", "615", "616", "617", "618", "619" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "395" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1245,40 +1330,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "a52510a3-df51-4687-9b1d-888813b97f4c" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "cab4a666-0794-41c5-91c1-7cf0c1c88201" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205152Z:cab4a666-0794-41c5-91c1-7cf0c1c88201" ], + "x-ms-request-id": [ "d159738b-0478-4537-9fcc-b7005012d2f6" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], + "x-ms-correlation-request-id": [ "07f37270-5456-4196-89fe-b2e6ed544904" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150520Z:07f37270-5456-4196-89fe-b2e6ed544904" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:51:52 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:05:20 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:50:55.5048244Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T15:04:23.1871593Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+17": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612", "613", "614", "615", "616", "617", "618", "619", "620" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "396" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1286,40 +1371,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "5f3137b3-21fe-4b0f-bbdd-07a4e086dd6d" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "6ada7d72-9c8b-4a8a-aa52-ad921b3eeb1c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205223Z:6ada7d72-9c8b-4a8a-aa52-ad921b3eeb1c" ], + "x-ms-request-id": [ "6d49bf70-7699-48eb-92e5-1b3b0d583ff9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], + "x-ms-correlation-request-id": [ "be281254-4c2f-4e9d-8dfe-2bf78aa220c8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150551Z:be281254-4c2f-4e9d-8dfe-2bf78aa220c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:52:23 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:05:50 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Running\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:50:55.5048244Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Running\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T15:04:23.1871593Z\",\"percentComplete\":0.5,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Running\",\"OperationState\":\"InProgress\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18+18": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4f9e6251-6472-4267-89be-c5d1c60f9464?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612", "613", "614", "615", "616", "617", "618", "619", "620", "621" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "397" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1327,40 +1412,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "a3f79d34-b4dd-472c-b964-cc480fa6b834" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a826c732-0586-40c4-9c31-aef191efc36d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205253Z:a826c732-0586-40c4-9c31-aef191efc36d" ], + "x-ms-request-id": [ "5624bff5-5eee-4658-80bc-73e6009d3548" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], + "x-ms-correlation-request-id": [ "0d3097c4-2091-419b-9d0b-7571f1cdcce7" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150621Z:0d3097c4-2091-419b-9d0b-7571f1cdcce7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:52:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:06:21 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "506" ], + "Content-Length": [ "507" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4f9e6251-6472-4267-89be-c5d1c60f9464\",\"name\":\"4f9e6251-6472-4267-89be-c5d1c60f9464\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:44:48.2751014Z\",\"endTime\":\"2020-10-26T20:52:25.092511Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"1a50f66a-2e93-4f7a-a90f-925d0e8051ce\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"name\":\"4956fd6b-35a8-4f4f-9c11-dc897f1efd11\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T14:58:15.8194694Z\",\"endTime\":\"2021-05-13T15:05:54.7893807Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"ServiceConfigurationAlter\",\"RootActivityId\":\"fcd9856c-e841-484f-b8e8-554b6a062db5\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Update-AzKustoCluster+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18+19": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "605", "606", "607", "608", "609", "610", "611", "612", "613", "614", "615", "616", "617", "618", "619", "620", "621", "622" ], - "x-ms-client-request-id": [ "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4", "c121b055-4f4a-47b4-96e1-edec9a049dd4" ], - "CommandName": [ "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster", "Update-AzKustoCluster" ], - "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded", "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "398" ], + "x-ms-client-request-id": [ "d7a6e545-a7c7-4bc1-b2a0-b9fa4ab9801e" ], + "CommandName": [ "Update-AzKustoCluster" ], + "FullCommandName": [ "Update-AzKustoCluster_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -1368,26 +1453,25 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8d3b736e-f60f-4a87-bc21-54b6410e6fd0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "963e067c-35aa-4f6c-8675-f1bb8914587f" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0fb76c09-41d1-427c-b4d9-7e98fa1b0e59" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205254Z:0fb76c09-41d1-427c-b4d9-7e98fa1b0e59" ], + "x-ms-correlation-request-id": [ "267377c2-addb-425a-b15c-04ced8d52517" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150622Z:267377c2-addb-425a-b15c-04ced8d52517" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:52:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:06:21 GMT" ], + "ETag": [ "\"2021-05-13T15:04:22.6090369Z\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "840" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"name\":\"testclustermlhoe5\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclustermlhoe5.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclustermlhoe5.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V2\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"name\":\"testclusterqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters\",\"etag\":\"\\\"2021-05-13T15:04:22.6090369Z\\\"\",\"location\":\"East US\",\"sku\":{\"name\":\"Standard_D11_v2\",\"tier\":\"Standard\",\"capacity\":2},\"tags\":{},\"properties\":{\"state\":\"Running\",\"stateReason\":null,\"uri\":\"https://testclusterqlp6ob.eastus.kusto.windows.net\",\"dataIngestionUri\":\"https://ingest-testclusterqlp6ob.eastus.kusto.windows.net\",\"trustedExternalTenants\":[],\"virtualNetworkConfiguration\":null,\"optimizedAutoscale\":null,\"enableDiskEncryption\":false,\"enableStreamingIngest\":false,\"keyVaultProperties\":null,\"languageExtensions\":{\"value\":[]},\"enablePurge\":null,\"enableDoubleEncryption\":false,\"engineType\":\"V3\",\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Update-AzKustoCluster.Tests.ps1 b/src/Kusto/test/Update-AzKustoCluster.Tests.ps1 index 558f99da14c7..93b86ee163da 100644 --- a/src/Kusto/test/Update-AzKustoCluster.Tests.ps1 +++ b/src/Kusto/test/Update-AzKustoCluster.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzKustoCluster.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Update-AzKustoCluster' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzKustoCluster.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'UpdateExpanded' { $updatedCluster = Update-AzKustoCluster -ResourceGroupName $env.resourceGroupName -Name $env.clusterName -SkuName $env.updatedSkuName -SkuTier $env.skuTier Validate_Cluster $updatedCluster $env.clusterName $env.location "Running" "Succeeded" $env.resourceType $env.updatedSkuName $env.skuTier $env.capacity diff --git a/src/Kusto/test/Update-AzKustoDataConnection.Recording.json b/src/Kusto/test/Update-AzKustoDataConnection.Recording.json index bfecfebf2515..2517276d9f55 100644 --- a/src/Kusto/test/Update-AzKustoDataConnection.Recording.json +++ b/src/Kusto/test/Update-AzKustoDataConnection.Recording.json @@ -1,9 +1,10 @@ { - "Update-AzKustoDataConnection+[NoContext]+UpdateExpandedEventHub+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateExpandedEventHub+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"EventHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"compression\": \"None\",\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventHub\",\r\n \"properties\": {\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\r\n \"consumerGroup\": \"$Default\",\r\n \"compression\": \"None\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -14,42 +15,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/70d4aec2-f324-4bf5-85d8-680d46613056?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "03f30a2e-082e-4597-9dba-1e56a785ab92" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/70d4aec2-f324-4bf5-85d8-680d46613056?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "e286f68e-21eb-4e67-aed4-1687b1a56b82" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/8fb2e179-db71-4741-953e-831de5dd4d6a?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "cb733a4d-8c77-4662-86a6-dbe7684247b0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205508Z:cb733a4d-8c77-4662-86a6-dbe7684247b0" ], + "x-ms-correlation-request-id": [ "67d779ec-d1fb-4ec4-8ced-2ebc6f7a52df" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T112928Z:67d779ec-d1fb-4ec4-8ced-2ebc6f7a52df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:55:08 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:29:27 GMT" ], + "ETag": [ "\"\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/8fb2e179-db71-4741-953e-831de5dd4d6a?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "688" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"compression\":\"None\",\"consumerGroup\":\"$Default\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"compression\":\"None\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/70d4aec2-f324-4bf5-85d8-680d46613056?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/8fb2e179-db71-4741-953e-831de5dd4d6a?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/70d4aec2-f324-4bf5-85d8-680d46613056?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/8fb2e179-db71-4741-953e-831de5dd4d6a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "641", "642" ], - "x-ms-client-request-id": [ "46d59134-2c70-422b-9def-59b58645a065", "46d59134-2c70-422b-9def-59b58645a065" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_Update", "Update-AzKustoDataConnection_Update" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "43" ], + "x-ms-client-request-id": [ "fd9e7e6b-a010-4b50-9962-45623ab64918" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_Update" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -57,40 +59,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "289" ], - "x-ms-request-id": [ "c99bebd4-f4f9-4cb1-a950-4f181dcf8c47" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "64d66045-39de-4e2d-8f7e-b7b89ed54e69" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205538Z:64d66045-39de-4e2d-8f7e-b7b89ed54e69" ], + "x-ms-request-id": [ "a845ea4d-8a7c-4c06-8fda-7e51aa3c3705" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], + "x-ms-correlation-request-id": [ "bfc7a4b4-62fa-4497-bd67-71d3ed0b0bf7" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T112959Z:bfc7a4b4-62fa-4497-bd67-71d3ed0b0bf7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:55:38 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:29:58 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "357" ], + "Content-Length": [ "356" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/70d4aec2-f324-4bf5-85d8-680d46613056\",\"name\":\"70d4aec2-f324-4bf5-85d8-680d46613056\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:55:08.0652972Z\",\"endTime\":\"2020-10-26T20:55:13.2376598Z\",\"percentComplete\":1.0,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/8fb2e179-db71-4741-953e-831de5dd4d6a\",\"name\":\"8fb2e179-db71-4741-953e-831de5dd4d6a\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-18T11:29:28.627568Z\",\"endTime\":\"2021-05-18T11:29:32.7371666Z\",\"percentComplete\":1.0,\"properties\":{}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "641", "642", "643" ], - "x-ms-client-request-id": [ "46d59134-2c70-422b-9def-59b58645a065", "46d59134-2c70-422b-9def-59b58645a065", "46d59134-2c70-422b-9def-59b58645a065" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_Update", "Update-AzKustoDataConnection_Update", "Update-AzKustoDataConnection_Update" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "44" ], + "x-ms-client-request-id": [ "fd9e7e6b-a010-4b50-9962-45623ab64918" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_Update" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -98,33 +100,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "385ce958-0ceb-4c03-9461-4c2778e11624" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "e4f23a1a-8354-479e-88c8-efa4182eac0c" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "81fea447-5783-4789-bfd9-83c5387350fc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205539Z:81fea447-5783-4789-bfd9-83c5387350fc" ], + "x-ms-correlation-request-id": [ "3fa97fb0-6281-4db8-bfed-bd1f5aef2c59" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113000Z:3fa97fb0-6281-4db8-bfed-bd1f5aef2c59" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:55:39 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:29:59 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "774" ], + "Content-Length": [ "807" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"compression\":\"None\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"compression\":\"None\",\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateExpandedEventGrid+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateExpandedEventGrid+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"EventGrid\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\r\n \"storageAccountResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventGrid\",\r\n \"properties\": {\r\n \"storageAccountResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\r\n \"consumerGroup\": \"$Default\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -135,42 +137,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/40361b43-3d38-46d4-884b-71ac009da46c?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "41f172db-95ac-4350-ab22-88c29ace3b01" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/40361b43-3d38-46d4-884b-71ac009da46c?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "772f4b3b-1d39-4304-9233-8e3d39721f52" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/e01e39ff-b378-476e-9760-6f992a3a9297?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "edf6bb52-3cc3-4844-a94a-c7400bf74076" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205540Z:edf6bb52-3cc3-4844-a94a-c7400bf74076" ], + "x-ms-correlation-request-id": [ "afc6a18a-d310-4f1d-8c61-3b4755928344" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113001Z:afc6a18a-d310-4f1d-8c61-3b4755928344" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:55:40 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:30:01 GMT" ], + "ETag": [ "\"\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/e01e39ff-b378-476e-9760-6f992a3a9297?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "838" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5g\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"consumerGroup\":\"$Default\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obg\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/40361b43-3d38-46d4-884b-71ac009da46c?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/e01e39ff-b378-476e-9760-6f992a3a9297?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/40361b43-3d38-46d4-884b-71ac009da46c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/e01e39ff-b378-476e-9760-6f992a3a9297?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "644", "645" ], - "x-ms-client-request-id": [ "1f54fdb7-ba9f-47e9-bdd1-70bc5d0aa59a", "1f54fdb7-ba9f-47e9-bdd1-70bc5d0aa59a" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_Update", "Update-AzKustoDataConnection_Update" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "46" ], + "x-ms-client-request-id": [ "37ba1c28-e4e5-47b8-9497-d0354b7c6256" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_Update" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -178,40 +181,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "288" ], - "x-ms-request-id": [ "770ff54a-e126-41b7-803a-450425ddadac" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "45680f20-484d-445d-99fa-6288900df6aa" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205611Z:45680f20-484d-445d-99fa-6288900df6aa" ], + "x-ms-request-id": [ "8527c398-c168-46b4-b436-418791194a32" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], + "x-ms-correlation-request-id": [ "c9c45403-ba4f-4f40-ac87-244fa0e85016" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113032Z:c9c45403-ba4f-4f40-ac87-244fa0e85016" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:56:10 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:30:31 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "357" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/40361b43-3d38-46d4-884b-71ac009da46c\",\"name\":\"40361b43-3d38-46d4-884b-71ac009da46c\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:55:40.6312377Z\",\"endTime\":\"2020-10-26T20:55:47.6630573Z\",\"percentComplete\":1.0,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/e01e39ff-b378-476e-9760-6f992a3a9297\",\"name\":\"e01e39ff-b378-476e-9760-6f992a3a9297\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-18T11:30:01.4423078Z\",\"endTime\":\"2021-05-18T11:30:05.7551719Z\",\"percentComplete\":1.0,\"properties\":{}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "644", "645", "646" ], - "x-ms-client-request-id": [ "1f54fdb7-ba9f-47e9-bdd1-70bc5d0aa59a", "1f54fdb7-ba9f-47e9-bdd1-70bc5d0aa59a", "1f54fdb7-ba9f-47e9-bdd1-70bc5d0aa59a" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_Update", "Update-AzKustoDataConnection_Update", "Update-AzKustoDataConnection_Update" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "47" ], + "x-ms-client-request-id": [ "37ba1c28-e4e5-47b8-9497-d0354b7c6256" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_Update" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -219,33 +222,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f8e98522-d98e-42af-aa46-fb771d5c7ba2" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "e2d9d3d5-0c64-4d6c-8a72-81dad09e9264" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a40a81a5-a0ee-4d21-b349-5df339292a4f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205612Z:a40a81a5-a0ee-4d21-b349-5df339292a4f" ], + "x-ms-correlation-request-id": [ "7dc1322d-ab46-4fd0-8634-91cc87818ee8" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113033Z:7dc1322d-ab46-4fd0-8634-91cc87818ee8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:56:11 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:30:32 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "978" ], + "Content-Length": [ "1011" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5g\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"ignoreFirstRecord\":false,\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obg\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"ignoreFirstRecord\":false,\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateExpandedIotHub+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateExpandedIotHub+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"IotHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"consumerGroup\": \"$Default\",\r\n \"iotHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\r\n \"sharedAccessPolicyName\": \"registryRead\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"IotHub\",\r\n \"properties\": {\r\n \"iotHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\r\n \"consumerGroup\": \"$Default\",\r\n \"sharedAccessPolicyName\": \"registryRead\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -256,42 +259,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/a49522b8-b0a9-47df-956c-1f7a07f72e48?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "f50be8d9-5fa6-4728-8e97-e4ead0090b8b" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/a49522b8-b0a9-47df-956c-1f7a07f72e48?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "afa3c168-0af5-4573-ab2a-4d9aa5c65415" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/5ba6994d-2ca5-4528-80c2-3f96bea7c1af?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-correlation-request-id": [ "9cc7130c-b618-4721-8efe-f71620905b58" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205613Z:9cc7130c-b618-4721-8efe-f71620905b58" ], + "x-ms-correlation-request-id": [ "3d2ec437-3428-4f56-ae8a-3ef2f55c1f4c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113035Z:3d2ec437-3428-4f56-ae8a-3ef2f55c1f4c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:56:12 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:30:34 GMT" ], + "ETag": [ "\"\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/5ba6994d-2ca5-4528-80c2-3f96bea7c1af?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "680" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5h\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"consumerGroup\":\"$Default\",\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obh\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/a49522b8-b0a9-47df-956c-1f7a07f72e48?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/5ba6994d-2ca5-4528-80c2-3f96bea7c1af?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/a49522b8-b0a9-47df-956c-1f7a07f72e48?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/5ba6994d-2ca5-4528-80c2-3f96bea7c1af?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "647", "648" ], - "x-ms-client-request-id": [ "ff64af11-78e1-4906-bec0-c74758d23ce1", "ff64af11-78e1-4906-bec0-c74758d23ce1" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_Update", "Update-AzKustoDataConnection_Update" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "49" ], + "x-ms-client-request-id": [ "43990a6b-7ddf-421c-9244-71abaf3cb6db" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_Update" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -299,40 +303,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "287" ], - "x-ms-request-id": [ "2cc16da0-c48d-46b9-89b7-963cc0d82fa2" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e5f5959e-10f6-4b89-b332-dadfe2602571" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205644Z:e5f5959e-10f6-4b89-b332-dadfe2602571" ], + "x-ms-request-id": [ "c135a350-5485-4e4b-be46-05d31f9a3b59" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], + "x-ms-correlation-request-id": [ "f1bdf284-66aa-4948-b5a5-820c8bc697dc" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113105Z:f1bdf284-66aa-4948-b5a5-820c8bc697dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:56:44 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:31:05 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "357" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/a49522b8-b0a9-47df-956c-1f7a07f72e48\",\"name\":\"a49522b8-b0a9-47df-956c-1f7a07f72e48\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:56:13.7122924Z\",\"endTime\":\"2020-10-26T20:56:15.9781165Z\",\"percentComplete\":1.0,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/5ba6994d-2ca5-4528-80c2-3f96bea7c1af\",\"name\":\"5ba6994d-2ca5-4528-80c2-3f96bea7c1af\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-18T11:30:34.8665539Z\",\"endTime\":\"2021-05-18T11:30:36.9605016Z\",\"percentComplete\":1.0,\"properties\":{}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "647", "648", "649" ], - "x-ms-client-request-id": [ "ff64af11-78e1-4906-bec0-c74758d23ce1", "ff64af11-78e1-4906-bec0-c74758d23ce1", "ff64af11-78e1-4906-bec0-c74758d23ce1" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_Update", "Update-AzKustoDataConnection_Update", "Update-AzKustoDataConnection_Update" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "50" ], + "x-ms-client-request-id": [ "43990a6b-7ddf-421c-9244-71abaf3cb6db" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_Update" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -340,36 +344,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8e6246ce-5a79-4481-94a5-b095e21f796f" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], - "x-ms-request-id": [ "98388823-5775-4a57-acd2-b1d7d35e72c4" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "857396b7-2d56-48dc-aa7f-fcb807901ff7" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205645Z:857396b7-2d56-48dc-aa7f-fcb807901ff7" ], + "x-ms-correlation-request-id": [ "c7fa8544-0976-46cd-ad97-bac1e340fe74" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113106Z:c7fa8544-0976-46cd-ad97-bac1e340fe74" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:56:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:31:06 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "766" ], + "Content-Length": [ "799" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5h\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obh\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"sharedAccessPolicyName\":\"registryRead\",\"ManagedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "650" ], - "x-ms-client-request-id": [ "4d872f44-6456-4aa0-b408-222d7ea99e51" ], + "x-ms-unique-id": [ "51" ], + "x-ms-client-request-id": [ "10245216-5034-4155-bd25-7bc1a98ff362" ], "CommandName": [ "Get-AzKustoDataConnection" ], "FullCommandName": [ "Get-AzKustoDataConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -382,33 +386,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "9be9f312-b089-4c7e-b6a4-df3de7e5c17b" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], - "x-ms-request-id": [ "db29e076-83d7-4ebd-913b-f60b561b8f1c" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "3030f779-f6bb-4e87-8a92-920844cfe487" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205646Z:3030f779-f6bb-4e87-8a92-920844cfe487" ], + "x-ms-correlation-request-id": [ "7cb10fec-d30a-4127-9ddf-d201218bb4ab" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113107Z:7cb10fec-d30a-4127-9ddf-d201218bb4ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:56:45 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:31:06 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "774" ], + "Content-Length": [ "807" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"compression\":\"None\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"compression\":\"None\",\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedEventHub+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedEventHub+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"EventHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"compression\": \"None\",\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventHub\",\r\n \"properties\": {\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\r\n \"consumerGroup\": \"$Default\",\r\n \"compression\": \"None\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -419,42 +423,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/295def61-b699-4399-abe1-5f9d26317d21?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "77316a1b-0f43-4b4f-a787-cc8f3085afdc" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/295def61-b699-4399-abe1-5f9d26317d21?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "c88e15bd-addb-4b75-bd12-ca91acb4e9a2" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/1465d148-b586-4c1c-9316-1d2a427f16ce?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-correlation-request-id": [ "7cb0a99b-9a46-473c-9b26-ba9b37132518" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205647Z:7cb0a99b-9a46-473c-9b26-ba9b37132518" ], + "x-ms-correlation-request-id": [ "8698025e-f7f1-4f6a-9332-09bf039e3968" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113108Z:8698025e-f7f1-4f6a-9332-09bf039e3968" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:56:47 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:31:08 GMT" ], + "ETag": [ "\"\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/1465d148-b586-4c1c-9316-1d2a427f16ce?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "688" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"compression\":\"None\",\"consumerGroup\":\"$Default\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"compression\":\"None\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/295def61-b699-4399-abe1-5f9d26317d21?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/1465d148-b586-4c1c-9316-1d2a427f16ce?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/295def61-b699-4399-abe1-5f9d26317d21?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/1465d148-b586-4c1c-9316-1d2a427f16ce?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "651", "652" ], - "x-ms-client-request-id": [ "2b9b04d2-5241-42b0-8307-afae02801d5b", "2b9b04d2-5241-42b0-8307-afae02801d5b" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity", "Update-AzKustoDataConnection_UpdateViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "53" ], + "x-ms-client-request-id": [ "b268cae2-0ff6-4778-b0dd-170a96c75922" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -462,40 +467,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], - "x-ms-request-id": [ "f492efcf-0847-4056-bd4d-98acad15bb70" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8ea8de2f-6ea7-41e1-a2a1-2c862f27f845" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205717Z:8ea8de2f-6ea7-41e1-a2a1-2c862f27f845" ], + "x-ms-request-id": [ "1f8aa11e-7fb0-4206-b26d-bd70d49bd8d5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], + "x-ms-correlation-request-id": [ "3c009f1b-95d9-4d89-92de-a3aec8a72ef9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113139Z:3c009f1b-95d9-4d89-92de-a3aec8a72ef9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:57:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:31:39 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "356" ], + "Content-Length": [ "357" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/295def61-b699-4399-abe1-5f9d26317d21\",\"name\":\"295def61-b699-4399-abe1-5f9d26317d21\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:56:47.078726Z\",\"endTime\":\"2020-10-26T20:56:49.5477091Z\",\"percentComplete\":1.0,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/1465d148-b586-4c1c-9316-1d2a427f16ce\",\"name\":\"1465d148-b586-4c1c-9316-1d2a427f16ce\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-18T11:31:08.5876827Z\",\"endTime\":\"2021-05-18T11:31:10.6035208Z\",\"percentComplete\":1.0,\"properties\":{}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedEventHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "651", "652", "653" ], - "x-ms-client-request-id": [ "2b9b04d2-5241-42b0-8307-afae02801d5b", "2b9b04d2-5241-42b0-8307-afae02801d5b", "2b9b04d2-5241-42b0-8307-afae02801d5b" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity", "Update-AzKustoDataConnection_UpdateViaIdentity", "Update-AzKustoDataConnection_UpdateViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "54" ], + "x-ms-client-request-id": [ "b268cae2-0ff6-4778-b0dd-170a96c75922" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -503,36 +508,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c063de1f-4431-4704-8314-b3dba20629a2" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], - "x-ms-request-id": [ "142f6fbb-118b-412c-ab09-1f6feaffe08c" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "a614fd7b-2e32-4a41-ba03-b10ab4f234a9" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205718Z:a614fd7b-2e32-4a41-ba03-b10ab4f234a9" ], + "x-ms-correlation-request-id": [ "09f3a5f7-f722-4ef8-b789-dbea5e44c825" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113139Z:09f3a5f7-f722-4ef8-b789-dbea5e44c825" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:57:17 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:31:39 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "774" ], + "Content-Length": [ "807" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"compression\":\"None\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6ob\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventHub\",\"tags\":{},\"properties\":{\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseh\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"compression\":\"None\",\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "654" ], - "x-ms-client-request-id": [ "7bb2f083-f521-4b99-9a83-e124bf2346f6" ], + "x-ms-unique-id": [ "55" ], + "x-ms-client-request-id": [ "b2a02283-aa6d-4609-a33c-eccf565bf741" ], "CommandName": [ "Get-AzKustoDataConnection" ], "FullCommandName": [ "Get-AzKustoDataConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -545,33 +550,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "9af94207-55a9-4325-9e7a-97b8ea3669aa" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], - "x-ms-request-id": [ "423ed82b-a475-4a62-9183-637639e96ea1" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "07d74958-a47e-42bd-9e40-14beb95e45ec" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205719Z:07d74958-a47e-42bd-9e40-14beb95e45ec" ], + "x-ms-correlation-request-id": [ "4fd9e093-ad4e-49ba-8d83-f2ff47dda76c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113140Z:4fd9e093-ad4e-49ba-8d83-f2ff47dda76c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:57:18 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:31:40 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "978" ], + "Content-Length": [ "1011" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5g\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"ignoreFirstRecord\":false,\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obg\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"ignoreFirstRecord\":false,\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedEventGrid+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedEventGrid+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"EventGrid\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"consumerGroup\": \"$Default\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\r\n \"storageAccountResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"EventGrid\",\r\n \"properties\": {\r\n \"storageAccountResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\r\n \"eventHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\r\n \"consumerGroup\": \"$Default\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -582,42 +587,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/3aba922b-f5b6-40f2-aed5-ecb091a4af52?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "e5d63665-217d-4f8b-b9e6-7ab72820c1c5" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/3aba922b-f5b6-40f2-aed5-ecb091a4af52?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "5e9c6de9-3b97-4b12-9207-e2596db9ddf6" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/c2e5703d-fc80-4d1b-8016-85cf9317978a?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], - "x-ms-correlation-request-id": [ "2f4d3fe9-0e3d-484a-b2c2-ed8d4a96b7fc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205720Z:2f4d3fe9-0e3d-484a-b2c2-ed8d4a96b7fc" ], + "x-ms-correlation-request-id": [ "676eff89-4181-4267-97b8-ffde107d9c20" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113142Z:676eff89-4181-4267-97b8-ffde107d9c20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:57:19 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:31:42 GMT" ], + "ETag": [ "\"\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/c2e5703d-fc80-4d1b-8016-85cf9317978a?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "838" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5g\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"consumerGroup\":\"$Default\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obg\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/3aba922b-f5b6-40f2-aed5-ecb091a4af52?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/c2e5703d-fc80-4d1b-8016-85cf9317978a?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/3aba922b-f5b6-40f2-aed5-ecb091a4af52?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/c2e5703d-fc80-4d1b-8016-85cf9317978a?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "655", "656" ], - "x-ms-client-request-id": [ "75ae709a-7fa7-4927-965b-4732d414d089", "75ae709a-7fa7-4927-965b-4732d414d089" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity", "Update-AzKustoDataConnection_UpdateViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "57" ], + "x-ms-client-request-id": [ "1b222fb6-d8ab-4d96-8bea-f290efb45ecd" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -625,40 +631,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], - "x-ms-request-id": [ "513530a8-71db-43d1-8793-213b30a5f3bd" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "fa5c0236-da88-4f51-b415-c5788a7e9df0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205751Z:fa5c0236-da88-4f51-b415-c5788a7e9df0" ], + "x-ms-request-id": [ "c03fd26e-105c-44cd-aeac-3d476e9081a4" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], + "x-ms-correlation-request-id": [ "07c8ae3e-35df-4f57-887a-68df6147a71c" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113212Z:07c8ae3e-35df-4f57-887a-68df6147a71c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:57:51 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:32:12 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "356" ], + "Content-Length": [ "357" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/3aba922b-f5b6-40f2-aed5-ecb091a4af52\",\"name\":\"3aba922b-f5b6-40f2-aed5-ecb091a4af52\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:57:20.534894Z\",\"endTime\":\"2020-10-26T20:57:24.8165041Z\",\"percentComplete\":1.0,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/c2e5703d-fc80-4d1b-8016-85cf9317978a\",\"name\":\"c2e5703d-fc80-4d1b-8016-85cf9317978a\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-18T11:31:42.2309892Z\",\"endTime\":\"2021-05-18T11:31:45.4031611Z\",\"percentComplete\":1.0,\"properties\":{}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedEventGrid+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "655", "656", "657" ], - "x-ms-client-request-id": [ "75ae709a-7fa7-4927-965b-4732d414d089", "75ae709a-7fa7-4927-965b-4732d414d089", "75ae709a-7fa7-4927-965b-4732d414d089" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity", "Update-AzKustoDataConnection_UpdateViaIdentity", "Update-AzKustoDataConnection_UpdateViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "58" ], + "x-ms-client-request-id": [ "1b222fb6-d8ab-4d96-8bea-f290efb45ecd" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -666,36 +672,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "77b21812-1623-4b84-8f15-934016175d18" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "293" ], - "x-ms-request-id": [ "6cf88553-317f-42a0-84e9-d9d778717947" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "0a9dbce7-e43f-4d09-8222-461c75563832" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205752Z:0a9dbce7-e43f-4d09-8222-461c75563832" ], + "x-ms-correlation-request-id": [ "8acbdfd3-ca11-4170-9a9d-1e665434610b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113213Z:8acbdfd3-ca11-4170-9a9d-1e665434610b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:57:51 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:32:13 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "978" ], + "Content-Length": [ "1011" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5g\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5g\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"ignoreFirstRecord\":false,\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obg\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obg\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"EventGrid\",\"tags\":{},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Storage/storageAccounts/testclients\",\"eventHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.EventHub/namespaces/testclientsns/eventhubs/testclientseg\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"blobStorageEventType\":\"Microsoft.Storage.BlobCreated\",\"ignoreFirstRecord\":false,\"managedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "658" ], - "x-ms-client-request-id": [ "12c3ceef-7166-48a9-b3a5-2a5dcafd1674" ], + "x-ms-unique-id": [ "59" ], + "x-ms-client-request-id": [ "35a6caeb-fadc-40bb-bcc5-0fd82e3c0574" ], "CommandName": [ "Get-AzKustoDataConnection" ], "FullCommandName": [ "Get-AzKustoDataConnection_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -708,33 +714,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "cc8db4a8-06a1-46fe-8a1b-8d9915cf19fd" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "292" ], - "x-ms-request-id": [ "e063cca5-8c5e-4877-8b9c-73f56733bcde" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "bbfefbc7-9692-46cc-a533-3927a65a7063" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205753Z:bbfefbc7-9692-46cc-a533-3927a65a7063" ], + "x-ms-correlation-request-id": [ "a30ac951-9f74-48a7-bef4-aa2ea2f4156e" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113214Z:a30ac951-9f74-48a7-bef4-aa2ea2f4156e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:57:53 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:32:14 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "766" ], + "Content-Length": [ "799" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5h\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obh\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"sharedAccessPolicyName\":\"registryRead\",\"ManagedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedIotHub+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedIotHub+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"IotHub\",\r\n \"location\": \"Australia Central\",\r\n \"properties\": {\r\n \"consumerGroup\": \"$Default\",\r\n \"iotHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\r\n \"sharedAccessPolicyName\": \"registryRead\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"Australia Central\",\r\n \"kind\": \"IotHub\",\r\n \"properties\": {\r\n \"iotHubResourceId\": \"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\r\n \"consumerGroup\": \"$Default\",\r\n \"sharedAccessPolicyName\": \"registryRead\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -745,42 +751,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/1c548e93-8c23-46d7-974c-f6f344f612fb?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "056fc7fd-5818-479f-9246-942f8adb74c0" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/1c548e93-8c23-46d7-974c-f6f344f612fb?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "4640a008-2885-4dd6-981b-7e07c55c88d9" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/799951c3-2752-4492-8ec0-b50b19ea1d44?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], - "x-ms-correlation-request-id": [ "d3843e11-681e-46a8-a9c0-36bbb2a11a47" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205754Z:d3843e11-681e-46a8-a9c0-36bbb2a11a47" ], + "x-ms-correlation-request-id": [ "31d82743-11e4-4b9e-a392-9f6cef1d8fc5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113216Z:31d82743-11e4-4b9e-a392-9f6cef1d8fc5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:57:54 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:32:15 GMT" ], + "ETag": [ "\"\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/799951c3-2752-4492-8ec0-b50b19ea1d44?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "680" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5h\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"consumerGroup\":\"$Default\",\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obh\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/1c548e93-8c23-46d7-974c-f6f344f612fb?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationResults/799951c3-2752-4492-8ec0-b50b19ea1d44?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/1c548e93-8c23-46d7-974c-f6f344f612fb?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia%20Central/operationResults/799951c3-2752-4492-8ec0-b50b19ea1d44?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "659", "660" ], - "x-ms-client-request-id": [ "b3997965-b4ad-4af9-8525-8ae0991edb0f", "b3997965-b4ad-4af9-8525-8ae0991edb0f" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity", "Update-AzKustoDataConnection_UpdateViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "61" ], + "x-ms-client-request-id": [ "5e9b4d87-8725-4115-a1c3-ae8b9be46f81" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -788,40 +795,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], - "x-ms-request-id": [ "3b9aae07-4ab4-476d-8bcc-3bde3d29fba1" ], - "Set-Cookie": [ "ARRAffinity=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=2178e553889a2baebeafe5c8f11834575983f3128efba736a18021d968aa0b1a;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "2e519987-17c0-4046-8287-031955e28e97" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205825Z:2e519987-17c0-4046-8287-031955e28e97" ], + "x-ms-request-id": [ "594139b5-95b3-4b58-a279-79c288ea889a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], + "x-ms-correlation-request-id": [ "34377630-0d90-467b-abba-83cf8e986dae" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113247Z:34377630-0d90-467b-abba-83cf8e986dae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:58:24 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:32:46 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "355" ], + "Content-Length": [ "356" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/1c548e93-8c23-46d7-974c-f6f344f612fb\",\"name\":\"1c548e93-8c23-46d7-974c-f6f344f612fb\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:57:54.451454Z\",\"endTime\":\"2020-10-26T20:57:56.498508Z\",\"percentComplete\":1.0,\"properties\":{}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/Australia Central/operationresults/799951c3-2752-4492-8ec0-b50b19ea1d44\",\"name\":\"799951c3-2752-4492-8ec0-b50b19ea1d44\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-18T11:32:16.3584201Z\",\"endTime\":\"2021-05-18T11:32:18.577345Z\",\"percentComplete\":1.0,\"properties\":{}}", + "isContentBase64": false } }, - "Update-AzKustoDataConnection+[NoContext]+UpdateViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedIotHub+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "659", "660", "661" ], - "x-ms-client-request-id": [ "b3997965-b4ad-4af9-8525-8ae0991edb0f", "b3997965-b4ad-4af9-8525-8ae0991edb0f", "b3997965-b4ad-4af9-8525-8ae0991edb0f" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection", "Az.Kusto.internal\\Update-AzKustoDataConnection" ], - "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity", "Update-AzKustoDataConnection_UpdateViaIdentity", "Update-AzKustoDataConnection_UpdateViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "62" ], + "x-ms-client-request-id": [ "5e9b4d87-8725-4115-a1c3-ae8b9be46f81" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDataConnection" ], + "FullCommandName": [ "Update-AzKustoDataConnection_UpdateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -829,26 +836,25 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "0c94e3ec-b188-42d3-b757-f0992d0a2564" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "291" ], - "x-ms-request-id": [ "21dde602-1eef-4eac-85c4-650937e02b54" ], - "Set-Cookie": [ "ARRAffinity=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net", "ARRAffinitySameSite=af17762fd4ecbe8ed09aca9cef9471fcedd1f1b9f2441fc7df3d8638ad607b76;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpceau.australiacentral.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "078f4d3b-f622-4adf-ad09-111c66f8a685" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205826Z:078f4d3b-f622-4adf-ad09-111c66f8a685" ], + "x-ms-correlation-request-id": [ "24579833-4015-4743-bf5e-3fee78e65503" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210518T113248Z:24579833-4015-4743-bf5e-3fee78e65503" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:58:26 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Tue, 18 May 2021 11:32:47 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "766" ], + "Content-Length": [ "799" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionmlhoe5h\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionmlhoe5h\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"sharedAccessPolicyName\":\"registryRead\",\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/test-clients-rg/providers/Microsoft.Kusto/Clusters/eventgridclienttest/Databases/databasetest/DataConnections/testdataconnectionqlp6obh\",\"name\":\"eventgridclienttest/databasetest/testdataconnectionqlp6obh\",\"type\":\"Microsoft.Kusto/Clusters/Databases/DataConnections\",\"etag\":\"\\\"\\\"\",\"location\":\"Australia Central\",\"kind\":\"IotHub\",\"tags\":{},\"properties\":{\"iotHubResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourcegroups/test-clients-rg/providers/Microsoft.Devices/IotHubs/test-clients-iot\",\"consumerGroup\":\"$Default\",\"tableName\":null,\"mappingRuleName\":null,\"dataFormat\":null,\"eventSystemProperties\":[],\"sharedAccessPolicyName\":\"registryRead\",\"ManagedIdentityResourceId\":null,\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Update-AzKustoDataConnection.Tests.ps1 b/src/Kusto/test/Update-AzKustoDataConnection.Tests.ps1 index cb644d2df440..4d2d9fc143cc 100644 --- a/src/Kusto/test/Update-AzKustoDataConnection.Tests.ps1 +++ b/src/Kusto/test/Update-AzKustoDataConnection.Tests.ps1 @@ -1,19 +1,18 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzKustoDataConnection.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Update-AzKustoDataConnection' { + BeforeAll{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzKustoDataConnection.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'UpdateExpandedEventHub' { $subscriptionId = $env.SubscriptionId $location = $env.locationfordc @@ -28,7 +27,12 @@ Describe 'Update-AzKustoDataConnection' { $dataConnectionFullName = "$clusterName/$databaseName/$dataConnectionName" $dataConnectionUpdated = Update-AzKustoDataConnection -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -DataConnectionName $dataConnectionName -Location $location -Kind $kind -EventHubResourceId $eventHubResourceId -ConsumerGroup '$Default' -Compression "None" - Validate_EventHubDataConnection $dataConnectionUpdated $dataConnectionFullName $location $eventHubResourceId $kind + + # Validate + $dataConnectionUpdated.Name | Should -Be $dataConnectionFullName + $dataConnectionUpdated.Location | Should -Be $location + $dataConnectionUpdated.EventHubResourceId | Should -Be $eventHubResourceId + $dataConnectionUpdated.Kind | Should -Be $kind } It 'UpdateExpandedEventGrid' { @@ -47,7 +51,13 @@ Describe 'Update-AzKustoDataConnection' { $dataConnectionFullName = "$clusterName/$databaseName/$dataConnectionName" $dataConnectionUpdated = Update-AzKustoDataConnection -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -DataConnectionName $dataConnectionName -location $location -Kind $kind -EventHubResourceId $eventHubResourceId -StorageAccountResourceId $storageAccountResourceId -ConsumerGroup '$Default' - Validate_EventGridDataConnection $dataConnectionUpdated $dataConnectionFullName $location $eventHubResourceId $storageAccountResourceId $kind + + # Validate + $dataConnectionUpdated.Name | Should -Be $dataConnectionFullName + $dataConnectionUpdated.Location | Should -Be $location + $dataConnectionUpdated.EventHubResourceId | Should -Be $eventHubResourceId + $dataConnectionUpdated.StorageAccountResourceId | Should -Be $storageAccountResourceId + $dataConnectionUpdated.Kind | Should -Be $kind } It 'UpdateExpandedIotHub' { @@ -64,7 +74,13 @@ Describe 'Update-AzKustoDataConnection' { $dataConnectionFullName = "$clusterName/$databaseName/$dataConnectionName" $dataConnectionUpdated = Update-AzKustoDataConnection -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -DataConnectionName $dataConnectionName -location $location -Kind $kind -IotHubResourceId $iotHubResourceId -SharedAccessPolicyName $sharedAccessPolicyName -ConsumerGroup '$Default' - Validate_IotHubDataConnection $dataConnectionUpdated $dataConnectionFullName $location $iotHubResourceId $sharedAccessPolicyName $kind + + # Validate + $dataConnectionUpdated.Name | Should -Be $dataConnectionFullName + $dataConnectionUpdated.Location | Should -Be $location + $dataConnectionUpdated.IotHubResourceId | Should -Be $iotHubResourceId + $dataConnectionUpdated.SharedAccessPolicyName | Should -Be $sharedAccessPolicyName + $dataConnectionUpdated.Kind | Should -Be $kind } It 'UpdateViaIdentityExpandedEventHub' { @@ -82,7 +98,12 @@ Describe 'Update-AzKustoDataConnection' { $dataConnection = Get-AzKustoDataConnection -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -Name $dataConnectionName $dataConnectionUpdated = Update-AzKustoDataConnection -InputObject $dataConnection -Location $location -Kind $kind -EventHubResourceId $eventHubResourceId -ConsumerGroup '$Default' -Compression "None" - Validate_EventHubDataConnection $dataConnectionUpdated $dataConnectionFullName $location $eventHubResourceId $kind + + # Validate + $dataConnectionUpdated.Name | Should -Be $dataConnectionFullName + $dataConnectionUpdated.Location | Should -Be $location + $dataConnectionUpdated.EventHubResourceId | Should -Be $eventHubResourceId + $dataConnectionUpdated.Kind | Should -Be $kind } It 'UpdateViaIdentityExpandedEventGrid' { @@ -102,7 +123,13 @@ Describe 'Update-AzKustoDataConnection' { $dataConnection = Get-AzKustoDataConnection -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -Name $dataConnectionName $dataConnectionUpdated = Update-AzKustoDataConnection -InputObject $dataConnection -location $location -Kind $kind -EventHubResourceId $eventHubResourceId -StorageAccountResourceId $storageAccountResourceId -ConsumerGroup '$Default' - Validate_EventGridDataConnection $dataConnectionUpdated $dataConnectionFullName $location $eventHubResourceId $storageAccountResourceId $kind + + # Validate + $dataConnectionUpdated.Name | Should -Be $dataConnectionFullName + $dataConnectionUpdated.Location | Should -Be $location + $dataConnectionUpdated.EventHubResourceId | Should -Be $eventHubResourceId + $dataConnectionUpdated.StorageAccountResourceId | Should -Be $storageAccountResourceId + $dataConnectionUpdated.Kind | Should -Be $kind } It 'UpdateViaIdentityExpandedIotHub' { @@ -120,6 +147,12 @@ Describe 'Update-AzKustoDataConnection' { $dataConnection = Get-AzKustoDataConnection -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -Name $dataConnectionName $dataConnectionUpdated = Update-AzKustoDataConnection -InputObject $dataConnection -location $location -Kind $kind -IotHubResourceId $iotHubResourceId -SharedAccessPolicyName $sharedAccessPolicyName -ConsumerGroup '$Default' - Validate_IotHubDataConnection $dataConnectionUpdated $dataConnectionFullName $location $iotHubResourceId $sharedAccessPolicyName $kind + + # Validate + $dataConnectionUpdated.Name | Should -Be $dataConnectionFullName + $dataConnectionUpdated.Location | Should -Be $location + $dataConnectionUpdated.IotHubResourceId | Should -Be $iotHubResourceId + $dataConnectionUpdated.SharedAccessPolicyName | Should -Be $sharedAccessPolicyName + $dataConnectionUpdated.Kind | Should -Be $kind } } diff --git a/src/Kusto/test/Update-AzKustoDatabase.Recording.json b/src/Kusto/test/Update-AzKustoDatabase.Recording.json index 4935b61a876b..4726f5320228 100644 --- a/src/Kusto/test/Update-AzKustoDatabase.Recording.json +++ b/src/Kusto/test/Update-AzKustoDatabase.Recording.json @@ -1,12 +1,13 @@ { - "Update-AzKustoDatabase+[NoContext]+UpdateExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "623" ], - "x-ms-client-request-id": [ "1e15d3bc-8317-4ef8-858b-b32f5aa8240b" ], + "x-ms-unique-id": [ "399" ], + "x-ms-client-request-id": [ "52c04ce4-cfcd-4631-941c-d43ab68d880b" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -19,33 +20,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c786832c-1c88-4b85-b5fb-5b295b134271" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "299" ], - "x-ms-request-id": [ "b5e0eba7-4822-4e33-b175-cecb24b161d9" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "d06e54f3-7bdf-4b97-b136-e5b044f28d8c" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205254Z:d06e54f3-7bdf-4b97-b136-e5b044f28d8c" ], + "x-ms-correlation-request-id": [ "06751829-331d-42f5-8460-10030cebe1d5" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150713Z:06751829-331d-42f5-8460-10030cebe1d5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:52:54 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:07:13 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "518" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateExpandedReadWrite+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateExpandedReadWrite+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadWrite\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"hotCachePeriod\": \"P3D\",\r\n \"softDeletePeriod\": \"P5D\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadWrite\",\r\n \"properties\": {\r\n \"softDeletePeriod\": \"P5D\",\r\n \"hotCachePeriod\": \"P3D\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -56,42 +57,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/76f29323-05a3-4921-9b66-45e5af35cfb2?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "c4b45693-215f-42ee-b884-b29ce73856b0" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/76f29323-05a3-4921-9b66-45e5af35cfb2?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "0115ff2c-6b3d-449d-a4d3-34919e6c0c77" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/14f23653-c0fc-4869-a200-ed6a6b3bb682?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "f7e92d68-0d40-4c2c-b146-4224413f2c32" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205255Z:f7e92d68-0d40-4c2c-b146-4224413f2c32" ], + "x-ms-correlation-request-id": [ "a585a026-2e43-40e8-8fca-8d1c966a3880" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150714Z:a585a026-2e43-40e8-8fca-8d1c966a3880" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:52:54 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:07:14 GMT" ], + "ETag": [ "\"\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/14f23653-c0fc-4869-a200-ed6a6b3bb682?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "421" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"hotCachePeriod\":\"P3D\",\"softDeletePeriod\":\"P5D\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"softDeletePeriod\":\"P5D\",\"hotCachePeriod\":\"P3D\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/76f29323-05a3-4921-9b66-45e5af35cfb2?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/14f23653-c0fc-4869-a200-ed6a6b3bb682?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/76f29323-05a3-4921-9b66-45e5af35cfb2?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/14f23653-c0fc-4869-a200-ed6a6b3bb682?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "624", "625" ], - "x-ms-client-request-id": [ "dacadcfb-7292-4afa-bdd6-d7f4b7811cdc", "dacadcfb-7292-4afa-bdd6-d7f4b7811cdc" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase" ], - "FullCommandName": [ "Update-AzKustoDatabase_Update", "Update-AzKustoDatabase_Update" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "401" ], + "x-ms-client-request-id": [ "25573c89-e4bc-4efd-8393-abb117c525b2" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase" ], + "FullCommandName": [ "Update-AzKustoDatabase_Update" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -99,40 +101,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], - "x-ms-request-id": [ "2c696d33-027b-4a2b-a122-a752700af098" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "dee39f5d-e8f9-42ea-8665-252a3cf1ba60" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205325Z:dee39f5d-e8f9-42ea-8665-252a3cf1ba60" ], + "x-ms-request-id": [ "b8089562-3423-4598-a3d0-d9fc49cfd721" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "286" ], + "x-ms-correlation-request-id": [ "b3bce21b-3d35-4038-9b24-1da747945628" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150745Z:b3bce21b-3d35-4038-9b24-1da747945628" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:53:25 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:07:44 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "494" ], + "Content-Length": [ "495" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/76f29323-05a3-4921-9b66-45e5af35cfb2\",\"name\":\"76f29323-05a3-4921-9b66-45e5af35cfb2\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:52:55.424683Z\",\"endTime\":\"2020-10-26T20:52:57.315331Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"5ac8deb0-55b8-4b12-b583-267cce756741\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/14f23653-c0fc-4869-a200-ed6a6b3bb682\",\"name\":\"14f23653-c0fc-4869-a200-ed6a6b3bb682\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T15:07:14.5338207Z\",\"endTime\":\"2021-05-13T15:07:16.471327Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"d203792c-0406-4c27-b103-d8eb4f5e2e18\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+UpdateExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "624", "625", "626" ], - "x-ms-client-request-id": [ "dacadcfb-7292-4afa-bdd6-d7f4b7811cdc", "dacadcfb-7292-4afa-bdd6-d7f4b7811cdc", "dacadcfb-7292-4afa-bdd6-d7f4b7811cdc" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase" ], - "FullCommandName": [ "Update-AzKustoDatabase_Update", "Update-AzKustoDatabase_Update", "Update-AzKustoDatabase_Update" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "402" ], + "x-ms-client-request-id": [ "25573c89-e4bc-4efd-8393-abb117c525b2" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase" ], + "FullCommandName": [ "Update-AzKustoDatabase_Update" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -140,36 +142,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ca16ef88-9b5d-457b-8df0-6b9467bfbaa4" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "298" ], - "x-ms-request-id": [ "7f22009b-3e11-448d-9d6e-971baee88f7a" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "faafb6b6-4024-400c-943e-6e4cd19646fc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205326Z:faafb6b6-4024-400c-943e-6e4cd19646fc" ], + "x-ms-correlation-request-id": [ "abe696b6-e897-44b5-8cd5-2c5590970867" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150745Z:abe696b6-e897-44b5-8cd5-2c5590970867" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:53:26 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:07:45 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "518" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":5,\"softDeletePeriod\":\"P5D\",\"hotCachePeriodInDays\":3,\"hotCachePeriod\":\"P3D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":5,\"softDeletePeriod\":\"P5D\",\"hotCachePeriodInDays\":3,\"hotCachePeriod\":\"P3D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "627" ], - "x-ms-client-request-id": [ "93457113-2a68-41c7-98fd-f5dcc7b6373f" ], + "x-ms-unique-id": [ "403" ], + "x-ms-client-request-id": [ "b2bd0d84-d3fd-4610-914b-e1fdbfae2a0e" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -182,33 +184,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ae46df8e-e810-4612-9396-6b8e06780115" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "297" ], - "x-ms-request-id": [ "40ea937e-3877-4055-9b1c-728e861a68f8" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f63ac5dc-ddec-4eaa-ac54-99f86a1f1f74" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205326Z:f63ac5dc-ddec-4eaa-ac54-99f86a1f1f74" ], + "x-ms-correlation-request-id": [ "4bd9667f-9a96-4766-931b-8293d3972850" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150746Z:4bd9667f-9a96-4766-931b-8293d3972850" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:53:26 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:07:46 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "766" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5\",\"name\":\"testfclustera0obls/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"leaderClusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"attachedDatabaseConfigurationName\":\"testdbconfa0obls\",\"principalsModificationKind\":\"Union\",\"softDeletePeriodInDays\":5,\"softDeletePeriod\":\"P5D\",\"hotCachePeriodInDays\":3,\"hotCachePeriod\":\"P3D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob\",\"name\":\"testfclusterzu7bam/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"leaderClusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"attachedDatabaseConfigurationName\":\"testdbconfzu7bam\",\"principalsModificationKind\":\"Union\",\"softDeletePeriodInDays\":5,\"softDeletePeriod\":\"P5D\",\"hotCachePeriodInDays\":3,\"hotCachePeriod\":\"P3D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateExpandedReadOnlyFollowing+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateExpandedReadOnlyFollowing+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadOnlyFollowing\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"hotCachePeriod\": \"P4D\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadOnlyFollowing\",\r\n \"properties\": {\r\n \"hotCachePeriod\": \"P4D\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -219,42 +221,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d8dd2f82-4269-4f64-801b-ea9453d7310c?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "f79b1aff-941e-4f34-8c08-fc2f32ed28bf" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d8dd2f82-4269-4f64-801b-ea9453d7310c?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "ce0dd9c4-7383-4afd-a7d9-aced3deee1e6" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/749ba732-8a97-4dea-979d-59b498eb979b?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "e5cf596b-08e4-48fa-8b4a-1630b1950fd0" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205327Z:e5cf596b-08e4-48fa-8b4a-1630b1950fd0" ], + "x-ms-correlation-request-id": [ "4445f9ff-03d2-4710-8f2f-a6927846219f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150747Z:4445f9ff-03d2-4710-8f2f-a6927846219f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:53:27 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:07:47 GMT" ], + "ETag": [ "\"\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/749ba732-8a97-4dea-979d-59b498eb979b?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "406" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5\",\"name\":\"testfclustera0obls/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"hotCachePeriod\":\"P4D\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob\",\"name\":\"testfclusterzu7bam/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"hotCachePeriod\":\"P4D\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d8dd2f82-4269-4f64-801b-ea9453d7310c?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/749ba732-8a97-4dea-979d-59b498eb979b?api-version=2021-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d8dd2f82-4269-4f64-801b-ea9453d7310c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/749ba732-8a97-4dea-979d-59b498eb979b?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "628", "629" ], - "x-ms-client-request-id": [ "213be0bf-75be-4135-b9d6-c8623ef082d4", "213be0bf-75be-4135-b9d6-c8623ef082d4" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase" ], - "FullCommandName": [ "Update-AzKustoDatabase_Update", "Update-AzKustoDatabase_Update" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "405" ], + "x-ms-client-request-id": [ "3ac19064-cc4a-42bb-b342-7c3a68626ccd" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase" ], + "FullCommandName": [ "Update-AzKustoDatabase_Update" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -262,40 +265,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "282" ], - "x-ms-request-id": [ "635b16fd-aedf-4162-a44a-bf55cca3e1f5" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e3cd0345-3657-40a6-8ab0-27c2cb20f5dc" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205357Z:e3cd0345-3657-40a6-8ab0-27c2cb20f5dc" ], + "x-ms-request-id": [ "b5c2e0d1-acc6-4255-a95b-4032a4e49b50" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "285" ], + "x-ms-correlation-request-id": [ "2f2ae9a0-8271-4d07-bf3e-2912c84c1090" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150817Z:2f2ae9a0-8271-4d07-bf3e-2912c84c1090" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:53:57 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:08:16 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "502" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d8dd2f82-4269-4f64-801b-ea9453d7310c\",\"name\":\"d8dd2f82-4269-4f64-801b-ea9453d7310c\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:53:27.38963Z\",\"endTime\":\"2020-10-26T20:53:31.0303334Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"0e2b76d4-1ab7-4eba-9188-451168cdc6ae\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/749ba732-8a97-4dea-979d-59b498eb979b\",\"name\":\"749ba732-8a97-4dea-979d-59b498eb979b\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T15:07:47.34453Z\",\"endTime\":\"2021-05-13T15:07:50.5007842Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"6940bbe2-471b-4fc1-81c5-03681d990a54\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+UpdateExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "628", "629", "630" ], - "x-ms-client-request-id": [ "213be0bf-75be-4135-b9d6-c8623ef082d4", "213be0bf-75be-4135-b9d6-c8623ef082d4", "213be0bf-75be-4135-b9d6-c8623ef082d4" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase" ], - "FullCommandName": [ "Update-AzKustoDatabase_Update", "Update-AzKustoDatabase_Update", "Update-AzKustoDatabase_Update" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "406" ], + "x-ms-client-request-id": [ "3ac19064-cc4a-42bb-b342-7c3a68626ccd" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase" ], + "FullCommandName": [ "Update-AzKustoDatabase_Update" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -303,36 +306,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "815cde73-371a-4968-a19f-ed6c45a30aa5" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "296" ], - "x-ms-request-id": [ "613adcd7-b40e-4b6c-91e2-1715420cde63" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f8f053ad-f338-4062-930d-17a5f727f56d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205358Z:f8f053ad-f338-4062-930d-17a5f727f56d" ], + "x-ms-correlation-request-id": [ "d19aece6-c129-4906-83de-9c84712da870" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150818Z:d19aece6-c129-4906-83de-9c84712da870" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:53:57 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:08:18 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "766" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5\",\"name\":\"testfclustera0obls/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"leaderClusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"attachedDatabaseConfigurationName\":\"testdbconfa0obls\",\"principalsModificationKind\":\"Union\",\"softDeletePeriodInDays\":5,\"softDeletePeriod\":\"P5D\",\"hotCachePeriodInDays\":4,\"hotCachePeriod\":\"P4D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob\",\"name\":\"testfclusterzu7bam/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"leaderClusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"attachedDatabaseConfigurationName\":\"testdbconfzu7bam\",\"principalsModificationKind\":\"Union\",\"softDeletePeriodInDays\":5,\"softDeletePeriod\":\"P5D\",\"hotCachePeriodInDays\":4,\"hotCachePeriod\":\"P4D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateViaIdentityExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "631" ], - "x-ms-client-request-id": [ "8f6a3f1b-4e33-48f1-89dc-adcf0483d6b3" ], + "x-ms-unique-id": [ "407" ], + "x-ms-client-request-id": [ "b0fdfe57-3e94-4575-aceb-7bb1146baaa0" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -345,36 +348,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "bea390e4-5cc9-47b0-aea5-25122251b2a5" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "295" ], - "x-ms-request-id": [ "a2879773-b34c-41bc-9f56-5ce2b0a4b09b" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "26db692f-d8f8-407c-b307-41d0c406d645" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205358Z:26db692f-d8f8-407c-b307-41d0c406d645" ], + "x-ms-correlation-request-id": [ "c876b1cf-ee77-44c2-aa40-9a6c13d67626" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150819Z:c876b1cf-ee77-44c2-aa40-9a6c13d67626" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:53:58 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:08:19 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "518" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":5,\"softDeletePeriod\":\"P5D\",\"hotCachePeriodInDays\":3,\"hotCachePeriod\":\"P3D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":5,\"softDeletePeriod\":\"P5D\",\"hotCachePeriodInDays\":3,\"hotCachePeriod\":\"P3D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateViaIdentityExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "632" ], - "x-ms-client-request-id": [ "d783a638-c3e6-4409-8a9c-00a487ac5f3e" ], + "x-ms-unique-id": [ "408" ], + "x-ms-client-request-id": [ "a0443bfa-9230-4fa5-b3c4-a72b36fab9e3" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -387,33 +390,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "86a11764-6406-4527-8be9-ffe4080b8f96" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "294" ], - "x-ms-request-id": [ "bcd28cc7-307f-4fe2-be21-e21f6159b1ab" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "52f02d9d-d72b-4b42-9057-e1e8f81a4044" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205359Z:52f02d9d-d72b-4b42-9057-e1e8f81a4044" ], + "x-ms-correlation-request-id": [ "90c6786f-d1a8-4394-b7d0-89e615c88c04" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150819Z:90c6786f-d1a8-4394-b7d0-89e615c88c04" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:53:58 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:08:19 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "518" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":5,\"softDeletePeriod\":\"P5D\",\"hotCachePeriodInDays\":3,\"hotCachePeriod\":\"P3D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":5,\"softDeletePeriod\":\"P5D\",\"hotCachePeriodInDays\":3,\"hotCachePeriod\":\"P3D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateViaIdentityExpandedReadWrite+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedReadWrite+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01+3": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadWrite\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"hotCachePeriod\": \"P2D\",\r\n \"softDeletePeriod\": \"P4D\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadWrite\",\r\n \"properties\": {\r\n \"softDeletePeriod\": \"P4D\",\r\n \"hotCachePeriod\": \"P2D\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -424,42 +427,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/36659924-7371-4fb7-8688-916eaffe08f6?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "eb7b8fa6-ac79-4165-8e4b-051b61fd1404" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/36659924-7371-4fb7-8688-916eaffe08f6?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "50c000d9-8a00-46fb-a195-3f6006f82214" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/69c4f9e0-d7b4-4e49-9b3d-a85052c27b98?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-correlation-request-id": [ "6cdb747d-2ce4-4980-a1c2-2f4d38f28718" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205400Z:6cdb747d-2ce4-4980-a1c2-2f4d38f28718" ], + "x-ms-correlation-request-id": [ "b765dea4-e1e1-4027-b798-3c11582d3fe9" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150820Z:b765dea4-e1e1-4027-b798-3c11582d3fe9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:53:59 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:08:20 GMT" ], + "ETag": [ "\"\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/69c4f9e0-d7b4-4e49-9b3d-a85052c27b98?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "421" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"hotCachePeriod\":\"P2D\",\"softDeletePeriod\":\"P4D\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"softDeletePeriod\":\"P4D\",\"hotCachePeriod\":\"P2D\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateViaIdentityExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/36659924-7371-4fb7-8688-916eaffe08f6?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/69c4f9e0-d7b4-4e49-9b3d-a85052c27b98?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/36659924-7371-4fb7-8688-916eaffe08f6?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/69c4f9e0-d7b4-4e49-9b3d-a85052c27b98?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "633", "634" ], - "x-ms-client-request-id": [ "553e2c6c-639a-4e29-8e94-b18978a2acf6", "553e2c6c-639a-4e29-8e94-b18978a2acf6" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase" ], - "FullCommandName": [ "Update-AzKustoDatabase_UpdateViaIdentity", "Update-AzKustoDatabase_UpdateViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "410" ], + "x-ms-client-request-id": [ "6add10e1-2b00-4df2-8660-4e589b8d5683" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase" ], + "FullCommandName": [ "Update-AzKustoDatabase_UpdateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -467,40 +471,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "281" ], - "x-ms-request-id": [ "5fc1f36a-f283-49a2-9df2-98a7a28722ce" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "7d845d12-f81a-49de-aeb3-0681f4af4e0f" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205430Z:7d845d12-f81a-49de-aeb3-0681f4af4e0f" ], + "x-ms-request-id": [ "f98164b1-fe61-4cfb-9616-2cb0070d59d5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "284" ], + "x-ms-correlation-request-id": [ "84c08aeb-28e9-419d-9527-46915fbb8a02" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150850Z:84c08aeb-28e9-419d-9527-46915fbb8a02" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:54:29 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:08:50 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { - "Content-Length": [ "495" ], + "Content-Length": [ "496" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/36659924-7371-4fb7-8688-916eaffe08f6\",\"name\":\"36659924-7371-4fb7-8688-916eaffe08f6\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:53:59.8473425Z\",\"endTime\":\"2020-10-26T20:54:01.332172Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"e34c8f26-d212-4d72-a7a8-d784ba8eed5a\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/69c4f9e0-d7b4-4e49-9b3d-a85052c27b98\",\"name\":\"69c4f9e0-d7b4-4e49-9b3d-a85052c27b98\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T15:08:20.5323712Z\",\"endTime\":\"2021-05-13T15:08:22.4544554Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"DatabaseCreate\",\"RootActivityId\":\"7cee4f8f-6a7f-453b-9a84-ba528c6e2cf5\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateViaIdentityExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedReadWrite+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "633", "634", "635" ], - "x-ms-client-request-id": [ "553e2c6c-639a-4e29-8e94-b18978a2acf6", "553e2c6c-639a-4e29-8e94-b18978a2acf6", "553e2c6c-639a-4e29-8e94-b18978a2acf6" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase" ], - "FullCommandName": [ "Update-AzKustoDatabase_UpdateViaIdentity", "Update-AzKustoDatabase_UpdateViaIdentity", "Update-AzKustoDatabase_UpdateViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "411" ], + "x-ms-client-request-id": [ "6add10e1-2b00-4df2-8660-4e589b8d5683" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase" ], + "FullCommandName": [ "Update-AzKustoDatabase_UpdateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -508,36 +512,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "4fa5d078-51b1-4976-a0a7-4f17572a18c8" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "293" ], - "x-ms-request-id": [ "23d50452-b307-4503-8144-5588628539d6" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "4b1be006-2f7f-4150-8629-01a00b351dda" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205430Z:4b1be006-2f7f-4150-8629-01a00b351dda" ], + "x-ms-correlation-request-id": [ "c96a0418-de09-4a4b-932c-ca414dc5f1ce" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150851Z:c96a0418-de09-4a4b-932c-ca414dc5f1ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:54:29 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:08:50 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "518" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5/Databases/testdatabasemlhoe5\",\"name\":\"testclustermlhoe5/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob/Databases/testdatabaseqlp6ob\",\"name\":\"testclusterqlp6ob/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadWrite\",\"tags\":{},\"properties\":{\"isFollowed\":true,\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":2,\"hotCachePeriod\":\"P2D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateViaIdentityExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18+1": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "636" ], - "x-ms-client-request-id": [ "b444de1c-2212-4414-b888-9d84f2c1e372" ], + "x-ms-unique-id": [ "412" ], + "x-ms-client-request-id": [ "cae2a352-35ac-4381-847a-9ba8ddcf331b" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -550,36 +554,36 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "be90211c-150c-4a3c-97d4-dfe11f1bce6d" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "292" ], - "x-ms-request-id": [ "7bdf1fa3-4107-440f-9b0d-8fa05abfb1c1" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "e00fdec5-f6dc-4621-8d2d-060055e4e32d" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205431Z:e00fdec5-f6dc-4621-8d2d-060055e4e32d" ], + "x-ms-correlation-request-id": [ "e5b0ced7-7dd6-4b1a-87ca-3e68323072bb" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150852Z:e5b0ced7-7dd6-4b1a-87ca-3e68323072bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:54:30 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:08:51 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "766" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5\",\"name\":\"testfclustera0obls/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"leaderClusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"attachedDatabaseConfigurationName\":\"testdbconfa0obls\",\"principalsModificationKind\":\"Union\",\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":4,\"hotCachePeriod\":\"P4D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob\",\"name\":\"testfclusterzu7bam/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"leaderClusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"attachedDatabaseConfigurationName\":\"testdbconfzu7bam\",\"principalsModificationKind\":\"Union\",\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":4,\"hotCachePeriod\":\"P4D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateViaIdentityExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18+2": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "637" ], - "x-ms-client-request-id": [ "fd83bdd9-3e17-4867-a112-c7dc6cbb58ac" ], + "x-ms-unique-id": [ "413" ], + "x-ms-client-request-id": [ "32527797-1c85-4ece-86c3-4353d9544c12" ], "CommandName": [ "Get-AzKustoDatabase" ], "FullCommandName": [ "Get-AzKustoDatabase_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -592,33 +596,33 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "630c6cb1-c6ba-4803-a147-7a0bbdcf327d" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "291" ], - "x-ms-request-id": [ "a173f7c6-b05f-4c5d-8de0-c6ceac298421" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "55f8c7bd-56bf-4c36-82a6-0b79ee45065a" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205431Z:55f8c7bd-56bf-4c36-82a6-0b79ee45065a" ], + "x-ms-correlation-request-id": [ "683af444-b929-4633-b728-de1ca72e69a1" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150852Z:683af444-b929-4633-b728-de1ca72e69a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:54:30 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:08:52 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "766" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5\",\"name\":\"testfclustera0obls/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"leaderClusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"attachedDatabaseConfigurationName\":\"testdbconfa0obls\",\"principalsModificationKind\":\"Union\",\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":4,\"hotCachePeriod\":\"P4D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob\",\"name\":\"testfclusterzu7bam/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"leaderClusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"attachedDatabaseConfigurationName\":\"testdbconfzu7bam\",\"principalsModificationKind\":\"Union\",\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":4,\"hotCachePeriod\":\"P4D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateViaIdentityExpandedReadOnlyFollowing+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18+3": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedReadOnlyFollowing+$PATCH+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01+3": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18", - "Content": "{\r\n \"kind\": \"ReadOnlyFollowing\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"hotCachePeriod\": \"P3D\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01", + "Content": "{\r\n \"location\": \"East US\",\r\n \"kind\": \"ReadOnlyFollowing\",\r\n \"properties\": {\r\n \"hotCachePeriod\": \"P3D\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -629,42 +633,43 @@ "Response": { "StatusCode": 202, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d84aff74-3dcd-46b1-86cc-ca6e189d7a0c?api-version=2020-09-18\u0026operationResultResponseType=Location" ], - "x-ms-request-id": [ "86297c3b-0247-4df2-81d5-bed5601d5c76" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d84aff74-3dcd-46b1-86cc-ca6e189d7a0c?api-version=2020-09-18" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], + "x-ms-request-id": [ "9a769b78-e6f5-4c2f-a133-69b028bfee3a" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/795df19c-2335-4482-9c79-104f8d60eb82?api-version=2021-01-01" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-correlation-request-id": [ "c28bd3ea-ae83-4aa7-9b59-23d16b59e722" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205432Z:c28bd3ea-ae83-4aa7-9b59-23d16b59e722" ], + "x-ms-correlation-request-id": [ "58247813-9e6d-4c6d-8e15-1b3e6e12b29b" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150854Z:58247813-9e6d-4c6d-8e15-1b3e6e12b29b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:54:31 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:08:54 GMT" ], + "ETag": [ "\"\"" ], + "Location": [ "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/795df19c-2335-4482-9c79-104f8d60eb82?api-version=2021-01-01\u0026operationResultResponseType=Location" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "406" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5\",\"name\":\"testfclustera0obls/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"hotCachePeriod\":\"P3D\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob\",\"name\":\"testfclusterzu7bam/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"hotCachePeriod\":\"P3D\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateViaIdentityExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/d84aff74-3dcd-46b1-86cc-ca6e189d7a0c?api-version=2020-09-18+4": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationResults/795df19c-2335-4482-9c79-104f8d60eb82?api-version=2021-01-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/d84aff74-3dcd-46b1-86cc-ca6e189d7a0c?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East%20US/operationResults/795df19c-2335-4482-9c79-104f8d60eb82?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "638", "639" ], - "x-ms-client-request-id": [ "0ff4465d-fb4d-4dfa-84a4-74936129e209", "0ff4465d-fb4d-4dfa-84a4-74936129e209" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase" ], - "FullCommandName": [ "Update-AzKustoDatabase_UpdateViaIdentity", "Update-AzKustoDatabase_UpdateViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "415" ], + "x-ms-client-request-id": [ "09c8f7aa-f784-4523-b07b-86a9613a124a" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase" ], + "FullCommandName": [ "Update-AzKustoDatabase_UpdateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -672,40 +677,40 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Vary": [ "Accept-Encoding" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], - "x-ms-request-id": [ "6c312020-b303-4b95-bcd0-b32858760646" ], - "Set-Cookie": [ "ARRAffinity=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=08c542de9c69df304db89085a4be8d076030733c2e6e8b2f44fd02f2435e1112;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "8fb2c0b8-e0c9-4ef7-bd39-139c078e1027" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205502Z:8fb2c0b8-e0c9-4ef7-bd39-139c078e1027" ], + "x-ms-request-id": [ "da9f561b-ba8b-4b63-8e59-3b3329521cf5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "283" ], + "x-ms-correlation-request-id": [ "ad5b521d-d754-466b-aa1d-01d8becb028f" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150924Z:ad5b521d-d754-466b-aa1d-01d8becb028f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:55:02 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:09:23 GMT" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "504" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/d84aff74-3dcd-46b1-86cc-ca6e189d7a0c\",\"name\":\"d84aff74-3dcd-46b1-86cc-ca6e189d7a0c\",\"status\":\"Succeeded\",\"startTime\":\"2020-10-26T20:54:32.3333213Z\",\"endTime\":\"2020-10-26T20:54:37.0520852Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"c1c6f9da-e751-4ac0-a74a-907d7faf4746\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/providers/Microsoft.Kusto/locations/East US/operationresults/795df19c-2335-4482-9c79-104f8d60eb82\",\"name\":\"795df19c-2335-4482-9c79-104f8d60eb82\",\"status\":\"Succeeded\",\"startTime\":\"2021-05-13T15:08:54.0040769Z\",\"endTime\":\"2021-05-13T15:08:57.6919909Z\",\"percentComplete\":1.0,\"properties\":{\"OperationKind\":\"FollowerDatabaseCreate\",\"RootActivityId\":\"29e2d0e4-e14f-4cfe-a6ab-c4a7660615dd\",\"provisioningState\":\"Succeeded\",\"OperationState\":\"Completed\"}}", + "isContentBase64": false } }, - "Update-AzKustoDatabase+[NoContext]+UpdateViaIdentityExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18+5": { + "[NoDescription]+[NoContext]+UpdateViaIdentityExpandedReadOnlyFollowing+$GET+https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5?api-version=2020-09-18", + "RequestUri": "https://management.azure.com/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob?api-version=2021-01-01", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "638", "639", "640" ], - "x-ms-client-request-id": [ "0ff4465d-fb4d-4dfa-84a4-74936129e209", "0ff4465d-fb4d-4dfa-84a4-74936129e209", "0ff4465d-fb4d-4dfa-84a4-74936129e209" ], - "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase", "Az.Kusto.internal\\Update-AzKustoDatabase" ], - "FullCommandName": [ "Update-AzKustoDatabase_UpdateViaIdentity", "Update-AzKustoDatabase_UpdateViaIdentity", "Update-AzKustoDatabase_UpdateViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "416" ], + "x-ms-client-request-id": [ "09c8f7aa-f784-4523-b07b-86a9613a124a" ], + "CommandName": [ "Az.Kusto.internal\\Update-AzKustoDatabase" ], + "FullCommandName": [ "Update-AzKustoDatabase_UpdateViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { } @@ -713,26 +718,25 @@ "Response": { "StatusCode": 200, "Headers": { - "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"\"" ], - "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "7c41c6ac-1c6a-4c47-a778-3394edee1d37" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "290" ], - "x-ms-request-id": [ "13694fad-2db4-4e5c-bc38-e3824350c73e" ], - "Set-Cookie": [ "ARRAffinity=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;Secure;Domain=armrp-kustorpeus.kusto.windows.net", "ARRAffinitySameSite=8461a480ba64ac008187a19a8e06cff1e16d9525507776033d2e273198e8fcfb;Path=/;HttpOnly;SameSite=None;Secure;Domain=armrp-kustorpeus.kusto.windows.net" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "aff566f0-47a3-4dc4-afe0-20785c2cbc8e" ], - "x-ms-routing-request-id": [ "UKSOUTH:20201026T205503Z:aff566f0-47a3-4dc4-afe0-20785c2cbc8e" ], + "x-ms-correlation-request-id": [ "9adea0de-f1b5-4c3c-8085-5526175483c2" ], + "x-ms-routing-request-id": [ "FRANCESOUTH:20210513T150925Z:9adea0de-f1b5-4c3c-8085-5526175483c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Mon, 26 Oct 2020 20:55:03 GMT" ] + "Cache-Control": [ "no-cache" ], + "Date": [ "Thu, 13 May 2021 15:09:24 GMT" ], + "ETag": [ "\"\"" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "ContentHeaders": { "Content-Length": [ "766" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testfclustera0obls/Databases/testdatabasemlhoe5\",\"name\":\"testfclustera0obls/testdatabasemlhoe5\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"leaderClusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupmlhoe5/providers/Microsoft.Kusto/Clusters/testclustermlhoe5\",\"attachedDatabaseConfigurationName\":\"testdbconfa0obls\",\"principalsModificationKind\":\"Union\",\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":3,\"hotCachePeriod\":\"P3D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}" + "Content": "{\"id\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testfclusterzu7bam/Databases/testdatabaseqlp6ob\",\"name\":\"testfclusterzu7bam/testdatabaseqlp6ob\",\"type\":\"Microsoft.Kusto/Clusters/Databases\",\"etag\":\"\\\"\\\"\",\"location\":\"East US\",\"kind\":\"ReadOnlyFollowing\",\"tags\":{},\"properties\":{\"leaderClusterResourceId\":\"/subscriptions/11d5f159-a21d-4a6c-8053-c3aae30057cf/resourceGroups/testgroupqlp6ob/providers/Microsoft.Kusto/Clusters/testclusterqlp6ob\",\"attachedDatabaseConfigurationName\":\"testdbconfzu7bam\",\"principalsModificationKind\":\"Union\",\"softDeletePeriodInDays\":4,\"softDeletePeriod\":\"P4D\",\"hotCachePeriodInDays\":3,\"hotCachePeriod\":\"P3D\",\"statistics\":{\"size\":0.0},\"provisioningState\":\"Succeeded\"}}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/Kusto/test/Update-AzKustoDatabase.Tests.ps1 b/src/Kusto/test/Update-AzKustoDatabase.Tests.ps1 index 38aff80d6674..55de47dd0745 100644 --- a/src/Kusto/test/Update-AzKustoDatabase.Tests.ps1 +++ b/src/Kusto/test/Update-AzKustoDatabase.Tests.ps1 @@ -1,19 +1,20 @@ -$kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' -. ($kustoCommonPath) -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzKustoDatabase.Recording.json' -$currentPath = $PSScriptRoot -while (-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - Describe 'Update-AzKustoDatabase' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzKustoDatabase.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } It 'UpdateExpandedReadWrite' { $clusterName = $env.clusterName $databaseName = $env.databaseName diff --git a/src/Kusto/test/Update-AzKustoScript.Tests.ps1 b/src/Kusto/test/Update-AzKustoScript.Tests.ps1 new file mode 100644 index 000000000000..e94f5d0b5ead --- /dev/null +++ b/src/Kusto/test/Update-AzKustoScript.Tests.ps1 @@ -0,0 +1,33 @@ +Describe 'Update-AzKustoScript' { + BeforeAll{ + $kustoCommonPath = Join-Path $PSScriptRoot 'common.ps1' + . ($kustoCommonPath) + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzKustoScript.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName + } + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Update' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Kusto/test/deployment-templates/storage-account/parameters.json b/src/Kusto/test/deployment-templates/storage-account/parameters.json index 1c73cde27b8e..d17d24dc372b 100644 --- a/src/Kusto/test/deployment-templates/storage-account/parameters.json +++ b/src/Kusto/test/deployment-templates/storage-account/parameters.json @@ -3,7 +3,7 @@ "contentVersion": "1.0.0.0", "parameters": { "storageAccounts_sdkpsstorage_name": { - "value": "storagemlhoe5" + "value": "storageqlp6ob" } } } diff --git a/src/Kusto/test/env.json b/src/Kusto/test/env.json index 7b52ff4efbcb..9a76bf005dbe 100644 --- a/src/Kusto/test/env.json +++ b/src/Kusto/test/env.json @@ -1,47 +1,47 @@ { - "databasePrincipalAssignmentResourceType": "Microsoft.Kusto/Clusters/Databases/principalAssignments", - "clusterName": "testclustermlhoe5", + "SubscriptionId": "11d5f159-a21d-4a6c-8053-c3aae30057cf", + "attachedDatabaseConfigurationName": "testdbconfzu7bam", + "followerClusterName": "testfclusterzu7bam", + "locationfordc": "Australia Central", + "resourceType": "Microsoft.Kusto/Clusters", + "skuName": "Standard_D11_v2", + "eventhubNameForEventGridfordc": "testclientseg", + "resourceGroupNamefordc": "test-clients-rg", + "databasePrincipalRole": "Viewer", + "rstr5": "ksghcq", + "databaseName": "testdatabaseqlp6ob", + "langExt2": "PYTHON", "langExt1": "R", - "principalAssignmentName1": "principalassignment1", - "clusterPrincipalAssignmentResourceType": "Microsoft.Kusto/clusters/principalAssignments", - "iothubNamefordc": "test-clients-iot", - "resourceGroupName": "testgroupmlhoe5", - "principalAssignmentName": "KustoClientsScenarioTest", - "rstr5": "pjs9o1", + "principalId": "713c3475-5021-4f3b-a650-eaa9a83f25a4", + "databaseType": "Microsoft.Kusto/Clusters/Databases", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "eventhubNSNameForEventGridfordc": "testclientsns", - "PlainClusterName": "testclusterojskie", + "iothubSharedAccessPolicyName": "registryRead", + "storageName": "storageqlp6ob", + "iothubNamefordc": "test-clients-iot", + "resourceGroupName": "testgroupqlp6ob", + "dataConnectionResourceType": "Microsoft.Kusto/Clusters/Databases/dataConnections", + "principalAssignmentName1": "principalassignment1", + "capacity": 2, + "databaseName1": null, + "principalId1": "e60fe5c8-d6a5-4dee-b382-fb4502588dd0", + "rstr6": "5gj291", + "dataConnectionName": "testdataconnectionqlp6ob", + "rstr4": "9u4t7o", + "clusterName": "testclusterqlp6ob", + "storageNamefordc": "testclients", + "skuTier": "Standard", "location": "East US", + "clusterPrincipalAssignmentResourceType": "Microsoft.Kusto/clusters/principalAssignments", "clusterNamefordc": "eventgridclienttest", + "principalAssignmentName": "KustoClientsScenarioTest", "updatedSkuName": "Standard_D12_v2", - "storageName": "storagemlhoe5", - "databasePrincipalRole": "Viewer", "databaseNamefordc": "databasetest", - "langExt2": "PYTHON", - "principalId": "713c3475-5021-4f3b-a650-eaa9a83f25a4", - "databaseName": "testdatabasemlhoe5", - "skuName": "Standard_D11_v2", "principalType": "App", - "principalId1": "e60fe5c8-d6a5-4dee-b382-fb4502588dd0", "eventhubNamefordc": "testclientseh", - "defaultPrincipalsModificationKind": "Union", - "databaseName1": null, - "dataConnectionName": "testdataconnectionmlhoe5", - "attachedDatabaseConfigurationName": "testdbconfa0obls", - "storageNamefordc": "testclients", - "capacity": 2, - "dataConnectionResourceType": "Microsoft.Kusto/Clusters/Databases/dataConnections", - "locationfordc": "Australia Central", - "followerClusterName": "testfclustera0obls", - "databaseType": "Microsoft.Kusto/Clusters/Databases", - "skuTier": "Standard", - "resourceGroupNamefordc": "test-clients-rg", - "resourceType": "Microsoft.Kusto/Clusters", - "eventhubNSNamefordc": "testclientsns", - "SubscriptionId": "11d5f159-a21d-4a6c-8053-c3aae30057cf", + "PlainClusterName": "testclusters3vznq", + "databasePrincipalAssignmentResourceType": "Microsoft.Kusto/Clusters/Databases/principalAssignments", "principalRole": "AllDatabasesViewer", - "iothubSharedAccessPolicyName": "registryRead", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "eventhubNameForEventGridfordc": "testclientseg", - "rstr4": "46xdyp", - "rstr6": "gl478b" + "eventhubNSNamefordc": "testclientsns", + "defaultPrincipalsModificationKind": "Union" } diff --git a/src/Kusto/test/utils.ps1 b/src/Kusto/test/utils.ps1 index 295637b72a5f..28d6636f2e4f 100644 --- a/src/Kusto/test/utils.ps1 +++ b/src/Kusto/test/utils.ps1 @@ -10,10 +10,11 @@ function setupEnv() { # Preload subscriptionId and tenant from context, which will be used in test # as default. You could change them if needed. $env.SubscriptionId = (Get-AzContext).Subscription.Id + Write-Host "sub id = " $env.SubscriptionId $env.Tenant = (Get-AzContext).Tenant.Id # For any resources you created for test, you should add it to $env here. # Generate some random strings for use in the test. - $rstr1 = RandomString -allChars $false -len 6 + $rstr1 = RandomString -allChars $false -len 6 $rstr2 = RandomString -allChars $false -len 6 $rstr3 = RandomString -allChars $false -len 6 # Follow random strings will be used in the test directly, so add it to $env @@ -34,7 +35,6 @@ function setupEnv() { $null = $env.Add("resourceGroupName", $resourceGroupName) New-AzResourceGroup -Name $resourceGroupName -Location $env.location - # Create Storage Account $storageName = "storage" + $rstr1 Write-Host "Start to create Storage Account" $storageName @@ -43,9 +43,11 @@ function setupEnv() { $storageParams.parameters.storageAccounts_sdkpsstorage_name.value = $storageName set-content -Path .\test\deployment-templates\storage-account\parameters.json -Value (ConvertTo-Json $storageParams) New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\storage-account\template.json -TemplateParameterFile .\test\deployment-templates\storage-account\parameters.json -Name storage -ResourceGroupName $resourceGroupName - + + $SubscriptionId = $env.SubscriptionId + Write-Host "sub id = " $SubscriptionId # Deploy cluster + database - $SubscriptionId = $env.SubscriptionId + $clusterName = "testcluster" + $rstr1 $databaseName = "testdatabase" + $rstr1 $dataConnectionName = "testdataconnection" + $rstr1 @@ -58,7 +60,7 @@ function setupEnv() { Write-Host "Start to create a database" $databaseName $softDeletePeriodInDaysUpdated = New-TimeSpan -Days 4 $hotCachePeriodInDaysUpdated = New-TimeSpan -Days 2 - New-AzKustoDatabase -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $databaseName -Kind ReadWrite -Location $env.location -SoftDeletePeriod $softDeletePeriodInDaysUpdated -HotCachePeriod $hotCachePeriodInDaysUpdated + New-AzKustoDatabase -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $databaseName -Kind ReadWrite -Location $env.location -SoftDeletePeriod $softDeletePeriodInDaysUpdated -HotCachePeriod $hotCachePeriodInDaysUpdated -Subscription $SubscriptionId # Note, for *Principal* tests, AzADApplication was created, see principalAssignmentName, principalId and principalAssignmentName1, principalId1 for details New-AzKustoClusterPrincipalAssignment -ResourceGroupName $resourceGroupName -ClusterName $clusterName -PrincipalAssignmentName $env.principalAssignmentName -PrincipalId $env.principalId -PrincipalType $env.principalType -Role $env.principalRole @@ -103,5 +105,5 @@ function setupEnv() { function cleanupEnv() { # Clean resources you create for testing # Removing resourcegroup will clean all the resources created for testing. - Remove-AzResourceGroup -Name $env.resourceGroupName + # Remove-AzResourceGroup -Name $env.resourceGroupName } From f483c761e905a0aa73b2fd417d6c7ec4e15308de Mon Sep 17 00:00:00 2001 From: Xiaogang Date: Wed, 19 May 2021 11:33:18 +0800 Subject: [PATCH 2/4] Add change log for kusto --- src/Kusto/ChangeLog.md | 1 + 1 file changed, 1 insertion(+) 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. From 2c2bf63a5a4bec601b24c8c01fa84f477a321720 Mon Sep 17 00:00:00 2001 From: Xiaogang Date: Wed, 19 May 2021 13:11:37 +0800 Subject: [PATCH 3/4] Clean en-us from kusto help (#15048) --- src/Kusto/custom/New-AzKustoDatabase.ps1 | 2 +- src/Kusto/exports/New-AzKustoDatabase.ps1 | 2 +- src/Kusto/exports/ProxyCmdletDefinitions.ps1 | 2 +- src/Kusto/help/New-AzKustoDatabase.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Kusto/custom/New-AzKustoDatabase.ps1 b/src/Kusto/custom/New-AzKustoDatabase.ps1 index 35c5791682f7..8b276c4694d0 100644 --- a/src/Kusto/custom/New-AzKustoDatabase.ps1 +++ b/src/Kusto/custom/New-AzKustoDatabase.ps1 @@ -26,7 +26,7 @@ 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.Api202101.IDatabase])] diff --git a/src/Kusto/exports/New-AzKustoDatabase.ps1 b/src/Kusto/exports/New-AzKustoDatabase.ps1 index 3d8e4f3bb16e..e5c85b45ea00 100644 --- a/src/Kusto/exports/New-AzKustoDatabase.ps1 +++ b/src/Kusto/exports/New-AzKustoDatabase.ps1 @@ -30,7 +30,7 @@ PS C:\> {{ Add code here }} .Outputs 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.Api202101.IDatabase])] diff --git a/src/Kusto/exports/ProxyCmdletDefinitions.ps1 b/src/Kusto/exports/ProxyCmdletDefinitions.ps1 index 72c5ac64686c..088818d08435 100644 --- a/src/Kusto/exports/ProxyCmdletDefinitions.ps1 +++ b/src/Kusto/exports/ProxyCmdletDefinitions.ps1 @@ -8192,7 +8192,7 @@ PS C:\> {{ Add code here }} .Outputs 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.Api202101.IDatabase])] diff --git a/src/Kusto/help/New-AzKustoDatabase.md b/src/Kusto/help/New-AzKustoDatabase.md index 4c680f3c878d..a1149ae8702a 100644 --- a/src/Kusto/help/New-AzKustoDatabase.md +++ b/src/Kusto/help/New-AzKustoDatabase.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Kusto -online version: https://docs.microsoft.com/en-us/powershell/module/az.kusto/new-azkustodatabase +online version: https://docs.microsoft.com/powershell/module/az.kusto/new-azkustodatabase schema: 2.0.0 --- From 09592619131b94c2ca010ab4c2193077d31a6d8c Mon Sep 17 00:00:00 2001 From: Xiaogang Date: Wed, 19 May 2021 14:11:03 +0800 Subject: [PATCH 4/4] Suppress breaking change warnings for kusto (#15051) --- .../Az.Kusto/BreakingChangeIssues.csv | 42 +++++++++++++++++++ .../Exceptions/Az.Kusto/SignatureIssues.csv | 9 ++++ 2 files changed, 51 insertions(+) create mode 100644 tools/StaticAnalysis/Exceptions/Az.Kusto/BreakingChangeIssues.csv diff --git a/tools/StaticAnalysis/Exceptions/Az.Kusto/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.Kusto/BreakingChangeIssues.csv new file mode 100644 index 000000000000..4ab9e1a06005 --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.Kusto/BreakingChangeIssues.csv @@ -0,0 +1,42 @@ +"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation" +"Az.Kusto","Add-AzKustoClusterLanguageExtension","Add-AzKustoClusterLanguageExtension","0","2110","The element type for parameter 'Value' has been changed from 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension' to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension'.","Change the element type for parameter 'Value' back to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension'." +"Az.Kusto","Add-AzKustoDatabasePrincipal","Add-AzKustoDatabasePrincipal","0","2110","The element type for parameter 'Value' has been changed from 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal' to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal'.","Change the element type for parameter 'Value' back to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal'." +"Az.Kusto","Get-AzKustoAttachedDatabaseConfiguration","Get-AzKustoAttachedDatabaseConfiguration","0","1020","The cmdlet 'Get-AzKustoAttachedDatabaseConfiguration' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration'.","Make cmdlet 'Get-AzKustoAttachedDatabaseConfiguration' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration'." +"Az.Kusto","Get-AzKustoCluster","Get-AzKustoCluster","0","1020","The cmdlet 'Get-AzKustoCluster' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster'.","Make cmdlet 'Get-AzKustoCluster' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster'." +"Az.Kusto","Get-AzKustoClusterPrincipalAssignment","Get-AzKustoClusterPrincipalAssignment","0","1020","The cmdlet 'Get-AzKustoClusterPrincipalAssignment' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment'.","Make cmdlet 'Get-AzKustoClusterPrincipalAssignment' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment'." +"Az.Kusto","Get-AzKustoClusterSku","Get-AzKustoClusterSku","0","1020","The cmdlet 'Get-AzKustoClusterSku' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku'.","Make cmdlet 'Get-AzKustoClusterSku' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku'." +"Az.Kusto","Get-AzKustoDatabasePrincipalAssignment","Get-AzKustoDatabasePrincipalAssignment","0","1020","The cmdlet 'Get-AzKustoDatabasePrincipalAssignment' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment'.","Make cmdlet 'Get-AzKustoDatabasePrincipalAssignment' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment'." +"Az.Kusto","Get-AzKustoDataConnection","Get-AzKustoDataConnection","0","1020","The cmdlet 'Get-AzKustoDataConnection' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection'.","Make cmdlet 'Get-AzKustoDataConnection' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection'." +"Az.Kusto","New-AzKustoAttachedDatabaseConfiguration","New-AzKustoAttachedDatabaseConfiguration","0","1020","The cmdlet 'New-AzKustoAttachedDatabaseConfiguration' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration'.","Make cmdlet 'New-AzKustoAttachedDatabaseConfiguration' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration'." +"Az.Kusto","New-AzKustoCluster","New-AzKustoCluster","0","1020","The cmdlet 'New-AzKustoCluster' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster'.","Make cmdlet 'New-AzKustoCluster' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster'." +"Az.Kusto","New-AzKustoCluster","New-AzKustoCluster","0","2000","The cmdlet 'New-AzKustoCluster' no longer supports the parameter 'LanguageExtensionValue' and no alias was found for the original parameter name.","Add the parameter 'LanguageExtensionValue' back to the cmdlet 'New-AzKustoCluster', or add an alias to the original parameter name." +"Az.Kusto","New-AzKustoCluster","New-AzKustoCluster","0","2110","The element type for parameter 'TrustedExternalTenant' has been changed from 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant' to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant'.","Change the element type for parameter 'TrustedExternalTenant' back to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant'." +"Az.Kusto","New-AzKustoCluster","New-AzKustoCluster","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzKustoCluster' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzKustoCluster'." +"Az.Kusto","New-AzKustoClusterPrincipalAssignment","New-AzKustoClusterPrincipalAssignment","0","1020","The cmdlet 'New-AzKustoClusterPrincipalAssignment' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment'.","Make cmdlet 'New-AzKustoClusterPrincipalAssignment' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment'." +"Az.Kusto","New-AzKustoDatabasePrincipalAssignment","New-AzKustoDatabasePrincipalAssignment","0","1020","The cmdlet 'New-AzKustoDatabasePrincipalAssignment' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment'.","Make cmdlet 'New-AzKustoDatabasePrincipalAssignment' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment'." +"Az.Kusto","New-AzKustoDataConnection","New-AzKustoDataConnection","0","1020","The cmdlet 'New-AzKustoDataConnection' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection'.","Make cmdlet 'New-AzKustoDataConnection' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection'." +"Az.Kusto","Remove-AzKustoClusterLanguageExtension","Remove-AzKustoClusterLanguageExtension","0","2110","The element type for parameter 'Value' has been changed from 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension' to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension'.","Change the element type for parameter 'Value' back to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension'." +"Az.Kusto","Remove-AzKustoDatabasePrincipal","Remove-AzKustoDatabasePrincipal","0","2110","The element type for parameter 'Value' has been changed from 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal' to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal'.","Change the element type for parameter 'Value' back to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal'." +"Az.Kusto","Test-AzKustoClusterNameAvailability","Test-AzKustoClusterNameAvailability","0","2000","The cmdlet 'Test-AzKustoClusterNameAvailability' no longer supports the parameter 'Type' and no alias was found for the original parameter name.","Add the parameter 'Type' back to the cmdlet 'Test-AzKustoClusterNameAvailability', or add an alias to the original parameter name." +"Az.Kusto","Test-AzKustoClusterNameAvailability","Test-AzKustoClusterNameAvailability","0","1050","The parameter set 'CheckExpanded' for cmdlet 'Test-AzKustoClusterNameAvailability' has been removed.","Add parameter set 'CheckExpanded' back to cmdlet 'Test-AzKustoClusterNameAvailability'." +"Az.Kusto","Test-AzKustoClusterNameAvailability","Test-AzKustoClusterNameAvailability","0","1050","The parameter set 'CheckViaIdentityExpanded' for cmdlet 'Test-AzKustoClusterNameAvailability' has been removed.","Add parameter set 'CheckViaIdentityExpanded' back to cmdlet 'Test-AzKustoClusterNameAvailability'." +"Az.Kusto","Test-AzKustoClusterNameAvailability","Test-AzKustoClusterNameAvailability","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Test-AzKustoClusterNameAvailability' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Test-AzKustoClusterNameAvailability'." +"Az.Kusto","Test-AzKustoClusterPrincipalAssignmentNameAvailability","Test-AzKustoClusterPrincipalAssignmentNameAvailability","0","2000","The cmdlet 'Test-AzKustoClusterPrincipalAssignmentNameAvailability' no longer supports the parameter 'Type' and no alias was found for the original parameter name.","Add the parameter 'Type' back to the cmdlet 'Test-AzKustoClusterPrincipalAssignmentNameAvailability', or add an alias to the original parameter name." +"Az.Kusto","Test-AzKustoClusterPrincipalAssignmentNameAvailability","Test-AzKustoClusterPrincipalAssignmentNameAvailability","0","1050","The parameter set 'CheckExpanded' for cmdlet 'Test-AzKustoClusterPrincipalAssignmentNameAvailability' has been removed.","Add parameter set 'CheckExpanded' back to cmdlet 'Test-AzKustoClusterPrincipalAssignmentNameAvailability'." +"Az.Kusto","Test-AzKustoClusterPrincipalAssignmentNameAvailability","Test-AzKustoClusterPrincipalAssignmentNameAvailability","0","1050","The parameter set 'CheckViaIdentityExpanded' for cmdlet 'Test-AzKustoClusterPrincipalAssignmentNameAvailability' has been removed.","Add parameter set 'CheckViaIdentityExpanded' back to cmdlet 'Test-AzKustoClusterPrincipalAssignmentNameAvailability'." +"Az.Kusto","Test-AzKustoClusterPrincipalAssignmentNameAvailability","Test-AzKustoClusterPrincipalAssignmentNameAvailability","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Test-AzKustoClusterPrincipalAssignmentNameAvailability' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Test-AzKustoClusterPrincipalAssignmentNameAvailability'." +"Az.Kusto","Test-AzKustoDatabasePrincipalAssignmentNameAvailability","Test-AzKustoDatabasePrincipalAssignmentNameAvailability","0","2000","The cmdlet 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability' no longer supports the parameter 'Type' and no alias was found for the original parameter name.","Add the parameter 'Type' back to the cmdlet 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability', or add an alias to the original parameter name." +"Az.Kusto","Test-AzKustoDatabasePrincipalAssignmentNameAvailability","Test-AzKustoDatabasePrincipalAssignmentNameAvailability","0","1050","The parameter set 'CheckExpanded' for cmdlet 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability' has been removed.","Add parameter set 'CheckExpanded' back to cmdlet 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability'." +"Az.Kusto","Test-AzKustoDatabasePrincipalAssignmentNameAvailability","Test-AzKustoDatabasePrincipalAssignmentNameAvailability","0","1050","The parameter set 'CheckViaIdentityExpanded' for cmdlet 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability' has been removed.","Add parameter set 'CheckViaIdentityExpanded' back to cmdlet 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability'." +"Az.Kusto","Test-AzKustoDatabasePrincipalAssignmentNameAvailability","Test-AzKustoDatabasePrincipalAssignmentNameAvailability","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Test-AzKustoDatabasePrincipalAssignmentNameAvailability'." +"Az.Kusto","Test-AzKustoDataConnectionNameAvailability","Test-AzKustoDataConnectionNameAvailability","0","2000","The cmdlet 'Test-AzKustoDataConnectionNameAvailability' no longer supports the parameter 'Type' and no alias was found for the original parameter name.","Add the parameter 'Type' back to the cmdlet 'Test-AzKustoDataConnectionNameAvailability', or add an alias to the original parameter name." +"Az.Kusto","Test-AzKustoDataConnectionNameAvailability","Test-AzKustoDataConnectionNameAvailability","0","1050","The parameter set 'CheckExpanded' for cmdlet 'Test-AzKustoDataConnectionNameAvailability' has been removed.","Add parameter set 'CheckExpanded' back to cmdlet 'Test-AzKustoDataConnectionNameAvailability'." +"Az.Kusto","Test-AzKustoDataConnectionNameAvailability","Test-AzKustoDataConnectionNameAvailability","0","1050","The parameter set 'CheckViaIdentityExpanded' for cmdlet 'Test-AzKustoDataConnectionNameAvailability' has been removed.","Add parameter set 'CheckViaIdentityExpanded' back to cmdlet 'Test-AzKustoDataConnectionNameAvailability'." +"Az.Kusto","Test-AzKustoDataConnectionNameAvailability","Test-AzKustoDataConnectionNameAvailability","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Test-AzKustoDataConnectionNameAvailability' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Test-AzKustoDataConnectionNameAvailability'." +"Az.Kusto","Update-AzKustoCluster","Update-AzKustoCluster","0","1020","The cmdlet 'Update-AzKustoCluster' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster'.","Make cmdlet 'Update-AzKustoCluster' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster'." +"Az.Kusto","Update-AzKustoCluster","Update-AzKustoCluster","0","2000","The cmdlet 'Update-AzKustoCluster' no longer supports the parameter 'LanguageExtensionValue' and no alias was found for the original parameter name.","Add the parameter 'LanguageExtensionValue' back to the cmdlet 'Update-AzKustoCluster', or add an alias to the original parameter name." +"Az.Kusto","Update-AzKustoCluster","Update-AzKustoCluster","0","2110","The element type for parameter 'TrustedExternalTenant' has been changed from 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant' to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant'.","Change the element type for parameter 'TrustedExternalTenant' back to 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant'." +"Az.Kusto","Update-AzKustoCluster","Update-AzKustoCluster","0","1050","The parameter set 'UpdateExpanded' for cmdlet 'Update-AzKustoCluster' has been removed.","Add parameter set 'UpdateExpanded' back to cmdlet 'Update-AzKustoCluster'." +"Az.Kusto","Update-AzKustoCluster","Update-AzKustoCluster","0","1050","The parameter set 'UpdateViaIdentityExpanded' for cmdlet 'Update-AzKustoCluster' has been removed.","Add parameter set 'UpdateViaIdentityExpanded' back to cmdlet 'Update-AzKustoCluster'." +"Az.Kusto","Update-AzKustoCluster","Update-AzKustoCluster","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Update-AzKustoCluster' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Update-AzKustoCluster'." +"Az.Kusto","Update-AzKustoDataConnection","Update-AzKustoDataConnection","0","1020","The cmdlet 'Update-AzKustoDataConnection' no longer has output type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection'.","Make cmdlet 'Update-AzKustoDataConnection' return type 'Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection'." \ No newline at end of file diff --git a/tools/StaticAnalysis/Exceptions/Az.Kusto/SignatureIssues.csv b/tools/StaticAnalysis/Exceptions/Az.Kusto/SignatureIssues.csv index 180c44794ae6..ef86251cd6e0 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Kusto/SignatureIssues.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Kusto/SignatureIssues.csv @@ -62,3 +62,12 @@ "Az.Kusto","Update-AzKustoDatabase","Update-AzKustoDatabase","1","8410","Parameter ProxyUseDefaultCredentials of cmdlet Update-AzKustoDatabase does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." "Az.Kusto","Update-AzKustoDataConnection","Update-AzKustoDataConnection","1","8100","Update-AzKustoDataConnection Does not support ShouldProcess but the cmdlet verb Update indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" "Az.Kusto","Update-AzKustoDataConnection","Update-AzKustoDataConnection","1","8410","Parameter ProxyUseDefaultCredentials of cmdlet Update-AzKustoDataConnection does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." +"Az.Kusto","Get-AzKustoOperationsResult","Get-AzKustoOperationsResult","1","8410","Parameter ProxyUseDefaultCredentials of cmdlet Get-AzKustoOperationsResult does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." +"Az.Kusto","Get-AzKustoScript","Get-AzKustoScript","1","8410","Parameter ProxyUseDefaultCredentials of cmdlet Get-AzKustoScript does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." +"Az.Kusto","New-AzKustoScript","New-AzKustoScript","1","8100","New-AzKustoScript Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Az.Kusto","New-AzKustoScript","New-AzKustoScript","1","8410","Parameter ProxyUseDefaultCredentials of cmdlet New-AzKustoScript does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." +"Az.Kusto","Remove-AzKustoScript","Remove-AzKustoScript","1","8100","Remove-AzKustoScript Does not support ShouldProcess but the cmdlet verb Remove indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Az.Kusto","Remove-AzKustoScript","Remove-AzKustoScript","1","8410","Parameter ProxyUseDefaultCredentials of cmdlet Remove-AzKustoScript does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." +"Az.Kusto","Test-AzKustoScriptNameAvailability","Test-AzKustoScriptNameAvailability","1","8410","Parameter ProxyUseDefaultCredentials of cmdlet Test-AzKustoScriptNameAvailability does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." +"Az.Kusto","Update-AzKustoScript","Update-AzKustoScript","1","8100","Update-AzKustoScript Does not support ShouldProcess but the cmdlet verb Update indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Az.Kusto","Update-AzKustoScript","Update-AzKustoScript","1","8410","Parameter ProxyUseDefaultCredentials of cmdlet Update-AzKustoScript does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." \ No newline at end of file