Source code for azure.mgmt.sql.models.create_database_restore_point_definition_py3

# 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 CreateDatabaseRestorePointDefinition(Model): """Contains the information necessary to perform a create database restore point operation. All required parameters must be populated in order to send to Azure. :param restore_point_label: Required. The restore point label to apply :type restore_point_label: str """ _validation = { 'restore_point_label': {'required': True}, } _attribute_map = { 'restore_point_label': {'key': 'restorePointLabel', 'type': 'str'}, } def __init__(self, *, restore_point_label: str, **kwargs) -> None: super(CreateDatabaseRestorePointDefinition, self).__init__(**kwargs) self.restore_point_label = restore_point_label