// Copyright (c) 2005 DMTF. All rights reserved. [Experimental, Version ( "2.8.1000" ), UMLPackagePath ( "CIM::System::FileServices" ), Description ( "ImportedFileShareCapabilities specifies the combination of " "properties that a FileImportService can support when creating " "or maintaining FileShares. Each supported combination of " "properties is specified by an ImportedFileShareSetting that is " "associated with the ImportedFileShareCapabilities element via " "SettingAssociatedToCapabilities. \n" "A ImportedFileShareCapabilities element specifies the " "properties supported when using it. \n" "This class also provides a CreateGoal method that can be used " "to create a ImportedFileShareSetting element that can be used " "as a goal for creating or modifying a file share." )] class CIM_ImportedFileShareCapabilities : CIM_Capabilities { [Description ( "An enumerated integer indicating the filesharing " "protocol that this share can support. All settings " "associated with this Capabilities must have the same " "value for the FileSharingProtocol property. This " "property must exist and have a value." ), ValueMap { "0", "2", "3", "4", "5", "6", "7", "..", "0x8000.." }, Values { "Unknown", "NFS", "CIFS", "DAFS", "WebDAV", "HTTP", "FTP", "DMTF Reserved", "Vendor Defined" }, Read, ModelCorrespondence { "CIM_ImportedFileShareSetting.FileSharingProtocol", "CIM_ExportedFileShareSetting.FileSharingProtocol", "CIM_ImportedFileShareCapabilities.ProtocolVersions" }] uint16 FileSharingProtocol; [Description ( "An array of strings listing the versions of the file " "sharing protocol that can be supported via these " "capabilities. All settings associated with this " "Capabilities must have a non-empty subset of these " "values in the corresponding ProtocolVersions property." ), Read, ModelCorrespondence { "CIM_ExportedFileShareSetting.ProtocolVersions", "CIM_ImportedFileShareSetting.ProtocolVersions", "CIM_ImportedFileShareCapabilities.FileSharingProtocol" }] string ProtocolVersions[]; [Description ( "An array of property names of the Setting that this " "Capabilities element supports." ), ValueMap { "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "..", "0x8000.." }, Values { "RequestRetryPolicy", "TransmissionRetriesMax", "RetransmissionTimeout", "ImportFailurePolicy", "ImportRetriesMax", "ReadBufferSize", "WriteBufferSize", "AttributeCaching", "AccessPoints", "ReadWritePolicy", "CifsLocksSupportPolicy", "CifsNotificationPolicy", "AccessPolicies", "CifsLockPolicy", "ReadWritePref", "CachingOptions", "ImportOnServiceStart", "ExecutePref", "RootAccessPref", "InitialEnabledState", "DMTF Reserved", "Vendor Defined" }, Read] uint16 SupportedProperties[]; [Description ( "Start a job to create a ImportedFileShareSetting from an " "ImportedFileShareSetting provided by the caller. If the " "operation completes successfully and did not require a " "long-running ConcreteJob, it will return 0. If " "4096/0x1000 is returned, a ConcreteJob will be started " "to create the element. A Reference to the ConcreteJob " "will be returned in the output parameter Job. \n" "This method MAY return a CIM_Error representing that a " "single named property of a setting (or other) parameter " "(either reference or embedded object) has an invalid " "value or that an invalid combination of named properties " "of a setting (or other) parameter (either reference or " "embedded object) has been requested. \n" "If the input TemplateGoal is NULL or the empty string, " "this method returns a default ImportedFileShareSetting " "that is supported by this ImportedFileShareCapabilities. \n" "The output is returned as the SupportedGoal parameter. " "Both TemplateGoal and SupportedGoal are embedded objects " "and do not exist in the provider but are maintained by " "the client. \n" "If the TemplateGoal specifies values that cannot be " "supported, this method must return an appropriate error " "and should return a best match for a SupportedGoal." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Job Completed with No Error", "Not Supported", "Unknown", "Timeout", "Failed", "Invalid Parameter", "Template Goal cannot be matched.", "DMTF Reserved", "Method Parameters Checked - Job Started", "Method Reserved", "Vendor Specific" }] uint16 CreateGoal( [IN ( false ), OUT, Description ( "Reference to the job (may be null if job completed)." )] CIM_ConcreteJob REF Job, [IN, Description ( "This is an element of the " "CIM_ImportedFileShareSetting class, or a derived " "class, encoded as a string-valued embedded object " "parameter. It specifies the goal element to be " "used for matching." ), EmbeddedInstance ( "CIM_ImportedFileShareSetting" )] string TemplateGoal, [IN ( false ), OUT, Description ( "This is an element of the " "CIM_ImportedFileShareSetting class, or a derived " "class, encoded as a string-valued embedded object " "parameter. It specifies the element that is " "returned as the best supported match to the " "TemplateGoal." ), EmbeddedInstance ( "CIM_ImportedFileShareSetting" )] string SupportedGoal); };