diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template.py index ddd76b0ac33e..79efc1d08b75 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template.py @@ -52,7 +52,7 @@ class ImageTemplate(Resource): :vartype last_run_status: ~azure.mgmt.imagebuilder.models.ImageTemplateLastRunStatus :param build_timeout_in_minutes: Maximum duration to wait while building - the image template. Default is 60 minutes. + the image template. Omit or specify 0 to use the default (60 minutes). :type build_timeout_in_minutes: int :param identity: The identity of the image template, if configured. :type identity: ~azure.mgmt.imagebuilder.models.ImageTemplateIdentity @@ -68,6 +68,7 @@ class ImageTemplate(Resource): 'provisioning_state': {'readonly': True}, 'provisioning_error': {'readonly': True}, 'last_run_status': {'readonly': True}, + 'build_timeout_in_minutes': {'maximum': 960, 'minimum': 0}, } _attribute_map = { diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_distributor.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_distributor.py index 25ef3016973f..f17033325c22 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_distributor.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_distributor.py @@ -32,7 +32,7 @@ class ImageTemplateDistributor(Model): """ _validation = { - 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_]{1,64}$'}, + 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_.]{1,64}$'}, 'type': {'required': True}, } diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_distributor_py3.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_distributor_py3.py index 763a9323b20c..83e5803e3375 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_distributor_py3.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_distributor_py3.py @@ -32,7 +32,7 @@ class ImageTemplateDistributor(Model): """ _validation = { - 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_]{1,64}$'}, + 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_.]{1,64}$'}, 'type': {'required': True}, } diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_file_customizer.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_file_customizer.py index ee4361ba9782..de591f7fb5fb 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_file_customizer.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_file_customizer.py @@ -26,8 +26,9 @@ class ImageTemplateFileCustomizer(ImageTemplateCustomizer): :param source_uri: The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc :type source_uri: str - :param destination: The absolute path (with existing directory structure) - where the file will be uploaded to in the VM + :param destination: The absolute path to a file (with nested directory + structures already created) where the file (from sourceUri) will be + uploaded to in the VM :type destination: str """ diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_file_customizer_py3.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_file_customizer_py3.py index dcebc7a1f2ff..a9d6d048d595 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_file_customizer_py3.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_file_customizer_py3.py @@ -26,8 +26,9 @@ class ImageTemplateFileCustomizer(ImageTemplateCustomizer): :param source_uri: The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc :type source_uri: str - :param destination: The absolute path (with existing directory structure) - where the file will be uploaded to in the VM + :param destination: The absolute path to a file (with nested directory + structures already created) where the file (from sourceUri) will be + uploaded to in the VM :type destination: str """ diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_managed_image_distributor.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_managed_image_distributor.py index 89cab09288cd..25e3c82716f1 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_managed_image_distributor.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_managed_image_distributor.py @@ -33,7 +33,7 @@ class ImageTemplateManagedImageDistributor(ImageTemplateDistributor): """ _validation = { - 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_]{1,64}$'}, + 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_.]{1,64}$'}, 'type': {'required': True}, 'image_id': {'required': True}, 'location': {'required': True}, diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_managed_image_distributor_py3.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_managed_image_distributor_py3.py index 47a2543dec1a..9532f0f2e5a2 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_managed_image_distributor_py3.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_managed_image_distributor_py3.py @@ -33,7 +33,7 @@ class ImageTemplateManagedImageDistributor(ImageTemplateDistributor): """ _validation = { - 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_]{1,64}$'}, + 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_.]{1,64}$'}, 'type': {'required': True}, 'image_id': {'required': True}, 'location': {'required': True}, diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_py3.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_py3.py index 6168cf4ed053..5216f5776dcf 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_py3.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_py3.py @@ -52,7 +52,7 @@ class ImageTemplate(Resource): :vartype last_run_status: ~azure.mgmt.imagebuilder.models.ImageTemplateLastRunStatus :param build_timeout_in_minutes: Maximum duration to wait while building - the image template. Default is 60 minutes. + the image template. Omit or specify 0 to use the default (60 minutes). :type build_timeout_in_minutes: int :param identity: The identity of the image template, if configured. :type identity: ~azure.mgmt.imagebuilder.models.ImageTemplateIdentity @@ -68,6 +68,7 @@ class ImageTemplate(Resource): 'provisioning_state': {'readonly': True}, 'provisioning_error': {'readonly': True}, 'last_run_status': {'readonly': True}, + 'build_timeout_in_minutes': {'maximum': 960, 'minimum': 0}, } _attribute_map = { diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_shared_image_distributor.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_shared_image_distributor.py index 3dda511aadf7..0880e43b7b3a 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_shared_image_distributor.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_shared_image_distributor.py @@ -33,7 +33,7 @@ class ImageTemplateSharedImageDistributor(ImageTemplateDistributor): """ _validation = { - 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_]{1,64}$'}, + 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_.]{1,64}$'}, 'type': {'required': True}, 'gallery_image_id': {'required': True}, 'replication_regions': {'required': True}, diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_shared_image_distributor_py3.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_shared_image_distributor_py3.py index 087bb5f8ca69..4dfd93aea2f7 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_shared_image_distributor_py3.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_shared_image_distributor_py3.py @@ -33,7 +33,7 @@ class ImageTemplateSharedImageDistributor(ImageTemplateDistributor): """ _validation = { - 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_]{1,64}$'}, + 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_.]{1,64}$'}, 'type': {'required': True}, 'gallery_image_id': {'required': True}, 'replication_regions': {'required': True}, diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_vhd_distributor.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_vhd_distributor.py index eb7bc646f9a6..091ec3d17c15 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_vhd_distributor.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_vhd_distributor.py @@ -28,7 +28,7 @@ class ImageTemplateVhdDistributor(ImageTemplateDistributor): """ _validation = { - 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_]{1,64}$'}, + 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_.]{1,64}$'}, 'type': {'required': True}, } diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_vhd_distributor_py3.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_vhd_distributor_py3.py index e491779620ed..ca9cd3368d8e 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_vhd_distributor_py3.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_vhd_distributor_py3.py @@ -28,7 +28,7 @@ class ImageTemplateVhdDistributor(ImageTemplateDistributor): """ _validation = { - 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_]{1,64}$'}, + 'run_output_name': {'required': True, 'pattern': r'^[A-Za-z0-9-_.]{1,64}$'}, 'type': {'required': True}, } diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/operations/virtual_machine_image_templates_operations.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/operations/virtual_machine_image_templates_operations.py index 03ce517ce451..1ea0444e99e1 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/operations/virtual_machine_image_templates_operations.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/operations/virtual_machine_image_templates_operations.py @@ -177,7 +177,7 @@ def _create_or_update_initial( path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_]{1,64}$') + 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_.]{1,64}$') } url = self._client.format_url(url, **path_format_arguments) @@ -281,7 +281,7 @@ def _update_initial( path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_]{1,64}$') + 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_.]{1,64}$') } url = self._client.format_url(url, **path_format_arguments) @@ -400,7 +400,7 @@ def get( path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_]{1,64}$') + 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_.]{1,64}$') } url = self._client.format_url(url, **path_format_arguments) @@ -445,7 +445,7 @@ def _delete_initial( path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_]{1,64}$') + 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_.]{1,64}$') } url = self._client.format_url(url, **path_format_arguments) @@ -523,7 +523,7 @@ def _run_initial( path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_]{1,64}$') + 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_.]{1,64}$') } url = self._client.format_url(url, **path_format_arguments) @@ -620,7 +620,7 @@ def internal_paging(next_link=None, raw=False): path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_]{1,64}$') + 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_.]{1,64}$') } url = self._client.format_url(url, **path_format_arguments) @@ -688,8 +688,8 @@ def get_run_output( path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_]{1,64}$'), - 'runOutputName': self._serialize.url("run_output_name", run_output_name, 'str', pattern=r'^[A-Za-z0-9-_]{1,64}$') + 'imageTemplateName': self._serialize.url("image_template_name", image_template_name, 'str', pattern=r'^[A-Za-z0-9-_.]{1,64}$'), + 'runOutputName': self._serialize.url("run_output_name", run_output_name, 'str', pattern=r'^[A-Za-z0-9-_.]{1,64}$') } url = self._client.format_url(url, **path_format_arguments) diff --git a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/version.py b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/version.py index 9bd1dfac7ecb..3da0f49f071f 100644 --- a/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/version.py +++ b/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.2.0" +VERSION = "0.2.1"