Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs) -> None:
super(ImageTemplateSource, self).__init__(**kwargs)
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 .image_template_source_py3 import ImageTemplateSource
class ImageTemplateIsoSource(ImageTemplateSource):
"""Describes an image source that is an installation ISO. Currently only
supports Red Hat Enterprise Linux 7.2-7.5 ISO's.
All required parameters must be populated in order to send to Azure.
:param type: Required. Constant filled by server.
:type type: str
:param source_uri: Required. URI to get the ISO image. This URI has to be
accessible to the resource provider at the time of the image template
creation.
:type source_uri: str
:param sha256_checksum: Required. SHA256 Checksum of the ISO image.
:type sha256_checksum: str
"""
_validation = {