summaryrefslogtreecommitdiffstats
path: root/Schemas/CIM228/DMTF/Core/CIM_LaunchInContextService.mof
diff options
context:
space:
mode:
Diffstat (limited to 'Schemas/CIM228/DMTF/Core/CIM_LaunchInContextService.mof')
-rw-r--r--Schemas/CIM228/DMTF/Core/CIM_LaunchInContextService.mof183
1 files changed, 183 insertions, 0 deletions
diff --git a/Schemas/CIM228/DMTF/Core/CIM_LaunchInContextService.mof b/Schemas/CIM228/DMTF/Core/CIM_LaunchInContextService.mof
new file mode 100644
index 0000000..9b07c69
--- /dev/null
+++ b/Schemas/CIM228/DMTF/Core/CIM_LaunchInContextService.mof
@@ -0,0 +1,183 @@
+// 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[]);
+
+};