File: mount_volumes_py3.py

package info (click to toggle)
python-azure 20181112%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 407,300 kB
  • sloc: python: 717,190; makefile: 201; sh: 76
file content (47 lines) | stat: -rw-r--r-- 2,343 bytes parent folder | download
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 MountVolumes(Model):
    """Details of volumes to mount on the cluster.

    :param azure_file_shares: Azure File Share setup configuration. References
     to Azure File Shares that are to be mounted to the cluster nodes.
    :type azure_file_shares:
     list[~azure.mgmt.batchai.models.AzureFileShareReference]
    :param azure_blob_file_systems: Azure Blob FileSystem setup configuration.
     References to Azure Blob FUSE that are to be mounted to the cluster nodes.
    :type azure_blob_file_systems:
     list[~azure.mgmt.batchai.models.AzureBlobFileSystemReference]
    :param file_servers: References to a list of file servers that are mounted
     to the cluster node.
    :type file_servers: list[~azure.mgmt.batchai.models.FileServerReference]
    :param unmanaged_file_systems: References to a list of file servers that
     are mounted to the cluster node.
    :type unmanaged_file_systems:
     list[~azure.mgmt.batchai.models.UnmanagedFileSystemReference]
    """

    _attribute_map = {
        'azure_file_shares': {'key': 'azureFileShares', 'type': '[AzureFileShareReference]'},
        'azure_blob_file_systems': {'key': 'azureBlobFileSystems', 'type': '[AzureBlobFileSystemReference]'},
        'file_servers': {'key': 'fileServers', 'type': '[FileServerReference]'},
        'unmanaged_file_systems': {'key': 'unmanagedFileSystems', 'type': '[UnmanagedFileSystemReference]'},
    }

    def __init__(self, *, azure_file_shares=None, azure_blob_file_systems=None, file_servers=None, unmanaged_file_systems=None, **kwargs) -> None:
        super(MountVolumes, self).__init__(**kwargs)
        self.azure_file_shares = azure_file_shares
        self.azure_blob_file_systems = azure_blob_file_systems
        self.file_servers = file_servers
        self.unmanaged_file_systems = unmanaged_file_systems