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 .auto_storage_base_properties import AutoStorageBaseProperties
class AutoStorageProperties(AutoStorageBaseProperties):
"""Contains information about the auto-storage account associated with a Batch
account.
:param storage_account_id: The resource ID of the storage account to be
used for auto-storage account.
:type storage_account_id: str
:param last_key_sync: The UTC time at which storage keys were last
synchronized with the Batch account.
:type last_key_sync: datetime
"""
_validation = {
'storage_account_id': {'required': True},
'last_key_sync': {'required': True},
}
def __init__(self, storage_account_id):
super(AutoStorageBaseProperties, self).__init__()
self.storage_account_id = storage_account_id