(file) Return to CIM_LaunchInContextService.mof CVS log (file) (dir) Up to [Pegasus] / pegasus / Schemas / CIM231 / DMTF / Core

File: [Pegasus] / pegasus / Schemas / CIM231 / DMTF / Core / CIM_LaunchInContextService.mof (download)
Revision: 1.1, Tue Jan 24 13:50:00 2012 UTC (12 years, 5 months ago) by marek
Branch: MAIN
CVS Tags: preBug9676, postBug9676, TASK-TASK_PEP362_RestfulService_branch-root, TASK-TASK_PEP362_RestfulService_branch-merged_out_from_trunk, TASK-TASK_PEP362_RestfulService_branch-merged_in_to_trunk, TASK-TASK_PEP362_RestfulService_branch-merged_in_from_branch, TASK-TASK_PEP362_RestfulService_branch-branch, TASK-PEP362_RestfulService-root, TASK-PEP362_RestfulService-merged_out_to_branch, TASK-PEP362_RestfulService-merged_out_from_trunk, TASK-PEP362_RestfulService-merged_in_to_trunk, TASK-PEP362_RestfulService-merged_in_from_branch, TASK-PEP362_RestfulService-branch, TASK-PEP317_pullop-merged_out_from_trunk, TASK-PEP317_pullop-merged_in_to_trunk, RELEASE_2_14_1, RELEASE_2_14_0-RC2, RELEASE_2_14_0-RC1, RELEASE_2_14_0, RELEASE_2_14-root, RELEASE_2_14-branch, RELEASE_2_13_0-RC2, RELEASE_2_13_0-RC1, RELEASE_2_13_0-FC, RELEASE_2_13_0, RELEASE_2_13-root, RELEASE_2_13-branch, RELEASE_2_12_1-RC1, RELEASE_2_12_1, RELEASE_2_12_0-RC1, RELEASE_2_12_0-FC, RELEASE_2_12_0, RELEASE_2_12-root, RELEASE_2_12-branch, HEAD, CIMRS_WORK_20130824
Branch point for: TASK-PEP317_pullop-branch
BUG#:9155
TITLE: Upgrade Pegasus to Include the CIM 2.31 Schema in CVS

DESCRIPTION:

// Copyright (c) 2010 DMTF.  All rights reserved.
   [Version ( "2.27.0" ), 
    UMLPackagePath ( "CIM::Core::LaunchInContext" ), 
    Description ( 
       "The LaunchInContext service provides the means for a client to "
       "manage information naming external services that are available "
       "to manage resources represented by instances in the containing "
       "CIM Namespace." )]
class CIM_LaunchInContextService : CIM_Service {


      [Description ( 
          "This method is used to create a CIM_LaunchInContextSAP "
          "and related associations. When instantiated, a "
          "CIM_ServiceAffectsElement association with an "
          "ElementEffects entry = 5 shall be instantiated. "
          "Additionally, the required CIM_HostedServiceAccessPoint "
          "association shall be created to the CIM_System on which "
          "this service has a CIM_HostedService association. \n"
          "If the RestrictedToElement array is NULL, then the "
          "instantiated CIM_LaunchInContextSAP applies to all "
          "instances of the classes named in the ManagedClasses "
          "array. Otherwise, the new instance applies to only those "
          "instances of CIM_ManagedElement that are explicitly "
          "referenced in the RestrictedToElement array.\n"
          "0\'Completed with No Error\' shall be returned on success.\n"
          "1\'Not Supported\' shall be returned if this method is "
          "not supported.\n"
          "2\'Unknown or Unspecified Error\' is not expected\n"
          "3\'Atomicity Error\' shall be returned if all of the "
          "specified restrictions can not be applied atomically. In "
          "that case, The Launch Point shall not be created and "
          "none of the added restrictions shall be applied and the "
          "recommended fall back is to apply them one by one.\n"
          "4\'Invalid Parameter\' shall be returned if LaunchInfo "
          "does not contain a valid CIM_LaunchInContextSAP instance "
          "specification or if any RestrictedToElement entry is not "
          "a well-formed association.\n"
          "5\'In Use\' shall be returned if an instance of "
          "CIM_LaunchInContextSAP having the same keys is already "
          "instantiated.6\'Restriction Error\' shall be returned if "
          "ManagementIsRestricted is false and the "
          "RestrictedToElement list is not empty or NULL." ), 
       ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", 
          "32768..65535" }, 
       Values { "Completed with No Error", "Not Supported", 
          "Unknown or Unspecified Error", "Atomicity Error", 
          "Invalid Parameter", "In Use", "Restriction Error", 
          "DMTF Reserved", "Vendor Specific" }]
   uint32 CreateLaunchPoint(
         [Required, In, Description ( 
             "An instance specification for a "
             "CIM_LaunchInContextSAP. \n"
             "Note: The SystemCreationClassName and SystemName "
             "property specifications shall be ignored and the "
             "instantiated instance shall use the corresponding "
             "values from the System associated to this service "
             "by CIM_HostedService." ), 
          EmbeddedInstance ( "CIM_LaunchInContextSAP" )]
      string LaunchPointSpecification, 
         [In, Description ( 
             "If the specified launch point property, "
             "ManagementIsRestricted is false, then this "
             "property shall be NULL.\n"
             "If Null, then the new instance of "
             "CIM_LaunchInContextSAP shall apply to all "
             "resources belonging to the system associated with "
             "this service or shall apply to no resources, "
             "depending on the value of ManagementIsRestricted. "
             "If not NULL, this property contains a list of "
             "references to instances of CIM_ManagedElement to "
             "which the new launch point is restricted. Such "
             "instances do not have to be related to the system "
             "of this service.\n"
             "A well-formed reference that does not point to an "
             "instance of CIM_ManagedElement at the time of "
             "invocation shall be ignored.\n"
             "On successful completion, a CIM_ManagementSAP "
             "association shall be instantiated between the new "
             "launch point and each element referenced in the "
             "RestrictedToElement list." )]
      CIM_ManagedElement REF RestrictedToElement[], 
         [Out, Description ( 
             "References the created instance of CIM_LaunchInContextSAP."
              )]
      CIM_LaunchInContextSAP REF LaunchPoint);

      [Description ( 
          "This method is used to remove launch point information "
          "and related associations, including restrictions.\n"
          "If the RestrictedToElement array is NULL, then the "
          "removal is unconditional and additionally removes any "
          "related CIM_ManagementSAP associations as well. "
          "Otherwise, the CIM_ManagementSAP associations are "
          "removed and the instance of CIM_LaunchInContextSAP is "
          "removed only if no CIM_ManagementSAP associations remain.\n"
          "When an instance of CIM_LaunchInContextSAP is removed, "
          "related CIM_ServiceAffectsElement and "
          "CIM_HostedServiceAccessPoint associations are also removed.\n"
          "0\'Completed with No Error\' is returned on success.\n"
          "1\'Not Supported\' shall be returned if this method is "
          "not supported.\n"
          "2\'Unknown or Unspecified Error\' is not expected\n"
          "3\'Atomicity Error\' shall be returned if all of the "
          "specified restrictions can not be removed atomically. In "
          "that case, The Launch Point shall not be deleted and "
          "none of the existing restrictions shall be removed and "
          "the recommended fall back is to apply them one by one.\n"
          "4\'Invalid Parameter\' shall be returned if LaunchPoint "
          "does not reference avalid CIM_LaunchInContextSAP "
          "instance specification or if any RestrictedToElement "
          "entry is not a well-formed association.\n"
          "5\'In Use\' is not expected.\n"
          "6\'Restriction Error\' shall be returned if "
          "ManagementIsRestricted is false and the "
          "RestrictedToElement list is not empty or NULL." ), 
       ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", 
          "32768..65535" }, 
       Values { "Completed with No Error", "Not Supported", 
          "Unknown or Unspecified Error", "Atomicity Error", 
          "Invalid Parameter", "In Use", "Restriction Error", 
          "DMTF Reserved", "Vendor Specific" }]
   uint32 RemoveLaunchPoint(
         [Required, In, Description ( 
             "Names an instance of CIM_LaunchInContextSAP "
             "representing a launch point that no longer applies.\n"
             "On successful completions, if the "
             "RestrictedToElement array is null or empty, the "
             "referenced LaunchPoint instance shall be removed. "
             "Otherwise the referenced LaunchPoint instance "
             "shall not be removed unless the operation "
             "completes successfully and there are no remaining "
             "CIM_ManagementSAP associations to it." )]
      CIM_LaunchInContextSAP REF LaunchPoint, 
         [In, Description ( 
             "Names specific instances of CIM_ManagedElement to "
             "which the related CIM_LaunchInContextSAP shall no "
             "longer apply.\n"
             "On successful completion, All CIM_ManagementSAP "
             "associations between the named LaunchPoint and "
             "each named CIM_ManagedElement instance shall be "
             "removed." )]
      CIM_ManagedElement REF RestrictedToElement[]);

      [Description ( 
          "Apply the referenced CIM_LaunchInContextSAP to "
          "additional instances of CIM_ManagedElement. These "
          "actions shall be applied atomically.\n"
          "0\'Completed with No Error\' shall be returned on success.\n"
          "1\'Not Supported\' is returned if this method is not supported.\n"
          "2\'Unknown or Unspecified Error\' is not expected\n"
          "3\'Atomicity Error\' shall be returned if all of the "
          "specified restrictions can not be applied atomically. In "
          "that case, no changes shall be made. The recommended "
          "fall back is to apply them one by one.\n"
          "4\'Invalid Parameter\' shall be returned if LaunchPoint "
          "does not reference avalid CIM_LaunchInContextSAP "
          "instance specification or if any RestrictedToElement "
          "entry is not a well-formed association.\n"
          "5\'In Use\' is not expected.\n"
          "6\'Restriction Error\' shall be returned if the "
          "ManagementIsRestricted of the referenced launch point is "
          "false." ), 
       ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", 
          "32768..65535" }, 
       Values { "Completed with No Error", "Not Supported", 
          "Unknown or Unspecified Error", "Atomicity Error", 
          "Invalid Parameter", "In Use", "Restriction Error", 
          "DMTF Reserved", "Vendor Specific" }]
   uint32 ApplyLaunchPoint(
         [Required, In, Description ( 
             "Names an instance of CIM_LaunchInContextSAP "
             "representing a launch point." )]
      CIM_LaunchInContextSAP REF LaunchPoint, 
         [Required, In, Description ( 
             "Names specific instances of CIM_ManagedElement to "
             "which the related CIM_LaunchInContextSAP shall apply.\n"
             "On successful completion, A CIM_ManagementSAP "
             "association shall be instantiated for each "
             "referenced instance." )]
      CIM_ManagedElement REF RestrictedToElement[]);

};

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2