diff --git a/src/kusto/azext_kusto/generated/_help.py b/src/kusto/azext_kusto/generated/_help.py index d1e784f9643..38f7685a10c 100644 --- a/src/kusto/azext_kusto/generated/_help.py +++ b/src/kusto/azext_kusto/generated/_help.py @@ -32,7 +32,7 @@ examples: - name: KustoClustersGet text: |- - az kusto cluster show --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" + az kusto cluster show --name "kustoclusterrptest4" --resource-group "kustorptest" """ helps['kusto cluster create'] = """ @@ -83,7 +83,7 @@ examples: - name: KustoClustersCreateOrUpdate text: |- - az kusto cluster create --cluster-name "kustoclusterrptest4" --identity-type "SystemAssigned" --location "westus\ + az kusto cluster create --name "kustoclusterrptest4" --identity-type "SystemAssigned" --location "westus\ " --enable-double-encryption false --enable-purge true --enable-streaming-ingest true --sku name="Standard_L8s" capacit\ y=2 tier="Standard" --resource-group "kustorptest" """ @@ -136,7 +136,7 @@ examples: - name: KustoClustersUpdate text: |- - az kusto cluster update --cluster-name "kustoclusterrptest4" --identity-type "SystemAssigned" --location "westus\ + az kusto cluster update --name "kustoclusterrptest4" --identity-type "SystemAssigned" --location "westus\ " --enable-purge true --enable-streaming-ingest true --key-vault-properties key-name="keyName" key-vault-uri="https://d\ ummy.keyvault.com" key-version="keyVersion" --resource-group "kustorptest" """ @@ -147,7 +147,7 @@ examples: - name: KustoClustersDelete text: |- - az kusto cluster delete --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" + az kusto cluster delete --name "kustoclusterrptest4" --resource-group "kustorptest" """ helps['kusto cluster add-language-extension'] = """ @@ -165,7 +165,7 @@ examples: - name: KustoClusterAddLanguageExtensions text: |- - az kusto cluster add-language-extension --cluster-name "kustoclusterrptest4" --value language-extension-name="PY\ + az kusto cluster add-language-extension --name "kustoclusterrptest4" --value language-extension-name="PY\ THON" --value language-extension-name="R" --resource-group "kustorptest" """ @@ -175,7 +175,7 @@ examples: - name: KustoClusterDetachFollowerDatabases text: |- - az kusto cluster detach-follower-database --cluster-name "kustoclusterrptest4" --attached-database-configuration\ + az kusto cluster detach-follower-database --name "kustoclusterrptest4" --attached-database-configuration\ -name "myAttachedDatabaseConfiguration" --cluster-resource-id "/subscriptions/12345678-1234-1234-1234-123456789098/reso\ urceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4" --resource-group "kustorptest" """ @@ -186,7 +186,7 @@ examples: - name: KustoClusterDiagnoseVirtualNetwork text: |- - az kusto cluster diagnose-virtual-network --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" + az kusto cluster diagnose-virtual-network --name "kustoclusterrptest4" --resource-group "kustorptest" """ helps['kusto cluster list-follower-database'] = """ @@ -195,7 +195,7 @@ examples: - name: KustoClusterListFollowerDatabases text: |- - az kusto cluster list-follower-database --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" + az kusto cluster list-follower-database --name "kustoclusterrptest4" --resource-group "kustorptest" """ helps['kusto cluster list-language-extension'] = """ @@ -204,7 +204,7 @@ examples: - name: KustoClusterListLanguageExtensions text: |- - az kusto cluster list-language-extension --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" + az kusto cluster list-language-extension --name "kustoclusterrptest4" --resource-group "kustorptest" """ helps['kusto cluster list-sku'] = """ @@ -213,7 +213,7 @@ examples: - name: KustoClustersListResourceSkus text: |- - az kusto cluster list-sku --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" + az kusto cluster list-sku --name "kustoclusterrptest4" --resource-group "kustorptest" """ helps['kusto cluster remove-language-extension'] = """ @@ -231,7 +231,7 @@ examples: - name: KustoClusterRemoveLanguageExtensions text: |- - az kusto cluster remove-language-extension --cluster-name "kustoclusterrptest4" --value language-extension-name=\ + az kusto cluster remove-language-extension --name "kustoclusterrptest4" --value language-extension-name=\ "PYTHON" --value language-extension-name="R" --resource-group "kustorptest" """ @@ -241,7 +241,7 @@ examples: - name: KustoClustersStart text: |- - az kusto cluster start --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" + az kusto cluster start --name "kustoclusterrptest4" --resource-group "kustorptest" """ helps['kusto cluster stop'] = """ @@ -250,7 +250,7 @@ examples: - name: KustoClustersStop text: |- - az kusto cluster stop --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" + az kusto cluster stop --name "kustoclusterrptest4" --resource-group "kustorptest" """ helps['kusto cluster wait'] = """ @@ -259,13 +259,13 @@ examples: - name: Pause executing next line of CLI script until the kusto cluster is successfully created. text: |- - az kusto cluster wait --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" --created + az kusto cluster wait --name "kustoclusterrptest4" --resource-group "kustorptest" --created - name: Pause executing next line of CLI script until the kusto cluster is successfully updated. text: |- - az kusto cluster wait --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" --updated + az kusto cluster wait --name "kustoclusterrptest4" --resource-group "kustorptest" --updated - name: Pause executing next line of CLI script until the kusto cluster is successfully deleted. text: |- - az kusto cluster wait --cluster-name "kustoclusterrptest4" --resource-group "kustorptest" --deleted + az kusto cluster wait --name "kustoclusterrptest4" --resource-group "kustorptest" --deleted """ helps['kusto cluster-principal-assignment'] = """ @@ -368,21 +368,59 @@ helps['kusto database create'] = """ type: command short-summary: Creates or updates a database. + parameters: + - name: --read-write-database + short-summary: Class representing a read write database. + long-summary: | + Usage: --read-write-database soft-delete-period=XX hot-cache-period=XX location=XX kind=XX + + soft-delete-period: The time the data should be kept before it stops being accessible to queries in TimeSpa\ +n. + hot-cache-period: The time the data should be kept in cache for fast queries in TimeSpan. + location: Resource location. + kind: Required. Kind of the database + - name: --read-only-following-database + short-summary: Class representing a read only following database. + long-summary: | + Usage: --read-only-following-database hot-cache-period=XX location=XX kind=XX + + hot-cache-period: The time the data should be kept in cache for fast queries in TimeSpan. + location: Resource location. + kind: Required. Kind of the database examples: - name: KustoDatabasesCreateOrUpdate text: |- - az kusto database create --cluster-name "KustoClusterRPTest4" --database-name "KustoDatabase8" --read-wr\ + az kusto database create --cluster-name "kustoclusterrptest4" --database-name "KustoDatabase8" --read-wr\ ite-database location="westus" soft-delete-period="P1D" --resource-group "kustorptest" """ helps['kusto database update'] = """ type: command short-summary: Updates a database. + parameters: + - name: --read-write-database + short-summary: Class representing a read write database. + long-summary: | + Usage: --read-write-database soft-delete-period=XX hot-cache-period=XX location=XX kind=XX + + soft-delete-period: The time the data should be kept before it stops being accessible to queries in TimeSpa\ +n. + hot-cache-period: The time the data should be kept in cache for fast queries in TimeSpan. + location: Resource location. + kind: Required. Kind of the database + - name: --read-only-following-database + short-summary: Class representing a read only following database. + long-summary: | + Usage: --read-only-following-database hot-cache-period=XX location=XX kind=XX + + hot-cache-period: The time the data should be kept in cache for fast queries in TimeSpan. + location: Resource location. + kind: Required. Kind of the database examples: - name: KustoDatabasesUpdate text: |- - az kusto database update --cluster-name "KustoClusterRPTest4" --database-name "KustoDatabase8" --read-wr\ -ite-database soft-delete-period="P1D" --resource-group "kustorptest" + az kusto database update --cluster-name "kustoclusterrptest4" --database-name "KustoDatabase8" --paramet\ +ers "{\\"properties\\":{\\"softDeletePeriod\\":\\"P1D\\"}}" --resource-group "kustorptest" """ helps['kusto database delete'] = """ @@ -572,7 +610,7 @@ examples: - name: AttachedDatabaseConfigurationsGet text: |- - az kusto attached-database-configuration show --attached-database-configuration-name "attachedDatabaseConfigurations1" --cluster-name "k\ + az kusto attached-database-configuration show --name "attachedDatabaseConfigurations1" --cluster-name "k\ ustoclusterrptest4" --resource-group "kustorptest" """ @@ -582,7 +620,7 @@ examples: - name: AttachedDatabaseConfigurationsCreateOrUpdate text: |- - az kusto attached-database-configuration create --attached-database-configuration-name "attachedDatabaseConfigurations1" --cluster-name \ + az kusto attached-database-configuration create --name "attachedDatabaseConfigurations1" --cluster-name \ "kustoclusterrptest4" --location "westus" --cluster-resource-id "/subscriptions/12345678-1234-1234-1234-123456789098/re\ sourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader" --database-name "kustodatabase" --defau\ lt-principals-modification-kind "Union" --resource-group "kustorptest" @@ -594,7 +632,7 @@ examples: - name: AttachedDatabaseConfigurationsCreateOrUpdate text: |- - az kusto attached-database-configuration update --attached-database-configuration-name "attachedDatabaseConfigurations1" --cluster-name \ + az kusto attached-database-configuration update --name "attachedDatabaseConfigurations1" --cluster-name \ "kustoclusterrptest4" --location "westus" --cluster-resource-id "/subscriptions/12345678-1234-1234-1234-123456789098/re\ sourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader" --database-name "kustodatabase" --defau\ lt-principals-modification-kind "Union" --resource-group "kustorptest" @@ -606,7 +644,7 @@ examples: - name: AttachedDatabaseConfigurationsDelete text: |- - az kusto attached-database-configuration delete --attached-database-configuration-name "attachedDatabaseConfigurations1" --cluster-name \ + az kusto attached-database-configuration delete --name "attachedDatabaseConfigurations1" --cluster-name \ "kustoclusterrptest4" --resource-group "kustorptest" """ @@ -618,12 +656,12 @@ - name: Pause executing next line of CLI script until the kusto attached-database-configuration is successfully c\ reated. text: |- - az kusto attached-database-configuration wait --attached-database-configuration-name "attachedDatabaseConfigurations1" --cluster-name "k\ + az kusto attached-database-configuration wait --name "attachedDatabaseConfigurations1" --cluster-name "k\ ustoclusterrptest4" --resource-group "kustorptest" --created - name: Pause executing next line of CLI script until the kusto attached-database-configuration is successfully d\ eleted. text: |- - az kusto attached-database-configuration wait --attached-database-configuration-name "attachedDatabaseConfigurations1" --cluster-name "k\ + az kusto attached-database-configuration wait --name "attachedDatabaseConfigurations1" --cluster-name "k\ ustoclusterrptest4" --resource-group "kustorptest" --deleted """ @@ -648,7 +686,7 @@ examples: - name: KustoDataConnectionsGet text: |- - az kusto data-connection show --cluster-name "kustoclusterrptest4" --data-connection-name "DataConnections8" --database-\ + az kusto data-connection show --cluster-name "kustoclusterrptest4" --name "DataConnections8" --database-\ name "KustoDatabase8" --resource-group "kustorptest" """ @@ -673,7 +711,7 @@ examples: - name: KustoDataConnectionsCreateOrUpdate text: |- - az kusto data-connection event-hub create --cluster-name "kustoclusterrptest4" --data-connection-name "DataConnections8"\ + az kusto data-connection event-hub create --cluster-name "kustoclusterrptest4" --name "DataConnections8"\ --database-name "KustoDatabase8" --location "westus" --consumer-group "testConsumerGroup1" --event-hub-resource-id "/s\ ubscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/ev\ enthubTestns1/eventhubs/eventhubTest1" --resource-group "kustorptest" @@ -700,7 +738,7 @@ examples: - name: KustoDataConnectionsUpdate text: |- - az kusto data-connection event-hub update --cluster-name "kustoclusterrptest4" --data-connection-name "DataConnections8"\ + az kusto data-connection event-hub update --cluster-name "kustoclusterrptest4" --name "DataConnections8"\ --database-name "KustoDatabase8" --location "westus" --consumer-group "testConsumerGroup1" --event-hub-resource-id "/s\ ubscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/ev\ enthubTestns1/eventhubs/eventhubTest1" --resource-group "kustorptest" @@ -717,7 +755,7 @@ examples: - name: KustoDataConnectionsDelete text: |- - az kusto data-connection delete --cluster-name "kustoclusterrptest4" --data-connection-name "kustoeventhubconnection1" -\ + az kusto data-connection delete --cluster-name "kustoclusterrptest4" --name "kustoeventhubconnection1" -\ -database-name "KustoDatabase8" --resource-group "kustorptest" """ @@ -733,7 +771,7 @@ - name: KustoDataConnectionValidation text: |- az kusto data-connection event-hub data-connection-validation --cluster-name "kustoclusterrptest4" --dat\ -abase-name "KustoDatabase8" --data-connection-name "DataConnections8" --consumer-group "testConsumerGroup1" --event-hub-resource-id "/s\ +abase-name "KustoDatabase8" --name "DataConnections8" --consumer-group "testConsumerGroup1" --event-hub-resource-id "/s\ ubscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/ev\ enthubTestns1/eventhubs/eventhubTest1" --resource-group "kustorptest" """ @@ -749,10 +787,10 @@ examples: - name: Pause executing next line of CLI script until the kusto data-connection is successfully created. text: |- - az kusto data-connection wait --cluster-name "kustoclusterrptest4" --data-connection-name "DataConnections8" --database-\ + az kusto data-connection wait --cluster-name "kustoclusterrptest4" --name "DataConnections8" --database-\ name "KustoDatabase8" --resource-group "kustorptest" --created - name: Pause executing next line of CLI script until the kusto data-connection is successfully deleted. text: |- - az kusto data-connection wait --cluster-name "kustoclusterrptest4" --data-connection-name "DataConnections8" --database-\ + az kusto data-connection wait --cluster-name "kustoclusterrptest4" --name "DataConnections8" --database-\ name "KustoDatabase8" --resource-group "kustorptest" --deleted """ diff --git a/src/kusto/azext_kusto/generated/_params.py b/src/kusto/azext_kusto/generated/_params.py index 3b70e5a28ad..727a5d7107b 100644 --- a/src/kusto/azext_kusto/generated/_params.py +++ b/src/kusto/azext_kusto/generated/_params.py @@ -39,12 +39,12 @@ def load_arguments(self, _): with self.argument_context('kusto cluster show') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.', + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.', id_part='name') with self.argument_context('kusto cluster create') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.') + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.') c.argument('tags', tags_type) c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) @@ -67,11 +67,15 @@ def load_arguments(self, _): c.argument('enable_double_encryption', arg_type=get_three_state_flag(), help='A boolean value that indicates if' ' double encryption is enabled.') c.argument('identity_type', arg_type=get_enum_type(['None', 'SystemAssigned']), help='The identity type.') - c.argument('identity_user_assigned_identities', arg_type=CLIArgumentType(options_list=['--identity-user-assigne''d-identities'], help='The list of user identities associated with the Kusto cluster. The user ident''ity dictionary key references will be ARM resource ids in the form: \'/subscriptions/{subscriptionI''d}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{i''dentityName}\'. Expected value: json-string/@json-file.')) + c.argument('identity_user_assigned_identities', arg_type=CLIArgumentType(options_list=['--identity-user-assigne' + 'd-identities'], help='The list of user identities associated with the Kusto cluster. The user ident' + 'ity dictionary key references will be ARM resource ids in the form: \'/subscriptions/{subscriptionI' + 'd}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{i' + 'dentityName}\'. Expected value: json-string/@json-file.')) with self.argument_context('kusto cluster update') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.', + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.', id_part='name') c.argument('tags', tags_type) c.argument('location', arg_type=get_location_type(self.cli_ctx), @@ -94,22 +98,26 @@ def load_arguments(self, _): c.argument('enable_double_encryption', arg_type=get_three_state_flag(), help='A boolean value that indicates if' ' double encryption is enabled.') c.argument('identity_type', arg_type=get_enum_type(['None', 'SystemAssigned']), help='The identity type.') - c.argument('identity_user_assigned_identities', arg_type=CLIArgumentType(options_list=['--identity-user-assigne''d-identities'], help='The list of user identities associated with the Kusto cluster. The user ident''ity dictionary key references will be ARM resource ids in the form: \'/subscriptions/{subscriptionI''d}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{i''dentityName}\'. Expected value: json-string/@json-file.')) + c.argument('identity_user_assigned_identities', arg_type=CLIArgumentType(options_list=['--identity-user-assigne' + 'd-identities'], help='The list of user identities associated with the Kusto cluster. The user ident' + 'ity dictionary key references will be ARM resource ids in the form: \'/subscriptions/{subscriptionI' + 'd}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{i' + 'dentityName}\'. Expected value: json-string/@json-file.')) with self.argument_context('kusto cluster delete') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.', + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.', id_part='name') with self.argument_context('kusto cluster add-language-extension') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.', + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.', id_part='name') c.argument('value', action=AddClustersValue, nargs='+', help='The list of language extensions.') with self.argument_context('kusto cluster detach-follower-database') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.', + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.', id_part='name') c.argument('cluster_resource_id', help='Resource id of the cluster that follows a database owned by this cluste' 'r.') @@ -118,40 +126,40 @@ def load_arguments(self, _): with self.argument_context('kusto cluster diagnose-virtual-network') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.', + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.', id_part='name') with self.argument_context('kusto cluster list-follower-database') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.') + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.') with self.argument_context('kusto cluster list-language-extension') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.') + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.') with self.argument_context('kusto cluster list-sku') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.') + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.') with self.argument_context('kusto cluster remove-language-extension') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.', + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.', id_part='name') c.argument('value', action=AddClustersValue, nargs='+', help='The list of language extensions.') with self.argument_context('kusto cluster start') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.', + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.', id_part='name') with self.argument_context('kusto cluster stop') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.', + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.', id_part='name') with self.argument_context('kusto cluster wait') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.', + c.argument('cluster_name', options_list=['--name', '-n'], help='The name of the Kusto cluster.', id_part='name') with self.argument_context('kusto cluster-principal-assignment list') as c: @@ -311,13 +319,13 @@ def load_arguments(self, _): with self.argument_context('kusto attached-database-configuration show') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') - c.argument('attached_database_configuration_name', help='The name of the attache' + c.argument('attached_database_configuration_name', options_list=['--name', '-n'], help='The name of the attache' 'd database configuration.', id_part='child_name_1') with self.argument_context('kusto attached-database-configuration create') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.') - c.argument('attached_database_configuration_name', help='The name of the attache' + c.argument('attached_database_configuration_name', options_list=['--name', '-n'], help='The name of the attache' 'd database configuration.') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) @@ -325,30 +333,33 @@ def load_arguments(self, _): ' follow all current and future databases.') c.argument('cluster_resource_id', help='The resource id of the cluster where the databases you would like to at' 'tach reside.') - c.argument('default_principals_modification_kind', arg_type=get_enum_type(['Union', 'Replace', 'None']), help='The default principals modification kind') + c.argument('default_principals_modification_kind', arg_type=get_enum_type(['Union', 'Replace', 'None']), help= + 'The default principals modification kind') with self.argument_context('kusto attached-database-configuration update') as c: c.argument('resource_group_name', resource_group_name_type) - c.argument('cluster_name', help='The name of the Kusto cluster.') - c.argument('attached_database_configuration_name', help='The name of the attached database configuration.') + c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') + c.argument('attached_database_configuration_name', options_list=['--name', '-n'], help='The name of the attache' + 'd database configuration.', id_part='child_name_1') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) c.argument('database_name', help='The name of the database which you would like to attach, use * if you want to' ' follow all current and future databases.') c.argument('cluster_resource_id', help='The resource id of the cluster where the databases you would like to at' 'tach reside.') - c.argument('default_principals_modification_kind', arg_type=get_enum_type(['Union', 'Replace', 'None']), help='The default principals modification kind') + c.argument('default_principals_modification_kind', arg_type=get_enum_type(['Union', 'Replace', 'None']), help= + 'The default principals modification kind') with self.argument_context('kusto attached-database-configuration delete') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') - c.argument('attached_database_configuration_name', help='The name of the attache' + c.argument('attached_database_configuration_name', options_list=['--name', '-n'], help='The name of the attache' 'd database configuration.', id_part='child_name_1') with self.argument_context('kusto attached-database-configuration wait') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') - c.argument('attached_database_configuration_name', help='The name of the attache' + c.argument('attached_database_configuration_name', options_list=['--name', '-n'], help='The name of the attache' 'd database configuration.', id_part='child_name_1') with self.argument_context('kusto data-connection list') as c: @@ -360,14 +371,14 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') c.argument('database_name', help='The name of the database in the Kusto cluster.', id_part='child_name_1') - c.argument('data_connection_name', help='The name of the data connection.', + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.', id_part='child_name_2') with self.argument_context('kusto data-connection event-grid create') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.') c.argument('database_name', help='The name of the database in the Kusto cluster.') - c.argument('data_connection_name', help='The name of the data connection.') + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) c.argument('storage_account_resource_id', @@ -390,7 +401,7 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.') c.argument('database_name', help='The name of the database in the Kusto cluster.') - c.argument('data_connection_name', help='The name of the data connection.') + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) c.argument('event_hub_resource_id', help='The resource ID of the event hub to be used to create a data connecti' @@ -411,7 +422,7 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.') c.argument('database_name', help='The name of the database in the Kusto cluster.') - c.argument('data_connection_name', help='The name of the data connection.') + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) c.argument('iot_hub_resource_id', @@ -431,7 +442,7 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') c.argument('database_name', help='The name of the database in the Kusto cluster.', id_part='child_name_1') - c.argument('data_connection_name', help='The name of the data connection.', + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.', id_part='child_name_2') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) @@ -455,7 +466,7 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') c.argument('database_name', help='The name of the database in the Kusto cluster.', id_part='child_name_1') - c.argument('data_connection_name', help='The name of the data connection.', + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.', id_part='child_name_2') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) @@ -477,7 +488,7 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') c.argument('database_name', help='The name of the database in the Kusto cluster.', id_part='child_name_1') - c.argument('data_connection_name', help='The name of the data connection.', + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.', id_part='child_name_2') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) @@ -498,14 +509,14 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') c.argument('database_name', help='The name of the database in the Kusto cluster.', id_part='child_name_1') - c.argument('data_connection_name', help='The name of the data connection.', + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.', id_part='child_name_2') with self.argument_context('kusto data-connection event-grid data-connection-validation') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') c.argument('database_name', help='The name of the database in the Kusto cluster.', id_part='child_name_1') - c.argument('data_connection_name', help='The name of the data connection.') + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) c.argument('storage_account_resource_id', @@ -528,7 +539,7 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') c.argument('database_name', help='The name of the database in the Kusto cluster.', id_part='child_name_1') - c.argument('data_connection_name', help='The name of the data connection.') + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) c.argument('event_hub_resource_id', help='The resource ID of the event hub to be used to create a data connecti' @@ -549,7 +560,7 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') c.argument('database_name', help='The name of the database in the Kusto cluster.', id_part='child_name_1') - c.argument('data_connection_name', help='The name of the data connection.') + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.') c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) c.argument('iot_hub_resource_id', @@ -569,5 +580,5 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('cluster_name', help='The name of the Kusto cluster.', id_part='name') c.argument('database_name', help='The name of the database in the Kusto cluster.', id_part='child_name_1') - c.argument('data_connection_name', help='The name of the data connection.', + c.argument('data_connection_name', options_list=['--name', '-n'], help='The name of the data connection.', id_part='child_name_2') diff --git a/src/kusto/azext_kusto/generated/custom.py b/src/kusto/azext_kusto/generated/custom.py index 0ed65217ee7..64f9833e85a 100644 --- a/src/kusto/azext_kusto/generated/custom.py +++ b/src/kusto/azext_kusto/generated/custom.py @@ -46,11 +46,11 @@ def kusto_cluster_create(client, identity_type=None, identity_user_assigned_identities=None, no_wait=False): - if enable_streaming_ingest is None: + if enable_streaming_ingest == None: enable_streaming_ingest = False - if enable_purge is None: + if enable_purge == None: enable_purge = False - if enable_double_encryption is None: + if enable_double_encryption == None: enable_double_encryption = False if isinstance(identity_user_assigned_identities, str): identity_user_assigned_identities = json.loads(identity_user_assigned_identities) @@ -91,11 +91,11 @@ def kusto_cluster_update(client, identity_type=None, identity_user_assigned_identities=None, no_wait=False): - if enable_streaming_ingest is None: + if enable_streaming_ingest == None: enable_streaming_ingest = False - if enable_purge is None: + if enable_purge == None: enable_purge = False - if enable_double_encryption is None: + if enable_double_encryption == None: enable_double_encryption = False if isinstance(identity_user_assigned_identities, str): identity_user_assigned_identities = json.loads(identity_user_assigned_identities) diff --git a/src/kusto/azext_kusto/tests/latest/preparers.py b/src/kusto/azext_kusto/tests/latest/preparers.py new file mode 100644 index 00000000000..4702355b2bd --- /dev/null +++ b/src/kusto/azext_kusto/tests/latest/preparers.py @@ -0,0 +1,159 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- + +import os +from datetime import datetime +from azure_devtools.scenario_tests import SingleValueReplacer +from azure.cli.testsdk.preparers import NoTrafficRecordingPreparer +from azure.cli.testsdk.exceptions import CliTestError +from azure.cli.testsdk.reverse_dependency import get_dummy_cli + + +KEY_RESOURCE_GROUP = 'rg' +KEY_VIRTUAL_NETWORK = 'vnet' +KEY_VNET_SUBNET = 'subnet' +KEY_VNET_NIC = 'nic' + + +class VirtualNetworkPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.vn', + parameter_name='virtual_network', + resource_group_name=None, + resource_group_key=KEY_RESOURCE_GROUP, + dev_setting_name='AZURE_CLI_TEST_DEV_VIRTUAL_NETWORK_NAME', + random_name_length=24, key=KEY_VIRTUAL_NETWORK): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VirtualNetworkPreparer, self).__init__( + name_prefix, random_name_length) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group_name = resource_group_name + self.resource_group_key = resource_group_key + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group_name: + self.resource_group_name = self.test_class_instance.kwargs.get( + self.resource_group_key) + if not self.resource_group_name: + raise CliTestError("Error: No resource group configured!") + + tags = {'product': 'azurecli', 'cause': 'automation', + 'date': datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')} + if 'ENV_JOB_NAME' in os.environ: + tags['job'] = os.environ['ENV_JOB_NAME'] + tags = ' '.join(['{}={}'.format(key, value) + for key, value in tags.items()]) + template = 'az network vnet create --resource-group {} --name {} --subnet-name default --tag ' + tags + self.live_only_execute(self.cli_ctx, template.format( + self.resource_group_name, name)) + + self.test_class_instance.kwargs[self.key] = name + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + # delete vnet if test is being recorded and if the vnet is not a dev rg + if not self.dev_setting_name: + self.live_only_execute( + self.cli_ctx, + 'az network vnet delete --name {} --resource-group {}'.format(name, self.resource_group_name)) + + +class VnetSubnetPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.vn', + parameter_name='subnet', + resource_group_key=KEY_RESOURCE_GROUP, + vnet_key=KEY_VIRTUAL_NETWORK, + address_prefixes="11.0.0.0/24", + dev_setting_name='AZURE_CLI_TEST_DEV_VNET_SUBNET_NAME', + key=KEY_VNET_SUBNET): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VnetSubnetPreparer, self).__init__(name_prefix, 15) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group = [resource_group_key, None] + self.vnet = [vnet_key, None] + self.address_prefixes = address_prefixes + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group[1]: + self.resource_group[1] = self.test_class_instance.kwargs.get( + self.resource_group[0]) + if not self.resource_group[1]: + raise CliTestError("Error: No resource group configured!") + if not self.vnet[1]: + self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) + if not self.vnet[1]: + raise CliTestError("Error: No vnet configured!") + + self.test_class_instance.kwargs[self.key] = 'default' + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + pass + + +class VnetNicPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.nic', + parameter_name='subnet', + resource_group_key=KEY_RESOURCE_GROUP, + vnet_key=KEY_VIRTUAL_NETWORK, + dev_setting_name='AZURE_CLI_TEST_DEV_VNET_NIC_NAME', + key=KEY_VNET_NIC): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VnetNicPreparer, self).__init__(name_prefix, 15) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group = [resource_group_key, None] + self.vnet = [vnet_key, None] + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group[1]: + self.resource_group[1] = self.test_class_instance.kwargs.get( + self.resource_group[0]) + if not self.resource_group[1]: + raise CliTestError("Error: No resource group configured!") + if not self.vnet[1]: + self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) + if not self.vnet[1]: + raise CliTestError("Error: No vnet configured!") + + template = 'az network nic create --resource-group {} --name {} --vnet-name {} --subnet default ' + self.live_only_execute(self.cli_ctx, template.format( + self.resource_group[1], name, self.vnet[1])) + + self.test_class_instance.kwargs[self.key] = name + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + if not self.dev_setting_name: + self.live_only_execute( + self.cli_ctx, + 'az network nic delete --name {} --resource-group {}'.format(name, self.resource_group[1])) diff --git a/src/kusto/azext_kusto/tests/latest/test_kusto_scenario.py b/src/kusto/azext_kusto/tests/latest/test_kusto_scenario.py index 2fc3d87700e..e38ccb03aca 100644 --- a/src/kusto/azext_kusto/tests/latest/test_kusto_scenario.py +++ b/src/kusto/azext_kusto/tests/latest/test_kusto_scenario.py @@ -47,7 +47,7 @@ def step_kustodatabasescreateorupdate(test, rg): test.cmd('az kusto database create ' '--cluster-name "{Clusters_3}" ' '--database-name "KustoDatabase8" ' - '--parameters "{{\\"location\\":\\"westus\\",\\"properties\\":{{\\"softDeletePeriod\\":\\"P1D\\"}}}}" ' + '--read-write-database location="westus" soft-delete-period="P1D" ' '--resource-group "{rg}"', checks=[]) @@ -95,14 +95,13 @@ def step_attacheddatabaseconfigurationsget(test, rg): '--resource-group "{rg}"', checks=[]) -# EXAMPLE: KustoDataConnectionsGet - +# EXAMPLE: KustoDataConnectionsGet @try_manual def step_kustodataconnectionsget(test, rg): test.cmd('az kusto data-connection show ' - '--name "{DataConnections8}" ' '--cluster-name "{Clusters_3}" ' + '--name "{DataConnections8}" ' '--database-name "KustoDatabase8" ' '--resource-group "{rg}"', checks=[]) diff --git a/src/kusto/azext_kusto/vendored_sdks/kusto/_version.py b/src/kusto/azext_kusto/vendored_sdks/kusto/_version.py deleted file mode 100644 index 60c349ae6a8..00000000000 --- a/src/kusto/azext_kusto/vendored_sdks/kusto/_version.py +++ /dev/null @@ -1,9 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- - -VERSION = "0.1.0" diff --git a/src/kusto/azext_kusto/vendored_sdks/kusto/operations/_cluster_operations.py b/src/kusto/azext_kusto/vendored_sdks/kusto/operations/_cluster_operations.py index 2d59f3994cf..fbcfe420468 100644 --- a/src/kusto/azext_kusto/vendored_sdks/kusto/operations/_cluster_operations.py +++ b/src/kusto/azext_kusto/vendored_sdks/kusto/operations/_cluster_operations.py @@ -111,8 +111,8 @@ def _create_or_update_initial( location, # type: str sku, # type: "models.AzureSku" tags=None, # type: Optional[Dict[str, str]] - trusted_external_tenants=None, # type: Optional[List["models.TrustedExternalTenant"]] zones=None, # type: Optional[List[str]] + trusted_external_tenants=None, # type: Optional[List["models.TrustedExternalTenant"]] optimized_autoscale=None, # type: Optional["models.OptimizedAutoscale"] enable_disk_encryption=None, # type: Optional[bool] enable_streaming_ingest=False, # type: Optional[bool] diff --git a/src/kusto/azext_kusto/vendored_sdks/kusto/setup.py b/src/kusto/azext_kusto/vendored_sdks/kusto/setup.py deleted file mode 100644 index 6f2ab0c5bff..00000000000 --- a/src/kusto/azext_kusto/vendored_sdks/kusto/setup.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# 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. -# -------------------------------------------------------------------------- -# coding: utf-8 - -from setuptools import setup, find_packages - -NAME = "kustomanagementclient" -VERSION = "0.1.0" - -# To install the library, run the following -# -# python setup.py install -# -# prerequisite: setuptools -# http://pypi.python.org/pypi/setuptools - -REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"] - -setup( - name=NAME, - version=VERSION, - description="KustoManagementClient", - author_email="", - url="", - keywords=["Swagger", "KustoManagementClient"], - install_requires=REQUIRES, - packages=find_packages(), - include_package_data=True, - long_description="""\ - The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. - """ -) diff --git a/src/kusto/kusto.egg-info/PKG-INFO b/src/kusto/kusto.egg-info/PKG-INFO deleted file mode 100644 index 570c2449bc6..00000000000 --- a/src/kusto/kusto.egg-info/PKG-INFO +++ /dev/null @@ -1,34 +0,0 @@ -Metadata-Version: 1.1 -Name: kusto -Version: 0.1.0 -Summary: Microsoft Azure Command-Line Tools KustoManagementClient Extension -Home-page: https://github.com/Azure/azure-cli-extensions/tree/master/src/kusto -Author: Microsoft Corporation -Author-email: azpycli@microsoft.com -License: MIT -Description: Microsoft Azure CLI 'kusto' Extension - ========================================== - - This package is for the 'kusto' extension. - i.e. 'az kusto' - - - .. :changelog: - - Release History - =============== - - 0.1.0 - ++++++ - * Initial release. - -Platform: UNKNOWN -Classifier: Development Status :: 4 - Beta -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: System Administrators -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Programming Language :: Python :: 3.8 -Classifier: License :: OSI Approved :: MIT License diff --git a/src/kusto/kusto.egg-info/SOURCES.txt b/src/kusto/kusto.egg-info/SOURCES.txt deleted file mode 100644 index dcdb5808ee5..00000000000 --- a/src/kusto/kusto.egg-info/SOURCES.txt +++ /dev/null @@ -1,57 +0,0 @@ -README.md -setup.cfg -setup.py -azext_kusto/__init__.py -azext_kusto/action.py -azext_kusto/azext_metadata.json -azext_kusto/custom.py -azext_kusto/generated/__init__.py -azext_kusto/generated/_client_factory.py -azext_kusto/generated/_help.py -azext_kusto/generated/_params.py -azext_kusto/generated/_validators.py -azext_kusto/generated/action.py -azext_kusto/generated/commands.py -azext_kusto/generated/custom.py -azext_kusto/manual/__init__.py -azext_kusto/manual/_help.py -azext_kusto/manual/tests/__init__.py -azext_kusto/manual/tests/latest/__init__.py -azext_kusto/manual/tests/latest/test_kusto_scenario.py -azext_kusto/tests/__init__.py -azext_kusto/tests/latest/__init__.py -azext_kusto/tests/latest/preparers.py -azext_kusto/tests/latest/test_kusto_scenario.py -azext_kusto/vendored_sdks/__init__.py -azext_kusto/vendored_sdks/kusto/__init__.py -azext_kusto/vendored_sdks/kusto/_configuration.py -azext_kusto/vendored_sdks/kusto/_kusto_management_client.py -azext_kusto/vendored_sdks/kusto/_version.py -azext_kusto/vendored_sdks/kusto/setup.py -azext_kusto/vendored_sdks/kusto/aio/__init__.py -azext_kusto/vendored_sdks/kusto/aio/_configuration_async.py -azext_kusto/vendored_sdks/kusto/aio/_kusto_management_client_async.py -azext_kusto/vendored_sdks/kusto/aio/operations_async/__init__.py -azext_kusto/vendored_sdks/kusto/aio/operations_async/_attached_database_configuration_operations_async.py -azext_kusto/vendored_sdks/kusto/aio/operations_async/_cluster_operations_async.py -azext_kusto/vendored_sdks/kusto/aio/operations_async/_cluster_principal_assignment_operations_async.py -azext_kusto/vendored_sdks/kusto/aio/operations_async/_data_connection_operations_async.py -azext_kusto/vendored_sdks/kusto/aio/operations_async/_database_operations_async.py -azext_kusto/vendored_sdks/kusto/aio/operations_async/_database_principal_assignment_operations_async.py -azext_kusto/vendored_sdks/kusto/aio/operations_async/_operation_operations_async.py -azext_kusto/vendored_sdks/kusto/models/__init__.py -azext_kusto/vendored_sdks/kusto/models/_kusto_management_client_enums.py -azext_kusto/vendored_sdks/kusto/models/_models.py -azext_kusto/vendored_sdks/kusto/models/_models_py3.py -azext_kusto/vendored_sdks/kusto/operations/__init__.py -azext_kusto/vendored_sdks/kusto/operations/_attached_database_configuration_operations.py -azext_kusto/vendored_sdks/kusto/operations/_cluster_operations.py -azext_kusto/vendored_sdks/kusto/operations/_cluster_principal_assignment_operations.py -azext_kusto/vendored_sdks/kusto/operations/_data_connection_operations.py -azext_kusto/vendored_sdks/kusto/operations/_database_operations.py -azext_kusto/vendored_sdks/kusto/operations/_database_principal_assignment_operations.py -azext_kusto/vendored_sdks/kusto/operations/_operation_operations.py -kusto.egg-info/PKG-INFO -kusto.egg-info/SOURCES.txt -kusto.egg-info/dependency_links.txt -kusto.egg-info/top_level.txt \ No newline at end of file diff --git a/src/kusto/kusto.egg-info/dependency_links.txt b/src/kusto/kusto.egg-info/dependency_links.txt deleted file mode 100644 index 8b137891791..00000000000 --- a/src/kusto/kusto.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/kusto/kusto.egg-info/top_level.txt b/src/kusto/kusto.egg-info/top_level.txt deleted file mode 100644 index 37a1542d066..00000000000 --- a/src/kusto/kusto.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -azext_kusto diff --git a/src/kusto/setup.py b/src/kusto/setup.py index d4a08f04021..04222760879 100644 --- a/src/kusto/setup.py +++ b/src/kusto/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '0.1.1' +VERSION = '0.1.0' try: from .manual.version import VERSION except ImportError: