
      86, 84, 85, -1, 84, 86, 95, -1,
      88, 87, 89, -1, 88, 81, 88, -1,
      81, 88, 90, -1, 89, 90, 88, -1,
      90, 89, 91, -1, 90, 86, 81, -1,
      86, 90, 92, -1, 91, 92, 90, -1,
      92, 91, 93, -1, 92, 86, 86, -1,
      86, 92, 94, -1, 94, 95, 86, -1,
      93, 94, 92, -1, 94, 93, 96, -1,
      96, 95, 94, -1, 95, 96, 97, -1,
      98, 89, 87, -1, 89, 98, 99, -1,
      99, 98, 100, -1, 100, 98, 101, -1,
      102, 101, 98, -1, 101, 102, 103, -1,
      99, 91, 89, -1, 91, 99, 104, -1,
      100, 104, 99, -1, 104, 100, 105, -1,
      101, 105, 100, -1, 105, 101, 106, -1,
      103, 106, 101, -1, 106, 103, 114, -1,
      104, 93, 91, -1, 93, 104, 107, -1,
      105, 107, 104, -1, 107, 105, 110, -1,
      106, 110, 105, -1, 110, 106, 108, -1,
      114, 108, 106, -1, 107, 96, 93, -1,
      96, 107, 109, -1, 110, 109, 107, -1,
      109, 97, 96, -1, 97, 109, 111, -1,
      110, 111, 109, -1, 111, 110, 112, -1,
      108, 112, 110, -1, 114, 112, 108, -1,
      112, 114, 116, -1, 103, 102, 113, -1,
      113, 114, 103, -1, 114, 113, 115, -1,
      115, 116, 114, -1, 116, 115, 117, -1,
      116, 117, 118, -1, 120, 119, 121, -1,
      121, 122, 119, -1, 122, 121, 123, -1,
      122, 123, 124, -1, 124, 125, 122, -1,
      124, 125, 126, -1, 127, 121, 120, -1,
      127, 123, 121, -1, 123, 127, 128, -1,
      134, 128, 127, -1, 134, 128, 129, -1,
      129, 124, 123, -1, 124, 129, 130, -1,
      126, 131, 124, -1, 126, 131, 132, -1,
      130, 132, 131, -1, 132, 130, 149, -1,
      134, 133, 135, -1, 135, 133, 136, -1,
      136, 133, 138, -1, 137, 138, 133, -1,
      138, 137, 139, -1, 138, 139, 140, -1,
      135, 129, 134, -1, 129, 135, 141, -1,
      136, 141, 135, -1, 141, 136, 142, -1,
      138, 142, 136, -1, 142, 138, 143, -1,
      140, 143, 138, -1, 143, 140, 144, -1,
      141, 130, 129, -1, 130, 141, 145, -1,
      142, 145, 141, -1, 145, 142, 146, -1,
      143, 146, 142, -1, 146, 143, 147, -1,
      144, 147, 143, -1, 147, 144, 148, -1,
      145, 149, 130, -1, 146, 149, 145, -1,
      147, 149, 146, -1, 147, 148, 150, -1,
      150, 149, 147, -1, 149, 150, 161, -1,
      139, 137, 151, -1, 151, 140, 139, -1,
      140, 151, 152, -1, 153, 151, 137, -1,
      151, 153, 154, -1, 154, 152, 151, -1,
      152, 154, 155, -1, 152, 144, 140, -1,
      144, 152, 156, -1, 155, 156, 152, -1,
      156, 155, 157, -1, 156, 148, 144, -1,
      148, 156, 158, -1, 157, 158, 156, -1,
      158, 157, 159, -1, 158, 150, 148, -1,
      150, 158, 160, -1, 160, 161, 150, -1,
      159, 160, 158, -1, 160, 159, 162, -1,
      162, 161, 160, -1, 161, 162, 163, -1,
      154, 153, 164, -1, 165, 164, 153, -1,
      164, 155, 154, -1, 155, 164, 166, -1,
      165, 166, 164, -1, 166, 165, 167, -1,
      167, 165, 168, -1, 168, 165, 169, -1,
      166, 157, 155, -1, 157, 166, 170, -1,
      167, 170, 166, -1, 170, 167, 171, -1,
      168, 171, 167, -1, 171, 168, 172, -1,
      169, 172, 168, -1, 172, 169, 180, -1,
      170, 159, 157, -1, 159, 170, 173, -1,
      171, 173, 170, -1, 173, 171, 176, -1,
      172, 176, 171, -1, 1//============================================================================
// Copyright (C) Microsoft Corporation, All rights reserved. 
//============================================================================
//

[ClassVersion( "1.0" ), Abstract,
Description(
    "A file server object models the subsystems concept of a file server."
    )]
class MSFT_FileServer : MSFT_StorageObject
{
    [Read, Required, Description(
        "A user-friendly string representing the name of the file server. Friendly name "
        "can be set using the SetFriendlyName method."
        )]
    String FriendlyName;

    [Read, Required, Description(
        "HostNames are semi-unique (scoped to the owning storage subsystem), human-"
        "readable strings used to identify a file server. There is a separate host "
        "name element per file sharing protocol."
        )]
    String HostNames[];

    [Read, Required, Description(
        "Denotes the current health status of the file server.\n "
        "0 - 'Healthy': TBD.\n"
        "1 - 'Warning': TBD.\n"
        "2 - 'Unhealthy': TBD."
        "5 - 'Unknown': TBD."
        ),
        ValueMap { "0", "1", "2", "5" }, 
        Values { "Healthy", "Warning", "Unhealthy", "Unknown" }]
    UInt16 HealthStatus;

    [Read, Required, Description(
        "Indicates the current operating conditions of the file server. Unlike HealthStatus, "
        "this field indicates the status of hardware, software, and infrastructure issues related "
        "to this server, and can contain multiple values. Various operational statuses are "
        "defined. Many of the enumeration's values are self-explanatory."
        ),
        ValueMap {
            "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
            "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
            "..",
            "0xD000", "0xD001",
            "0xD002.."
            },
        Values {
            // 0 - 4
            "Unknown", "Other", "OK", "Degraded", "Stressed",
            // 5 - 9
            "Predictive Failure", "Error", "Non-Recoverable Error", "Starting", "Stopping",
            // 10 - 14
            "Stopped", "In Service", "No Contact", "Lost Communication", "Aborted",
            // 15 - 19
            "Dormant", "Supporting Entity in Error", "Completed", "Power Mode", "Relocating",
            // ..
            "Microsoft Reserved",
            // 0xD000 - 0xD001
            "Read-only", "Incomplete",
            // ..
            "Microsoft Reserved" }]
     UInt16 OperationalStatus[];

    [Read, Description(
        "A string representation of the vendor defined operational status. "
        "This field should only be set if the OperationalStatus array contains 1 - "
        "'Other'."
        )]
    String OtherOperationalStatusDescription;

    [Read, Description(
        "If TRUE the server supports file share creation."
        )]
    Boolean SupportsFileShareCreation;

    [Read, Description(
        "If TRUE the file server will support continuously available "
        "file shares."
        )]
    Boolean SupportsContinuouslyAvailableFileShare;

    [Read, Description(
        "The file sharing protocols supported by the file server."),
        ValueMap { "2", "3" },
        Values { "NFS", "SMB"}]
    UInt16 FileSharingProtocols[];

    [Read, Description(
        "Specifies the file sharing protocol versions supported."
        )]
    String FileSharingProtocolVersions[];

    //
    // Method: CreateFileShare
    //

    UInt32 CreateFileShare(

        [In, Required]
        String Name,

        [In]
        String Description,

        [In, Required, EmbeddedInstance("MSFT_Volume")]
        String SourceVolume,

        [In]
        String VolumeRelativePath,

        [In]
        Boolean ContinuouslyAvailable,

        [In]
        Boolean EncryptData,
        
        [In]
        UInt16 FileSharingProtocol,

        [Out, EmbeddedInstance("MSFT_FileShare")]
        String CreatedFileShare,

        [Out]
        MSFT_StorageJob REF CreatedStorageJob,

        [Out, EmbeddedInstance("MSFT_StorageExtendedStatus")]
        String ExtendedStatus
    );

    //
    // Method: DeleteObject
    //

    UInt32 DeleteObject(

        [Out]
        MSFT_StorageJob REF CreatedStorageJob,

        [Out, EmbeddedInstance("MSFT_StorageExtendedStatus")]
        String ExtendedStatus
    );

    //
    // Method: SetFriendlyName
    //

    UInt32 SetFriendlyName(

        [In, Required]
        String FriendlyName,

        [Out, EmbeddedInstance("MSFT_StorageExtendedStatus")]
        String ExtendedStatus
        );

};