1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
# 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
class GetTdeCertificatesSqlTaskInput(Model):
"""Input for the task that gets TDE certificates in Base64 encoded format.
All required parameters must be populated in order to send to Azure.
:param connection_info: Required. Connection information for SQL Server
:type connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo
:param backup_file_share: Required. Backup file share information for file
share to be used for temporarily storing files.
:type backup_file_share: ~azure.mgmt.datamigration.models.FileShare
:param selected_certificates: Required. List containing certificate names
and corresponding password to use for encrypting the exported certificate.
:type selected_certificates:
list[~azure.mgmt.datamigration.models.SelectedCertificateInput]
"""
_validation = {
'connection_info': {'required': True},
'backup_file_share': {'required': True},
'selected_certificates': {'required': True},
}
_attribute_map = {
'connection_info': {'key': 'connectionInfo', 'type': 'SqlConnectionInfo'},
'backup_file_share': {'key': 'backupFileShare', 'type': 'FileShare'},
'selected_certificates': {'key': 'selectedCertificates', 'type': '[SelectedCertificateInput]'},
}
def __init__(self, **kwargs):
super(GetTdeCertificatesSqlTaskInput, self).__init__(**kwargs)
self.connection_info = kwargs.get('connection_info', None)
self.backup_file_share = kwargs.get('backup_file_share', None)
self.selected_certificates = kwargs.get('selected_certificates', None)
|