diff --git a/azure-mgmt-containerregistry/HISTORY.rst b/azure-mgmt-containerregistry/HISTORY.rst index ee5173466b82..1c69470ac4a8 100644 --- a/azure-mgmt-containerregistry/HISTORY.rst +++ b/azure-mgmt-containerregistry/HISTORY.rst @@ -3,6 +3,13 @@ Release History =============== +2.4.0 (2018-11-05) +++++++++++++++++++ + +**Features** + +- Add context token to task step + 2.3.0 (2018-10-17) ++++++++++++++++++ diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step.py index 1d52097e82e8..18d487dc8878 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step.py @@ -26,6 +26,9 @@ class DockerBuildStep(TaskStepProperties): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param image_names: The fully qualified image names including the @@ -55,6 +58,7 @@ class DockerBuildStep(TaskStepProperties): _attribute_map = { 'base_image_dependencies': {'key': 'baseImageDependencies', 'type': '[BaseImageDependency]'}, 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'image_names': {'key': 'imageNames', 'type': '[str]'}, 'is_push_enabled': {'key': 'isPushEnabled', 'type': 'bool'}, diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_py3.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_py3.py index 7bdf8b9f2540..317db832f540 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_py3.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_py3.py @@ -26,6 +26,9 @@ class DockerBuildStep(TaskStepProperties): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param image_names: The fully qualified image names including the @@ -55,6 +58,7 @@ class DockerBuildStep(TaskStepProperties): _attribute_map = { 'base_image_dependencies': {'key': 'baseImageDependencies', 'type': '[BaseImageDependency]'}, 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'image_names': {'key': 'imageNames', 'type': '[str]'}, 'is_push_enabled': {'key': 'isPushEnabled', 'type': 'bool'}, @@ -63,8 +67,8 @@ class DockerBuildStep(TaskStepProperties): 'arguments': {'key': 'arguments', 'type': '[Argument]'}, } - def __init__(self, *, docker_file_path: str, context_path: str=None, image_names=None, is_push_enabled: bool=True, no_cache: bool=False, arguments=None, **kwargs) -> None: - super(DockerBuildStep, self).__init__(context_path=context_path, **kwargs) + def __init__(self, *, docker_file_path: str, context_path: str=None, context_access_token: str=None, image_names=None, is_push_enabled: bool=True, no_cache: bool=False, arguments=None, **kwargs) -> None: + super(DockerBuildStep, self).__init__(context_path=context_path, context_access_token=context_access_token, **kwargs) self.image_names = image_names self.is_push_enabled = is_push_enabled self.no_cache = no_cache diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_update_parameters.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_update_parameters.py index 4a4035127e3a..4e5eae0ee864 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_update_parameters.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_update_parameters.py @@ -20,6 +20,9 @@ class DockerBuildStepUpdateParameters(TaskStepUpdateParameters): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param image_names: The fully qualified image names including the @@ -46,6 +49,7 @@ class DockerBuildStepUpdateParameters(TaskStepUpdateParameters): _attribute_map = { 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'image_names': {'key': 'imageNames', 'type': '[str]'}, 'is_push_enabled': {'key': 'isPushEnabled', 'type': 'bool'}, diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_update_parameters_py3.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_update_parameters_py3.py index 45a563d07134..c489aa168a06 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_update_parameters_py3.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/docker_build_step_update_parameters_py3.py @@ -20,6 +20,9 @@ class DockerBuildStepUpdateParameters(TaskStepUpdateParameters): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param image_names: The fully qualified image names including the @@ -46,6 +49,7 @@ class DockerBuildStepUpdateParameters(TaskStepUpdateParameters): _attribute_map = { 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'image_names': {'key': 'imageNames', 'type': '[str]'}, 'is_push_enabled': {'key': 'isPushEnabled', 'type': 'bool'}, @@ -54,8 +58,8 @@ class DockerBuildStepUpdateParameters(TaskStepUpdateParameters): 'arguments': {'key': 'arguments', 'type': '[Argument]'}, } - def __init__(self, *, context_path: str=None, image_names=None, is_push_enabled: bool=None, no_cache: bool=None, docker_file_path: str=None, arguments=None, **kwargs) -> None: - super(DockerBuildStepUpdateParameters, self).__init__(context_path=context_path, **kwargs) + def __init__(self, *, context_path: str=None, context_access_token: str=None, image_names=None, is_push_enabled: bool=None, no_cache: bool=None, docker_file_path: str=None, arguments=None, **kwargs) -> None: + super(DockerBuildStepUpdateParameters, self).__init__(context_path=context_path, context_access_token=context_access_token, **kwargs) self.image_names = image_names self.is_push_enabled = is_push_enabled self.no_cache = no_cache diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step.py index 2663c34be77f..ff458e122904 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step.py @@ -26,6 +26,9 @@ class EncodedTaskStep(TaskStepProperties): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param encoded_task_content: Required. Base64 encoded value of the @@ -49,6 +52,7 @@ class EncodedTaskStep(TaskStepProperties): _attribute_map = { 'base_image_dependencies': {'key': 'baseImageDependencies', 'type': '[BaseImageDependency]'}, 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'encoded_task_content': {'key': 'encodedTaskContent', 'type': 'str'}, 'encoded_values_content': {'key': 'encodedValuesContent', 'type': 'str'}, diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_py3.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_py3.py index f1aa35288fa4..a13cd3a9ced8 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_py3.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_py3.py @@ -26,6 +26,9 @@ class EncodedTaskStep(TaskStepProperties): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param encoded_task_content: Required. Base64 encoded value of the @@ -49,14 +52,15 @@ class EncodedTaskStep(TaskStepProperties): _attribute_map = { 'base_image_dependencies': {'key': 'baseImageDependencies', 'type': '[BaseImageDependency]'}, 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'encoded_task_content': {'key': 'encodedTaskContent', 'type': 'str'}, 'encoded_values_content': {'key': 'encodedValuesContent', 'type': 'str'}, 'values': {'key': 'values', 'type': '[SetValue]'}, } - def __init__(self, *, encoded_task_content: str, context_path: str=None, encoded_values_content: str=None, values=None, **kwargs) -> None: - super(EncodedTaskStep, self).__init__(context_path=context_path, **kwargs) + def __init__(self, *, encoded_task_content: str, context_path: str=None, context_access_token: str=None, encoded_values_content: str=None, values=None, **kwargs) -> None: + super(EncodedTaskStep, self).__init__(context_path=context_path, context_access_token=context_access_token, **kwargs) self.encoded_task_content = encoded_task_content self.encoded_values_content = encoded_values_content self.values = values diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_update_parameters.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_update_parameters.py index df5d5377d2e1..379d3681659c 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_update_parameters.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_update_parameters.py @@ -20,6 +20,9 @@ class EncodedTaskStepUpdateParameters(TaskStepUpdateParameters): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param encoded_task_content: Base64 encoded value of the @@ -40,6 +43,7 @@ class EncodedTaskStepUpdateParameters(TaskStepUpdateParameters): _attribute_map = { 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'encoded_task_content': {'key': 'encodedTaskContent', 'type': 'str'}, 'encoded_values_content': {'key': 'encodedValuesContent', 'type': 'str'}, diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_update_parameters_py3.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_update_parameters_py3.py index 549154751a87..7551f52c4347 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_update_parameters_py3.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/encoded_task_step_update_parameters_py3.py @@ -20,6 +20,9 @@ class EncodedTaskStepUpdateParameters(TaskStepUpdateParameters): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param encoded_task_content: Base64 encoded value of the @@ -40,14 +43,15 @@ class EncodedTaskStepUpdateParameters(TaskStepUpdateParameters): _attribute_map = { 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'encoded_task_content': {'key': 'encodedTaskContent', 'type': 'str'}, 'encoded_values_content': {'key': 'encodedValuesContent', 'type': 'str'}, 'values': {'key': 'values', 'type': '[SetValue]'}, } - def __init__(self, *, context_path: str=None, encoded_task_content: str=None, encoded_values_content: str=None, values=None, **kwargs) -> None: - super(EncodedTaskStepUpdateParameters, self).__init__(context_path=context_path, **kwargs) + def __init__(self, *, context_path: str=None, context_access_token: str=None, encoded_task_content: str=None, encoded_values_content: str=None, values=None, **kwargs) -> None: + super(EncodedTaskStepUpdateParameters, self).__init__(context_path=context_path, context_access_token=context_access_token, **kwargs) self.encoded_task_content = encoded_task_content self.encoded_values_content = encoded_values_content self.values = values diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step.py index 405732140b54..6070a401dd60 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step.py @@ -26,6 +26,9 @@ class FileTaskStep(TaskStepProperties): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param task_file_path: Required. The task template/definition file path @@ -49,6 +52,7 @@ class FileTaskStep(TaskStepProperties): _attribute_map = { 'base_image_dependencies': {'key': 'baseImageDependencies', 'type': '[BaseImageDependency]'}, 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_file_path': {'key': 'taskFilePath', 'type': 'str'}, 'values_file_path': {'key': 'valuesFilePath', 'type': 'str'}, diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_py3.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_py3.py index 2875e974eb48..9d435e19b2c2 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_py3.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_py3.py @@ -26,6 +26,9 @@ class FileTaskStep(TaskStepProperties): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param task_file_path: Required. The task template/definition file path @@ -49,14 +52,15 @@ class FileTaskStep(TaskStepProperties): _attribute_map = { 'base_image_dependencies': {'key': 'baseImageDependencies', 'type': '[BaseImageDependency]'}, 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_file_path': {'key': 'taskFilePath', 'type': 'str'}, 'values_file_path': {'key': 'valuesFilePath', 'type': 'str'}, 'values': {'key': 'values', 'type': '[SetValue]'}, } - def __init__(self, *, task_file_path: str, context_path: str=None, values_file_path: str=None, values=None, **kwargs) -> None: - super(FileTaskStep, self).__init__(context_path=context_path, **kwargs) + def __init__(self, *, task_file_path: str, context_path: str=None, context_access_token: str=None, values_file_path: str=None, values=None, **kwargs) -> None: + super(FileTaskStep, self).__init__(context_path=context_path, context_access_token=context_access_token, **kwargs) self.task_file_path = task_file_path self.values_file_path = values_file_path self.values = values diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_update_parameters.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_update_parameters.py index 8018f900e7b3..2c4a570a6953 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_update_parameters.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_update_parameters.py @@ -20,6 +20,9 @@ class FileTaskStepUpdateParameters(TaskStepUpdateParameters): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param task_file_path: The task template/definition file path relative to @@ -40,6 +43,7 @@ class FileTaskStepUpdateParameters(TaskStepUpdateParameters): _attribute_map = { 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_file_path': {'key': 'taskFilePath', 'type': 'str'}, 'values_file_path': {'key': 'valuesFilePath', 'type': 'str'}, diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_update_parameters_py3.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_update_parameters_py3.py index 9d29a725e181..663cf20966f1 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_update_parameters_py3.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/file_task_step_update_parameters_py3.py @@ -20,6 +20,9 @@ class FileTaskStepUpdateParameters(TaskStepUpdateParameters): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str :param task_file_path: The task template/definition file path relative to @@ -40,14 +43,15 @@ class FileTaskStepUpdateParameters(TaskStepUpdateParameters): _attribute_map = { 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_file_path': {'key': 'taskFilePath', 'type': 'str'}, 'values_file_path': {'key': 'valuesFilePath', 'type': 'str'}, 'values': {'key': 'values', 'type': '[SetValue]'}, } - def __init__(self, *, context_path: str=None, task_file_path: str=None, values_file_path: str=None, values=None, **kwargs) -> None: - super(FileTaskStepUpdateParameters, self).__init__(context_path=context_path, **kwargs) + def __init__(self, *, context_path: str=None, context_access_token: str=None, task_file_path: str=None, values_file_path: str=None, values=None, **kwargs) -> None: + super(FileTaskStepUpdateParameters, self).__init__(context_path=context_path, context_access_token=context_access_token, **kwargs) self.task_file_path = task_file_path self.values_file_path = values_file_path self.values = values diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_properties.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_properties.py index a7f7f08651d3..20a52b24e8f3 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_properties.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_properties.py @@ -29,6 +29,9 @@ class TaskStepProperties(Model): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str """ @@ -41,6 +44,7 @@ class TaskStepProperties(Model): _attribute_map = { 'base_image_dependencies': {'key': 'baseImageDependencies', 'type': '[BaseImageDependency]'}, 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } @@ -52,4 +56,5 @@ def __init__(self, **kwargs): super(TaskStepProperties, self).__init__(**kwargs) self.base_image_dependencies = None self.context_path = kwargs.get('context_path', None) + self.context_access_token = kwargs.get('context_access_token', None) self.type = None diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_properties_py3.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_properties_py3.py index 220dd96c2425..cd74064f5679 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_properties_py3.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_properties_py3.py @@ -29,6 +29,9 @@ class TaskStepProperties(Model): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str """ @@ -41,6 +44,7 @@ class TaskStepProperties(Model): _attribute_map = { 'base_image_dependencies': {'key': 'baseImageDependencies', 'type': '[BaseImageDependency]'}, 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } @@ -48,8 +52,9 @@ class TaskStepProperties(Model): 'type': {'Docker': 'DockerBuildStep', 'FileTask': 'FileTaskStep', 'EncodedTask': 'EncodedTaskStep'} } - def __init__(self, *, context_path: str=None, **kwargs) -> None: + def __init__(self, *, context_path: str=None, context_access_token: str=None, **kwargs) -> None: super(TaskStepProperties, self).__init__(**kwargs) self.base_image_dependencies = None self.context_path = context_path + self.context_access_token = context_access_token self.type = None diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_update_parameters.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_update_parameters.py index 31f80ea40402..a9047fd426b9 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_update_parameters.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_update_parameters.py @@ -24,6 +24,9 @@ class TaskStepUpdateParameters(Model): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str """ @@ -34,6 +37,7 @@ class TaskStepUpdateParameters(Model): _attribute_map = { 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } @@ -44,4 +48,5 @@ class TaskStepUpdateParameters(Model): def __init__(self, **kwargs): super(TaskStepUpdateParameters, self).__init__(**kwargs) self.context_path = kwargs.get('context_path', None) + self.context_access_token = kwargs.get('context_access_token', None) self.type = None diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_update_parameters_py3.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_update_parameters_py3.py index 625d194e01f9..70f77214e15b 100644 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_update_parameters_py3.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/task_step_update_parameters_py3.py @@ -24,6 +24,9 @@ class TaskStepUpdateParameters(Model): :param context_path: The URL(absolute or relative) of the source context for the task step. :type context_path: str + :param context_access_token: The token (git PAT or SAS token of storage + account blob) associated with the context for a step. + :type context_access_token: str :param type: Required. Constant filled by server. :type type: str """ @@ -34,6 +37,7 @@ class TaskStepUpdateParameters(Model): _attribute_map = { 'context_path': {'key': 'contextPath', 'type': 'str'}, + 'context_access_token': {'key': 'contextAccessToken', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } @@ -41,7 +45,8 @@ class TaskStepUpdateParameters(Model): 'type': {'Docker': 'DockerBuildStepUpdateParameters', 'FileTask': 'FileTaskStepUpdateParameters', 'EncodedTask': 'EncodedTaskStepUpdateParameters'} } - def __init__(self, *, context_path: str=None, **kwargs) -> None: + def __init__(self, *, context_path: str=None, context_access_token: str=None, **kwargs) -> None: super(TaskStepUpdateParameters, self).__init__(**kwargs) self.context_path = context_path + self.context_access_token = context_access_token self.type = None diff --git a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py index 4966f48c5250..e0fbe90b8dbc 100755 --- a/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py +++ b/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py @@ -9,5 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2.3.0" - +VERSION = "2.4.0"