# 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 msrest.serialization import Model
[docs]class BuildStepProperties(Model):
"""Base properties for any build step.
You probably want to use the sub-classes and not this class directly. Known
sub-classes are: DockerBuildStep
Variables are only populated by the server, and will be ignored when
sending a request.
All required parameters must be populated in order to send to Azure.
:ivar provisioning_state: The provisioning state of the build step.
Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded',
'Failed', 'Canceled'
:vartype provisioning_state: str or
~azure.mgmt.containerregistry.v2018_02_01_preview.models.ProvisioningState
:param type: Required. Constant filled by server.
:type type: str
"""
_validation = {
'provisioning_state': {'readonly': True},
'type': {'required': True},
}
_attribute_map = {
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
_subtype_map = {
'type': {'Docker': 'DockerBuildStep'}
}
def __init__(self, **kwargs) -> None:
super(BuildStepProperties, self).__init__(**kwargs)
self.provisioning_state = None
self.type = None