Hello community,

here is the log from the commit of package azure-cli-sqlvm for openSUSE:Factory 
checked in at 2019-10-31 18:17:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-sqlvm (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-sqlvm.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-sqlvm"

Thu Oct 31 18:17:39 2019 rev:3 rq:742728 version:0.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-sqlvm/azure-cli-sqlvm.changes  
2019-06-05 11:45:45.391001947 +0200
+++ 
/work/SRC/openSUSE:Factory/.azure-cli-sqlvm.new.2990/azure-cli-sqlvm.changes    
    2019-10-31 18:17:46.622167145 +0100
@@ -1,0 +2,9 @@
+Thu Oct 24 12:12:29 UTC 2019 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 0.2.0
+  + For detailed information about changes see the
+    HISTORY.txt file provided with this package
+- Update Requires from setup.py
+
+-------------------------------------------------------------------

Old:
----
  azure-cli-sqlvm-0.1.0.tar.gz

New:
----
  azure-cli-sqlvm-0.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ azure-cli-sqlvm.spec ++++++
--- /var/tmp/diff_new_pack.TWcdin/_old  2019-10-31 18:17:48.226168805 +0100
+++ /var/tmp/diff_new_pack.TWcdin/_new  2019-10-31 18:17:48.274168856 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           azure-cli-sqlvm
-Version:        0.1.0
+Version:        0.2.0
 Release:        0
 Summary:        Microsoft Azure CLI 'SQL VM' Command Module
 License:        MIT
@@ -33,7 +33,7 @@
 Requires:       azure-cli-command-modules-nspkg
 Requires:       azure-cli-core
 Requires:       azure-cli-nspkg
-Requires:       python3-azure-mgmt-sqlvirtualmachine >= 0.2.0
+Requires:       python3-azure-mgmt-sqlvirtualmachine >= 0.3.0
 Requires:       python3-azure-nspkg >= 3.0.0
 Conflicts:      azure-cli < 2.0.0
 

++++++ azure-cli-sqlvm-0.1.0.tar.gz -> azure-cli-sqlvm-0.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-sqlvm-0.1.0/HISTORY.rst 
new/azure-cli-sqlvm-0.2.0/HISTORY.rst
--- old/azure-cli-sqlvm-0.1.0/HISTORY.rst       2019-02-12 00:05:38.000000000 
+0100
+++ new/azure-cli-sqlvm-0.2.0/HISTORY.rst       2019-06-13 23:17:47.000000000 
+0200
@@ -2,6 +2,14 @@
 
 Release History
 ===============
+0.2.0
++++++
+* Customer can set sql image sku type when creating or updating a sql vm.
+* Breaking change: --license-type is a required parameter for sql vm create.
+
+0.1.1
++++++
+* Minor fixes.
 
 0.1.0
 +++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-sqlvm-0.1.0/PKG-INFO 
new/azure-cli-sqlvm-0.2.0/PKG-INFO
--- old/azure-cli-sqlvm-0.1.0/PKG-INFO  2019-02-12 00:05:57.000000000 +0100
+++ new/azure-cli-sqlvm-0.2.0/PKG-INFO  2019-06-13 23:18:25.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli-sqlvm
-Version: 0.1.0
+Version: 0.2.0
 Summary: Microsoft Azure Command-Line Tools SQL virtual machine Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -17,6 +17,14 @@
         
         Release History
         ===============
+        0.2.0
+        +++++
+        * Customer can set sql image sku type when creating or updating a sql 
vm.
+        * Breaking change: --license-type is a required parameter for sql vm 
create.
+        
+        0.1.1
+        +++++
+        * Minor fixes.
         
         0.1.0
         +++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sqlvm-0.1.0/azure/cli/command_modules/sqlvm/__init__.py 
new/azure-cli-sqlvm-0.2.0/azure/cli/command_modules/sqlvm/__init__.py
--- old/azure-cli-sqlvm-0.1.0/azure/cli/command_modules/sqlvm/__init__.py       
2019-02-12 00:05:38.000000000 +0100
+++ new/azure-cli-sqlvm-0.2.0/azure/cli/command_modules/sqlvm/__init__.py       
2019-06-13 23:17:47.000000000 +0200
@@ -14,11 +14,12 @@
     def __init__(self, cli_ctx=None):
         from azure.cli.core import ModExtensionSuppress
         from azure.cli.core.commands import CliCommandType
+        from azure.cli.core.profiles import ResourceType
 
         sqlvm_custom = 
CliCommandType(operations_tmpl='azure.cli.command_modules.sqlvm.custom#{}')
         super(SqlVmCommandsLoader, self).__init__(cli_ctx=cli_ctx,
                                                   
custom_command_type=sqlvm_custom,
-                                                  
min_profile='2017-03-10-profile',
+                                                  
resource_type=ResourceType.MGMT_SQLVM,
                                                   
suppress_extension=ModExtensionSuppress(__name__, 'sqlvm-preview', '0.1.0',
                                                                                
           reason='These commands are now in the CLI.',
                                                                                
           recommend_remove=True))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sqlvm-0.1.0/azure/cli/command_modules/sqlvm/_help.py 
new/azure-cli-sqlvm-0.2.0/azure/cli/command_modules/sqlvm/_help.py
--- old/azure-cli-sqlvm-0.1.0/azure/cli/command_modules/sqlvm/_help.py  
2019-02-12 00:05:38.000000000 +0100
+++ new/azure-cli-sqlvm-0.2.0/azure/cli/command_modules/sqlvm/_help.py  
2019-06-13 23:17:47.000000000 +0200
@@ -64,19 +64,22 @@
         - name: Create a SQL virtual machine with AHUB billing tag.
           text: >
             az sql vm create -n sqlvm -g myresourcegroup -l eastus 
--license-type AHUB
+        - name: Create a SQL virtual machine with specific sku type and 
license type.
+          text: >
+            az sql vm create -n sqlvm -g myresourcegroup -l eastus --image-sku 
Enterprise --license-type AHUB
         - name: Enable R services in SQL2016 onwards.
           text: >
-            az sql vm create -n sqlvm -g myresourcegroup -l eastus 
--enable-r-services true
+            az sql vm create -n sqlvm -g myresourcegroup -l eastus 
--license-type PAYG --enable-r-services true
         - name: Create SQL virtual machine and configure auto backup settings.
           text: >
-            az sql vm create -n sqlvm -g myresourcegroup -l eastus 
--backup-schedule-type manual --full-backup-frequency Weekly 
--full-backup-start-hour 2 --full-backup-duration 2
+            az sql vm create -n sqlvm -g myresourcegroup -l eastus 
--license-type PAYG --backup-schedule-type manual --full-backup-frequency 
Weekly --full-backup-start-hour 2 --full-backup-duration 2
             --sa-key {storageKey} --storage-account 
'https://storageacc.blob.core.windows.net/' --retention-period 30 
--log-backup-frequency 60
         - name: Create SQL virtual machine and configure auto patching 
settings.
           text: >
-            az sql vm create -n sqlvm -g myresourcegroup -l eastus 
--day-of-week sunday --maintenance-window-duration 60 
--maintenance-window-start-hour 2
+            az sql vm create -n sqlvm -g myresourcegroup -l eastus 
--license-type PAYG --day-of-week sunday --maintenance-window-duration 60 
--maintenance-window-start-hour 2
         - name: Create SQL virtual machine and configure SQL connectivity 
settings.
           text: >
-            az sql vm create -n sqlvm -g myresourcegroup -l eastus 
--connectivity-type private --port 1433 --sql-auth-update-username {newlogin} 
--sql-auth-update-pwd {sqlpassword}
+            az sql vm create -n sqlvm -g myresourcegroup -l eastus 
--license-type PAYG --connectivity-type private --port 1433 
--sql-auth-update-username {newlogin} --sql-auth-update-pwd {sqlpassword}
     """
 helps['sql vm update'] = """
     type: command
@@ -88,6 +91,9 @@
         - name: Remove a tag.
           text: >
             az sql vm update -n sqlvm -g myresourcegroup --remove tags.tagName
+        - name: Update a SQL virtual machine with specific sku type.
+          text: >
+            az sql vm update -n sqlvm -g myresourcegroup --image-sku Enterprise
         - name: Update SQL virtual machine auto backup settings.
           text: >
             az sql vm update -n sqlvm -g myresourcegroup 
--backup-schedule-type manual --full-backup-frequency Weekly 
--full-backup-start-hour 2 --full-backup-duration 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sqlvm-0.1.0/azure/cli/command_modules/sqlvm/_params.py 
new/azure-cli-sqlvm-0.2.0/azure/cli/command_modules/sqlvm/_params.py
--- old/azure-cli-sqlvm-0.1.0/azure/cli/command_modules/sqlvm/_params.py        
2019-02-12 00:05:38.000000000 +0100
+++ new/azure-cli-sqlvm-0.2.0/azure/cli/command_modules/sqlvm/_params.py        
2019-06-13 23:17:47.000000000 +0200
@@ -15,7 +15,8 @@
     SqlWorkloadType,
     DiskConfigurationType,
     DayOfWeek,
-    SqlVmGroupImageSku
+    SqlVmGroupImageSku,
+    SqlImageSku
 )
 
 from azure.cli.core.commands.parameters import (
@@ -161,8 +162,12 @@
     with self.argument_context('sql vm', arg_group='SQL Server License') as c:
         c.argument('sql_server_license_type',
                    help='SQL Server license type.',
-                   options_list=['--license-type'],
+                   options_list=['--license-type', '-i'],
                    arg_type=get_enum_type(SqlServerLicenseType))
+        c.argument('sql_image_sku',
+                   options_list=['--image-sku'],
+                   help='SQL image sku.',
+                   arg_type=get_enum_type(SqlImageSku))
 
     with self.argument_context('sql vm add-to-group') as c:
         c.argument('sql_virtual_machine_group_resource_id',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sqlvm-0.1.0/azure/cli/command_modules/sqlvm/commands.py 
new/azure-cli-sqlvm-0.2.0/azure/cli/command_modules/sqlvm/commands.py
--- old/azure-cli-sqlvm-0.1.0/azure/cli/command_modules/sqlvm/commands.py       
2019-02-12 00:05:38.000000000 +0100
+++ new/azure-cli-sqlvm-0.2.0/azure/cli/command_modules/sqlvm/commands.py       
2019-06-13 23:17:47.000000000 +0200
@@ -30,7 +30,7 @@
     ###############################################
 
     sqlvm_vm_operations = CliCommandType(
-        
operations_tmpl='azure.mgmt.sqlvirtualmachine.operations.sql_virtual_machines_operations#SqlVirtualMachinesOperations.{}',
+        
operations_tmpl='azure.mgmt.sqlvirtualmachine.operations#SqlVirtualMachinesOperations.{}',
         client_factory=get_sqlvirtualmachine_sql_virtual_machines_operations
     )
 
@@ -50,7 +50,7 @@
     ###############################################
 
     sqlvm_group_operations = CliCommandType(
-        
operations_tmpl='azure.mgmt.sqlvirtualmachine.operations.sql_virtual_machine_groups_operations#SqlVirtualMachineGroupsOperations.{}',
+        
operations_tmpl='azure.mgmt.sqlvirtualmachine.operations#SqlVirtualMachineGroupsOperations.{}',
         
client_factory=get_sqlvirtualmachine_sql_virtual_machine_groups_operations
     )
 
@@ -68,7 +68,7 @@
     ###############################################
 
     sqlvm_agl_operations = CliCommandType(
-        
operations_tmpl='azure.mgmt.sqlvirtualmachine.operations.availability_group_listeners_operations#AvailabilityGroupListenersOperations.{}',
+        
operations_tmpl='azure.mgmt.sqlvirtualmachine.operations#AvailabilityGroupListenersOperations.{}',
         
client_factory=get_sqlvirtualmachine_availability_group_listeners_operations
     )
 
@@ -80,3 +80,6 @@
         g.command('list', 'list_by_group', transform=transform_aglistener_list)
         g.command('delete', 'delete', confirmation=True)
         g.custom_command('create', 'sqlvm_aglistener_create', 
transform=transform_aglistener_output, 
table_transformer=deployment_validate_table_format, 
exception_handler=handle_template_based_exception)
+
+    with self.command_group('sql vm', is_preview=True):
+        pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sqlvm-0.1.0/azure/cli/command_modules/sqlvm/custom.py 
new/azure-cli-sqlvm-0.2.0/azure/cli/command_modules/sqlvm/custom.py
--- old/azure-cli-sqlvm-0.1.0/azure/cli/command_modules/sqlvm/custom.py 
2019-02-12 00:05:38.000000000 +0100
+++ new/azure-cli-sqlvm-0.2.0/azure/cli/command_modules/sqlvm/custom.py 
2019-06-13 23:17:47.000000000 +0200
@@ -6,7 +6,6 @@
 from msrestazure.tools import is_valid_resource_id, resource_id
 from knack.prompting import prompt_pass
 from azure.cli.core.commands import LongRunningOperation
-
 from azure.cli.core.util import (
     sdk_no_wait
 )
@@ -171,8 +170,8 @@
 
 
 # pylint: disable=too-many-arguments, too-many-locals, line-too-long, 
too-many-boolean-expressions
-def sqlvm_create(client, cmd, sql_virtual_machine_name, resource_group_name, 
location=None,
-                 sql_server_license_type=None, enable_auto_patching=None,
+def sqlvm_create(client, cmd, sql_virtual_machine_name, resource_group_name, 
sql_server_license_type,
+                 location=None, sql_image_sku=None, enable_auto_patching=None,
                  day_of_week=None, maintenance_window_starting_hour=None, 
maintenance_window_duration=None,
                  enable_auto_backup=None, enable_encryption=False, 
retention_period=None, storage_account_url=None,
                  storage_access_key=None, backup_password=None, 
backup_system_dbs=False, backup_schedule_type=None,
@@ -253,6 +252,7 @@
     sqlvm_object = SqlVirtualMachine(location=location,
                                      
virtual_machine_resource_id=virtual_machine_resource_id,
                                      
sql_server_license_type=sql_server_license_type,
+                                     sql_image_sku=sql_image_sku,
                                      
auto_patching_settings=auto_patching_object,
                                      auto_backup_settings=auto_backup_object,
                                      
key_vault_credential_settings=keyvault_object,
@@ -267,7 +267,7 @@
 
 
 # pylint: disable=too-many-statements, line-too-long, 
too-many-boolean-expressions
-def sqlvm_update(instance, sql_server_license_type=None, 
enable_auto_patching=None,
+def sqlvm_update(instance, sql_server_license_type=None, sql_image_sku=None, 
enable_auto_patching=None,
                  day_of_week=None, maintenance_window_starting_hour=None, 
maintenance_window_duration=None,
                  enable_auto_backup=None, enable_encryption=False, 
retention_period=None, storage_account_url=None,
                  storage_access_key=None, backup_password=None, 
backup_system_dbs=False, backup_schedule_type=None,
@@ -281,6 +281,8 @@
         instance.tags = tags
     if sql_server_license_type is not None:
         instance.sql_server_license_type = sql_server_license_type
+    if sql_image_sku is not None:
+        instance.sql_image_sku = sql_image_sku
 
     if (enable_auto_patching is not None or day_of_week is not None or 
maintenance_window_starting_hour is not None or maintenance_window_duration is 
not None):
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sqlvm-0.1.0/azure_cli_sqlvm.egg-info/PKG-INFO 
new/azure-cli-sqlvm-0.2.0/azure_cli_sqlvm.egg-info/PKG-INFO
--- old/azure-cli-sqlvm-0.1.0/azure_cli_sqlvm.egg-info/PKG-INFO 2019-02-12 
00:05:57.000000000 +0100
+++ new/azure-cli-sqlvm-0.2.0/azure_cli_sqlvm.egg-info/PKG-INFO 2019-06-13 
23:18:25.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli-sqlvm
-Version: 0.1.0
+Version: 0.2.0
 Summary: Microsoft Azure Command-Line Tools SQL virtual machine Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -17,6 +17,14 @@
         
         Release History
         ===============
+        0.2.0
+        +++++
+        * Customer can set sql image sku type when creating or updating a sql 
vm.
+        * Breaking change: --license-type is a required parameter for sql vm 
create.
+        
+        0.1.1
+        +++++
+        * Minor fixes.
         
         0.1.0
         +++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-sqlvm-0.1.0/azure_cli_sqlvm.egg-info/requires.txt 
new/azure-cli-sqlvm-0.2.0/azure_cli_sqlvm.egg-info/requires.txt
--- old/azure-cli-sqlvm-0.1.0/azure_cli_sqlvm.egg-info/requires.txt     
2019-02-12 00:05:57.000000000 +0100
+++ new/azure-cli-sqlvm-0.2.0/azure_cli_sqlvm.egg-info/requires.txt     
2019-06-13 23:18:25.000000000 +0200
@@ -1,2 +1,2 @@
 azure-cli-core
-azure-mgmt-sqlvirtualmachine==0.2.0
+azure-mgmt-sqlvirtualmachine==0.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-sqlvm-0.1.0/setup.py 
new/azure-cli-sqlvm-0.2.0/setup.py
--- old/azure-cli-sqlvm-0.1.0/setup.py  2019-02-12 00:05:38.000000000 +0100
+++ new/azure-cli-sqlvm-0.2.0/setup.py  2019-06-13 23:17:47.000000000 +0200
@@ -12,7 +12,7 @@
     logger.warn("Wheel is not available, disabling bdist_wheel hook")
     cmdclass = {}
 
-VERSION = "0.1.0"
+VERSION = "0.2.0"
 
 CLASSIFIERS = [
     'Development Status :: 4 - Beta',
@@ -31,7 +31,7 @@
 
 DEPENDENCIES = [
     'azure-cli-core',
-    'azure-mgmt-sqlvirtualmachine==0.2.0'
+    'azure-mgmt-sqlvirtualmachine==0.3.0'
 ]
 
 with open('README.rst', 'r', encoding='utf-8') as f:


Reply via email to