Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# 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.
# --------------------------------------------------------------------------
from .task_step_update_parameters_py3 import TaskStepUpdateParameters
class DockerBuildStepUpdateParameters(TaskStepUpdateParameters):
"""The properties for updating a docker build step.
All required parameters must be populated in order to send to Azure.
: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
repository and tag.
:type image_names: list[str]
:param is_push_enabled: The value of this property indicates whether the
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
# 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.
# --------------------------------------------------------------------------
from .task_step_update_parameters_py3 import TaskStepUpdateParameters
class FileTaskStepUpdateParameters(TaskStepUpdateParameters):
"""The properties of updating a task step.
All required parameters must be populated in order to send to Azure.
: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
the source context.
:type task_file_path: str
:param values_file_path: The values/parameters file path relative to the
# 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.
# --------------------------------------------------------------------------
from .task_step_update_parameters_py3 import TaskStepUpdateParameters
class EncodedTaskStepUpdateParameters(TaskStepUpdateParameters):
"""The properties for updating encoded task step.
All required parameters must be populated in order to send to Azure.
: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
template/definition file content.
:type encoded_task_content: str
:param encoded_values_content: Base64 encoded value of the