@device-management-toolkit/wsman-messages 5.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -0
- package/WSMan.d.ts +217 -0
- package/WSMan.js +395 -0
- package/WSMan.js.map +1 -0
- package/amt/actions.d.ts +112 -0
- package/amt/actions.js +118 -0
- package/amt/actions.js.map +1 -0
- package/amt/classes.d.ts +33 -0
- package/amt/classes.js +38 -0
- package/amt/classes.js.map +1 -0
- package/amt/index.d.ts +12 -0
- package/amt/index.js +17 -0
- package/amt/index.js.map +1 -0
- package/amt/messages.d.ts +466 -0
- package/amt/messages.js +819 -0
- package/amt/messages.js.map +1 -0
- package/amt/messages.test.d.ts +5 -0
- package/amt/messages.test.js +1091 -0
- package/amt/messages.test.js.map +1 -0
- package/amt/methods.d.ts +42 -0
- package/amt/methods.js +47 -0
- package/amt/methods.js.map +1 -0
- package/amt/models.d.ts +329 -0
- package/amt/models.js +7 -0
- package/amt/models.js.map +1 -0
- package/amt/types.d.ts +206 -0
- package/amt/types.js +7 -0
- package/amt/types.js.map +1 -0
- package/cim/actions.d.ts +9 -0
- package/cim/actions.js +14 -0
- package/cim/actions.js.map +1 -0
- package/cim/classes.d.ts +27 -0
- package/cim/classes.js +32 -0
- package/cim/classes.js.map +1 -0
- package/cim/index.d.ts +12 -0
- package/cim/index.js +16 -0
- package/cim/index.js.map +1 -0
- package/cim/messages.d.ts +136 -0
- package/cim/messages.js +215 -0
- package/cim/messages.js.map +1 -0
- package/cim/messages.test.d.ts +5 -0
- package/cim/messages.test.js +408 -0
- package/cim/messages.test.js.map +1 -0
- package/cim/methods.d.ts +15 -0
- package/cim/methods.js +20 -0
- package/cim/methods.js.map +1 -0
- package/cim/models.d.ts +376 -0
- package/cim/models.js +7 -0
- package/cim/models.js.map +1 -0
- package/cim/types.d.ts +296 -0
- package/cim/types.js +7 -0
- package/cim/types.js.map +1 -0
- package/dist +42 -0
- package/index.d.ts +9 -0
- package/index.js +49 -0
- package/index.js.map +1 -0
- package/ips/actions.d.ts +15 -0
- package/ips/actions.js +20 -0
- package/ips/actions.js.map +1 -0
- package/ips/classes.d.ts +12 -0
- package/ips/classes.js +17 -0
- package/ips/classes.js.map +1 -0
- package/ips/index.d.ts +12 -0
- package/ips/index.js +16 -0
- package/ips/index.js.map +1 -0
- package/ips/messages.d.ts +117 -0
- package/ips/messages.js +210 -0
- package/ips/messages.js.map +1 -0
- package/ips/messages.test.d.ts +5 -0
- package/ips/messages.test.js +206 -0
- package/ips/messages.test.js.map +1 -0
- package/ips/methods.d.ts +21 -0
- package/ips/methods.js +26 -0
- package/ips/methods.js.map +1 -0
- package/ips/models.d.ts +59 -0
- package/ips/models.js +7 -0
- package/ips/models.js.map +1 -0
- package/ips/types.d.ts +58 -0
- package/ips/types.js +7 -0
- package/ips/types.js.map +1 -0
- package/models/common.d.ts +104 -0
- package/models/common.js +7 -0
- package/models/common.js.map +1 -0
- package/models/index.d.ts +6 -0
- package/models/index.js +43 -0
- package/models/index.js.map +1 -0
- package/package.json +41 -0
- package/wsman.test.d.ts +5 -0
- package/wsman.test.js +479 -0
- package/wsman.test.js.map +1 -0
package/amt/types.d.ts
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2021
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export declare namespace Types {
|
|
6
|
+
namespace AMTAuthenticateObject {
|
|
7
|
+
/**
|
|
8
|
+
* 0 = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
|
|
9
|
+
*/
|
|
10
|
+
type SignatureMechanism = 0;
|
|
11
|
+
}
|
|
12
|
+
namespace GeneralSettings {
|
|
13
|
+
/**
|
|
14
|
+
* 0 = IPv4 | 1 = IPv6
|
|
15
|
+
*/
|
|
16
|
+
type PreferredAddressFamily = 0 | 1;
|
|
17
|
+
/**
|
|
18
|
+
* 0 = Disabled | 1 = Enabled
|
|
19
|
+
*/
|
|
20
|
+
type AMTNetworkEnabled = 0 | 1;
|
|
21
|
+
/**
|
|
22
|
+
* 0 = Default | 1 = Enhanced | 2 = Extreme
|
|
23
|
+
*/
|
|
24
|
+
type PrivacyLevel = 0 | 1 | 2;
|
|
25
|
+
/**
|
|
26
|
+
* 0 = AC | 1 = DC
|
|
27
|
+
*/
|
|
28
|
+
type PowerSource = 0 | 1;
|
|
29
|
+
/**
|
|
30
|
+
* 0=Disabled | 1=Enabled. Default: Enabled.
|
|
31
|
+
* Available in Release 15.0 and later releases.
|
|
32
|
+
*/
|
|
33
|
+
type ThunderboltDockEnabled = 0 | 1;
|
|
34
|
+
}
|
|
35
|
+
namespace EthernetPortSettings {
|
|
36
|
+
/**
|
|
37
|
+
* 1 = available on S0 AC | 14 = available on Sx AC | 16 = available on S0 DC | 224 = available on Sx DC
|
|
38
|
+
*/
|
|
39
|
+
type LinkPolicyValues = 1 | 14 | 16 | 224;
|
|
40
|
+
type LinkPolicy = LinkPolicyValues[];
|
|
41
|
+
/**
|
|
42
|
+
* 1 = ME | 2 = HOST
|
|
43
|
+
*/
|
|
44
|
+
type LinkPreference = 1 | 2;
|
|
45
|
+
/**
|
|
46
|
+
* 1 = ME | 2 = HOST
|
|
47
|
+
*/
|
|
48
|
+
type LinkControl = 1 | 2;
|
|
49
|
+
/**
|
|
50
|
+
* Indicates the number of retransmissions host TCP SW tries if no ack is accepted
|
|
51
|
+
*/
|
|
52
|
+
type ConsoleTcpMaxRetransmissions = 5 | 6 | 7;
|
|
53
|
+
/**
|
|
54
|
+
* 0 = OVERRIDE | 1 = NONE | 2 = PASSIVE | 3 = HIGH
|
|
55
|
+
*/
|
|
56
|
+
type WLANLinkProtectionLevel = 0 | 1 | 2 | 3;
|
|
57
|
+
/**
|
|
58
|
+
* 0 = "Integrated LAN NIC" | 1 = "Discrete LAN NIC" | 2 = "LAN via a Thunderbolt dock" | 3 = "Wireless LAN"
|
|
59
|
+
*/
|
|
60
|
+
type PhysicalConnectionType = 0 | 1 | 2 | 3;
|
|
61
|
+
/**
|
|
62
|
+
* 0 = "SMBUS" | 1 = "PCIe"
|
|
63
|
+
*/
|
|
64
|
+
type PhysicalNicMedium = 0 | 1;
|
|
65
|
+
}
|
|
66
|
+
namespace MPServer {
|
|
67
|
+
/**
|
|
68
|
+
* 3 = IPv4 Address | 4 = IPv6 Address | 201 = FQDN
|
|
69
|
+
*/
|
|
70
|
+
type InfoFormat = 3 | 4 | 201;
|
|
71
|
+
/**
|
|
72
|
+
* 1 = Mutual Authentication | 2 = Username Password Authentication
|
|
73
|
+
*/
|
|
74
|
+
type AuthMethod = 1 | 2;
|
|
75
|
+
}
|
|
76
|
+
namespace RemoteAccessPolicyRule {
|
|
77
|
+
/**
|
|
78
|
+
* 0 = User Initiated | 1 = Alert | 2 = Periodic | 3 = Home Provisioning
|
|
79
|
+
*/
|
|
80
|
+
type Trigger = 0 | 1 | 2 | 3;
|
|
81
|
+
}
|
|
82
|
+
namespace SystemDefensePolicy {
|
|
83
|
+
/**
|
|
84
|
+
* 0 = Off | 1 = EventOnMatch | 2 = Count | 3 = Counting + EventOnMatch | 4 = On without Counting or EventOnMatch
|
|
85
|
+
*/
|
|
86
|
+
type AntiSpoofingSupport = 0 | 1 | 2 | 3 | 4;
|
|
87
|
+
}
|
|
88
|
+
namespace EnvironmentDetectionSettingData {
|
|
89
|
+
/**
|
|
90
|
+
* 0 = Local Domains | 1 = Remote URLs
|
|
91
|
+
*/
|
|
92
|
+
type DetectionAlgorithm = 0 | 1;
|
|
93
|
+
}
|
|
94
|
+
namespace BootSettingData {
|
|
95
|
+
/**
|
|
96
|
+
* 0 = System default | 1 = Quiet - minimal screen activity | 2 = Verbose - all messages appear on the screen | 3 = Screen blank - no messages appear on the screen
|
|
97
|
+
*/
|
|
98
|
+
type FirmwareVerbosity = 0 | 1 | 2 | 3;
|
|
99
|
+
/**
|
|
100
|
+
* 0 = Floppy Boot | 1 = CD Boot
|
|
101
|
+
*/
|
|
102
|
+
type IDERBootDevice = 0 | 1;
|
|
103
|
+
}
|
|
104
|
+
namespace EVENT_DATA {
|
|
105
|
+
/**
|
|
106
|
+
* 0 = unspecified | 1 = Monitor | 2 = Information | 4 = OK | 8 = Non-critical condition | 16 = Critical condition | 32 = Non-recoverable condition
|
|
107
|
+
*/
|
|
108
|
+
type EventSeverity = 0 | 1 | 2 | 4 | 8 | 16 | 32;
|
|
109
|
+
}
|
|
110
|
+
namespace RedirectionService {
|
|
111
|
+
/**
|
|
112
|
+
* 0 = Unknown | 1 = Other | 2 = Enabled | 3 = Disabled | 4 = Shutting Down | 5 = Not Applicable | 6 = Enabled but Offline | 7 = In Test | 8 = Deferred | 9 = Quiesce | 10 = Starting | 32768 = IDER and SOL are disabled | 32769 = IDER is enabled and SOL is disabled | 32770 = SOL is enabled and IDER is disabled | 32771 = IDER and SOL are enabled
|
|
113
|
+
*/
|
|
114
|
+
type EnabledState = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 32768 | 32769 | 32770 | 32771;
|
|
115
|
+
/**
|
|
116
|
+
* 32768 = disable IDER and SOL | 32769 = enable IDER and disable SOL | 32770 = enable SOL and disable IDER | 32771 = enable IDER and SOL
|
|
117
|
+
*/
|
|
118
|
+
type RequestedState = 32768 | 32769 | 32770 | 32771;
|
|
119
|
+
}
|
|
120
|
+
namespace GenerateKeyPairParameters {
|
|
121
|
+
/**
|
|
122
|
+
* 0 = RSA
|
|
123
|
+
*/
|
|
124
|
+
type KeyAlgorithm = 0;
|
|
125
|
+
/**
|
|
126
|
+
* The only valid key length is 2048 bits
|
|
127
|
+
*/
|
|
128
|
+
type KeyLength = 2048;
|
|
129
|
+
}
|
|
130
|
+
namespace GeneratePKCS10RequestEx {
|
|
131
|
+
/**
|
|
132
|
+
* 0 = SHA1-RSA | 1 = SHA256-RSA
|
|
133
|
+
*/
|
|
134
|
+
type SigningAlgorithm = 0 | 1;
|
|
135
|
+
}
|
|
136
|
+
namespace WiFiPortConfigurationService {
|
|
137
|
+
/**
|
|
138
|
+
* 0 = Unknown | 2 = Enabled | 3 = Disabled | 4 = Shut Down | 5 = No Change | 6 = Offline | 7 = Test | 8 = Deferred | 9 = Quiesce | 10 = Reboot | 11 = Reset | 12 = Not Applicable
|
|
139
|
+
*/
|
|
140
|
+
type RequestedState = 0 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
141
|
+
/**
|
|
142
|
+
* 0 = Unknown | 1 = Other | 2 = Enabled | 3 = Disabled | 4 = Shutting Down | 5 = Not Applicable | 6 = Enabled but Offline | 7 = In Test | 8 = Deferred | 9 = Quiesce | 10 = Starting
|
|
143
|
+
*/
|
|
144
|
+
type EnabledState = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
145
|
+
/**
|
|
146
|
+
* 0 = Unknown | 5 = OK | 10 = Degraded/Warning | 15 = Minor failure | 20 = Major failure | 25 = Critical failure | 30 = Non-recoverable error
|
|
147
|
+
*/
|
|
148
|
+
type HealthState = 0 | 5 | 10 | 15 | 20 | 25 | 30;
|
|
149
|
+
/**
|
|
150
|
+
* 0 = Local synchronization disabled | 3 = Unrestricted synchronization
|
|
151
|
+
*/
|
|
152
|
+
type localProfileSynchronizationEnabled = 0 | 3;
|
|
153
|
+
/**
|
|
154
|
+
* 0 = NoHostCsmeSoftwareRelaxedPolicy | 1 = NoHostCsmeSoftwareAggressivePolicy | 2 = Reserved
|
|
155
|
+
*/
|
|
156
|
+
type NoHostCsmeSoftwarePolicy = 0 | 1 | 2;
|
|
157
|
+
/**
|
|
158
|
+
* 0 = Enable | 1 = Disable
|
|
159
|
+
*/
|
|
160
|
+
type UEFIWiFiProfileShareEnabled = 0 | 1;
|
|
161
|
+
}
|
|
162
|
+
namespace RemoteAccessPolicyAppliesToMPS {
|
|
163
|
+
/**
|
|
164
|
+
* 0 = External MPS | 1 = Internal MPS | 2 = Both
|
|
165
|
+
*/
|
|
166
|
+
type MpsType = 0 | 1 | 2;
|
|
167
|
+
}
|
|
168
|
+
namespace UserInitiatedConnectionService {
|
|
169
|
+
/**
|
|
170
|
+
* 32768 = All Interfaces disabled | 32769 = BIOS Interface enabled | 32770 = OS Interface enabled | 32771 = BIOS and OS Interfaces enabled
|
|
171
|
+
*/
|
|
172
|
+
type RequestedState = 32768 | 32769 | 32770 | 32771;
|
|
173
|
+
}
|
|
174
|
+
namespace SetupAndConfigurationService {
|
|
175
|
+
/**
|
|
176
|
+
* 1 = Admin Control Mode | 4 = Client Control Mode
|
|
177
|
+
*/
|
|
178
|
+
type ProvisioningMode = 1 | 4;
|
|
179
|
+
/**
|
|
180
|
+
* Indicates the provisioning mode (Enterprise , Small Business or Remote Connectivity) the device will enter following successful completion of the command. Starting from Release 6.0 only effective value is ProvisioningModeEnterprise
|
|
181
|
+
* @value_map 0 = ProvisioningModeCurrent, 1 = ProvisioningModeEnterprise, 2 = ProvisioningModeSmallBusiness, 3 = ProvisioningRemoteConnectivity
|
|
182
|
+
*/
|
|
183
|
+
type ProvisioningMode_Input = 0 | 1 | 2 | 3;
|
|
184
|
+
}
|
|
185
|
+
namespace IEEE8021xProfile {
|
|
186
|
+
/**
|
|
187
|
+
* 0 = TLS | 1 = TTLS_MSCHAPv2 | 2 = PEAP_MSCHAPv2 | 3 = EAP_GTC | 4 = EAPFAST_MSCHAPv2 | 5 = EAPFAST_GTC | 6 = EAPFAST_TLS
|
|
188
|
+
*/
|
|
189
|
+
type AuthenticationProtocol = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
190
|
+
/**
|
|
191
|
+
* 0 = FullName | 1 = DomainSuffix
|
|
192
|
+
*/
|
|
193
|
+
type ServerCertificateNameComparison = 0 | 1;
|
|
194
|
+
}
|
|
195
|
+
namespace AuthorizationService {
|
|
196
|
+
/**
|
|
197
|
+
* Local Access Only:0 | Network Access Only:1 | Local and Network Access: 2
|
|
198
|
+
*/
|
|
199
|
+
type AccessPermission = 0 | 1 | 2;
|
|
200
|
+
/**
|
|
201
|
+
* RedirectionRealm: 2 | PTAdministrationRealm: 3 | HardwareAssetRealm: 4 | RemoteControlRealm: 5 | StorageRealm: 6 | EventManagerRealm: 7 | StorageAdminRealm: 8 | AgentPresenceLocalRealm: 9 | AgentPresenceRemoteRealm: 10 | CircuitBreakerRealm: 11 | NetworkTimeRealm: 12 | GeneralInfoRealm: 13 | EndpointAccessControlRealm: 17 | EndpointAccessControlAdminRealm: 18 | EventLogReaderRealm: 19 | AuditLogRealm: 20 | ACLRealm: 21 | LocalSystemRealm: 24
|
|
202
|
+
*/
|
|
203
|
+
type RealmValues = 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | 21 | 24;
|
|
204
|
+
type Realms = RealmValues[];
|
|
205
|
+
}
|
|
206
|
+
}
|
package/amt/types.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*********************************************************************
|
|
3
|
+
* Copyright (c) Intel Corporation 2021
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
**********************************************************************/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
//# sourceMappingURL=types.js.map
|
package/amt/types.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/amt/types.ts"],"names":[],"mappings":";AAAA;;;wEAGwE"}
|
package/cim/actions.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2021
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export declare enum Actions {
|
|
6
|
+
SET_BOOT_CONFIG_ROLE = "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_BootService/SetBootConfigRole",
|
|
7
|
+
CHANGE_BOOT_ORDER = "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_BootConfigSetting/ChangeBootOrder",
|
|
8
|
+
REQUEST_POWER_STATE_CHANGE = "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_PowerManagementService/RequestPowerStateChange"
|
|
9
|
+
}
|
package/cim/actions.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*********************************************************************
|
|
3
|
+
* Copyright (c) Intel Corporation 2021
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
**********************************************************************/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.Actions = void 0;
|
|
8
|
+
var Actions;
|
|
9
|
+
(function (Actions) {
|
|
10
|
+
Actions["SET_BOOT_CONFIG_ROLE"] = "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_BootService/SetBootConfigRole";
|
|
11
|
+
Actions["CHANGE_BOOT_ORDER"] = "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_BootConfigSetting/ChangeBootOrder";
|
|
12
|
+
Actions["REQUEST_POWER_STATE_CHANGE"] = "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_PowerManagementService/RequestPowerStateChange";
|
|
13
|
+
})(Actions || (exports.Actions = Actions = {}));
|
|
14
|
+
//# sourceMappingURL=actions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../src/cim/actions.ts"],"names":[],"mappings":";AAAA;;;wEAGwE;;;AAExE,IAAY,OAIX;AAJD,WAAY,OAAO;IACjB,uHAA4G,CAAA;IAC5G,wHAA6G,CAAA;IAC7G,8IAAmI,CAAA;AACrI,CAAC,EAJW,OAAO,uBAAP,OAAO,QAIlB"}
|
package/cim/classes.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2021
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export declare enum Classes {
|
|
6
|
+
SERVICE_AVAILABLE_TO_ELEMENT = "CIM_ServiceAvailableToElement",
|
|
7
|
+
SOFTWARE_IDENTITY = "CIM_SoftwareIdentity",
|
|
8
|
+
COMPUTER_SYSTEM_PACKAGE = "CIM_ComputerSystemPackage",
|
|
9
|
+
SYSTEM_PACKAGING = "CIM_SystemPackaging",
|
|
10
|
+
KVM_REDIRECTION_SAP = "CIM_KVMRedirectionSAP",
|
|
11
|
+
CHASSIS = "CIM_Chassis",
|
|
12
|
+
CHIP = "CIM_Chip",
|
|
13
|
+
CARD = "CIM_Card",
|
|
14
|
+
BIOS_ELEMENT = "CIM_BIOSElement",
|
|
15
|
+
PROCESSOR = "CIM_Processor",
|
|
16
|
+
PHYSICAL_MEMORY = "CIM_PhysicalMemory",
|
|
17
|
+
MEDIA_ACCESS_DEVICE = "CIM_MediaAccessDevice",
|
|
18
|
+
PHYSICAL_PACKAGE = "CIM_PhysicalPackage",
|
|
19
|
+
WIFI_ENDPOINT_SETTINGS = "CIM_WiFiEndpointSettings",
|
|
20
|
+
WIFI_PORT = "CIM_WiFiPort",
|
|
21
|
+
BOOT_SERVICE = "CIM_BootService",
|
|
22
|
+
BOOT_CONFIG_SETTING = "CIM_BootConfigSetting",
|
|
23
|
+
BOOT_SOURCE_SETTING = "CIM_BootSourceSetting",
|
|
24
|
+
POWER_MANAGEMENT_SERVICE = "CIM_PowerManagementService",
|
|
25
|
+
IEEE8021X_SETTINGS = "CIM_IEEE8021xSettings",
|
|
26
|
+
WIFI_ENDPOINT = "CIM_WiFiEndpoint"
|
|
27
|
+
}
|
package/cim/classes.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*********************************************************************
|
|
3
|
+
* Copyright (c) Intel Corporation 2021
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
**********************************************************************/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.Classes = void 0;
|
|
8
|
+
var Classes;
|
|
9
|
+
(function (Classes) {
|
|
10
|
+
Classes["SERVICE_AVAILABLE_TO_ELEMENT"] = "CIM_ServiceAvailableToElement";
|
|
11
|
+
Classes["SOFTWARE_IDENTITY"] = "CIM_SoftwareIdentity";
|
|
12
|
+
Classes["COMPUTER_SYSTEM_PACKAGE"] = "CIM_ComputerSystemPackage";
|
|
13
|
+
Classes["SYSTEM_PACKAGING"] = "CIM_SystemPackaging";
|
|
14
|
+
Classes["KVM_REDIRECTION_SAP"] = "CIM_KVMRedirectionSAP";
|
|
15
|
+
Classes["CHASSIS"] = "CIM_Chassis";
|
|
16
|
+
Classes["CHIP"] = "CIM_Chip";
|
|
17
|
+
Classes["CARD"] = "CIM_Card";
|
|
18
|
+
Classes["BIOS_ELEMENT"] = "CIM_BIOSElement";
|
|
19
|
+
Classes["PROCESSOR"] = "CIM_Processor";
|
|
20
|
+
Classes["PHYSICAL_MEMORY"] = "CIM_PhysicalMemory";
|
|
21
|
+
Classes["MEDIA_ACCESS_DEVICE"] = "CIM_MediaAccessDevice";
|
|
22
|
+
Classes["PHYSICAL_PACKAGE"] = "CIM_PhysicalPackage";
|
|
23
|
+
Classes["WIFI_ENDPOINT_SETTINGS"] = "CIM_WiFiEndpointSettings";
|
|
24
|
+
Classes["WIFI_PORT"] = "CIM_WiFiPort";
|
|
25
|
+
Classes["BOOT_SERVICE"] = "CIM_BootService";
|
|
26
|
+
Classes["BOOT_CONFIG_SETTING"] = "CIM_BootConfigSetting";
|
|
27
|
+
Classes["BOOT_SOURCE_SETTING"] = "CIM_BootSourceSetting";
|
|
28
|
+
Classes["POWER_MANAGEMENT_SERVICE"] = "CIM_PowerManagementService";
|
|
29
|
+
Classes["IEEE8021X_SETTINGS"] = "CIM_IEEE8021xSettings";
|
|
30
|
+
Classes["WIFI_ENDPOINT"] = "CIM_WiFiEndpoint";
|
|
31
|
+
})(Classes || (exports.Classes = Classes = {}));
|
|
32
|
+
//# sourceMappingURL=classes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classes.js","sourceRoot":"","sources":["../../src/cim/classes.ts"],"names":[],"mappings":";AAAA;;;wEAGwE;;;AAExE,IAAY,OAsBX;AAtBD,WAAY,OAAO;IACjB,yEAA8D,CAAA;IAC9D,qDAA0C,CAAA;IAC1C,gEAAqD,CAAA;IACrD,mDAAwC,CAAA;IACxC,wDAA6C,CAAA;IAC7C,kCAAuB,CAAA;IACvB,4BAAiB,CAAA;IACjB,4BAAiB,CAAA;IACjB,2CAAgC,CAAA;IAChC,sCAA2B,CAAA;IAC3B,iDAAsC,CAAA;IACtC,wDAA6C,CAAA;IAC7C,mDAAwC,CAAA;IACxC,8DAAmD,CAAA;IACnD,qCAA0B,CAAA;IAC1B,2CAAgC,CAAA;IAChC,wDAA6C,CAAA;IAC7C,wDAA6C,CAAA;IAC7C,kEAAuD,CAAA;IACvD,uDAA4C,CAAA;IAC5C,6CAAkC,CAAA;AACpC,CAAC,EAtBW,OAAO,uBAAP,OAAO,QAsBlB"}
|
package/cim/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2021
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
import { Actions } from './actions';
|
|
6
|
+
import { Classes } from './classes';
|
|
7
|
+
import { Messages } from './messages';
|
|
8
|
+
import { Methods } from './methods';
|
|
9
|
+
import type { Models } from './models';
|
|
10
|
+
import type { Types } from './types';
|
|
11
|
+
export { Methods, Actions, Classes, Messages };
|
|
12
|
+
export type { Types, Models };
|
package/cim/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*********************************************************************
|
|
3
|
+
* Copyright (c) Intel Corporation 2021
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
**********************************************************************/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.Messages = exports.Classes = exports.Actions = exports.Methods = void 0;
|
|
8
|
+
const actions_1 = require("./actions");
|
|
9
|
+
Object.defineProperty(exports, "Actions", { enumerable: true, get: function () { return actions_1.Actions; } });
|
|
10
|
+
const classes_1 = require("./classes");
|
|
11
|
+
Object.defineProperty(exports, "Classes", { enumerable: true, get: function () { return classes_1.Classes; } });
|
|
12
|
+
const messages_1 = require("./messages");
|
|
13
|
+
Object.defineProperty(exports, "Messages", { enumerable: true, get: function () { return messages_1.Messages; } });
|
|
14
|
+
const methods_1 = require("./methods");
|
|
15
|
+
Object.defineProperty(exports, "Methods", { enumerable: true, get: function () { return methods_1.Methods; } });
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
package/cim/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cim/index.ts"],"names":[],"mappings":";AAAA;;;wEAGwE;;;AAExE,uCAAmC;AAMjB,wFANT,iBAAO,OAMS;AALzB,uCAAmC;AAKR,wFALlB,iBAAO,OAKkB;AAJlC,yCAAqC;AAID,yFAJ3B,mBAAQ,OAI2B;AAH5C,uCAAmC;AAG1B,wFAHA,iBAAO,OAGA"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2021
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
import type { Selector } from '../WSMan';
|
|
6
|
+
import { Base, WSManMessageCreator } from '../WSMan';
|
|
7
|
+
import type { Types } from './';
|
|
8
|
+
import { Classes } from './';
|
|
9
|
+
declare class BIOSElement extends Base {
|
|
10
|
+
className: Classes;
|
|
11
|
+
}
|
|
12
|
+
declare class BootConfigSetting extends Base {
|
|
13
|
+
className: Classes;
|
|
14
|
+
/**
|
|
15
|
+
* This method is called to change the boot order within a boot configuration.
|
|
16
|
+
* @param source Types.BootConfigSetting.InstanceID. Optional. Not specifying a source clears the BootConfigSetting
|
|
17
|
+
* @returns string
|
|
18
|
+
*/
|
|
19
|
+
ChangeBootOrder: (source?: Types.BootConfigSetting.InstanceID) => string;
|
|
20
|
+
}
|
|
21
|
+
declare class BootService extends Base {
|
|
22
|
+
className: Classes;
|
|
23
|
+
/**
|
|
24
|
+
* This method is called to set the role of the BootConfigSetting that is directly or indirectly associated to one or more ComputerSystems. The method applies the new role equally to all related ComputerSystems. If a BootConfigSetting can be related to more than one ComputerSystem, but role modification applies to just one of them, the SetBootConfigUsage method shall be used instead. The method shall update the IsNext or IsDefault property of every ElementSettingData that directly or indirectly associates BootConfigSetting to a ComputerSystem. The method may also update the IsNext or IsDefault property of other ElementSettingDatas that reference the same ComputerSystems to satisfy cardinality constraints.
|
|
25
|
+
* @param bootSource An existing BootConfigSetting instance whose role will be updated.
|
|
26
|
+
* @param role The desired Role of the BootConfigSetting.
|
|
27
|
+
* @returns string
|
|
28
|
+
*/
|
|
29
|
+
SetBootConfigRole: (bootSource: string, role: Types.BootService.Role) => string;
|
|
30
|
+
/**
|
|
31
|
+
* Requests that the state of the element be changed to the value specified in the RequestedState parameter. When the requested state change takes place, the EnabledState and RequestedState of the element will be the same. Invoking the RequestStateChange method multiple times could result in earlier requests being overwritten or lost. If 0 is returned, then the task completed successfully and the use of ConcreteJob was not required. If 4096 (0x1000) is returned, then the task will take some time to complete, ConcreteJob will be created, and its reference returned in the output parameter Job. Any other return code indicates an error condition.
|
|
32
|
+
* @param requestedState The state requested for the element. This information will be placed into the RequestedState property of the instance if the return code of the RequestStateChange method is 0 ('Completed with No Error'), or 4096 (0x1000) ('Job Started'). Refer to the description of the EnabledState and RequestedState properties for the detailed explanations of the RequestedState values.
|
|
33
|
+
* @returns string
|
|
34
|
+
*/
|
|
35
|
+
RequestStateChange: (requestedState: Types.BootService.RequestedState) => string;
|
|
36
|
+
}
|
|
37
|
+
declare class BootSourceSetting extends Base {
|
|
38
|
+
className: Classes;
|
|
39
|
+
}
|
|
40
|
+
declare class Card extends Base {
|
|
41
|
+
className: Classes;
|
|
42
|
+
}
|
|
43
|
+
declare class Chassis extends Base {
|
|
44
|
+
className: Classes;
|
|
45
|
+
}
|
|
46
|
+
declare class Chip extends Base {
|
|
47
|
+
className: Classes;
|
|
48
|
+
}
|
|
49
|
+
declare class ComputerSystemPackage extends Base {
|
|
50
|
+
className: Classes;
|
|
51
|
+
}
|
|
52
|
+
declare class IEEE8021xSettings extends Base {
|
|
53
|
+
className: Classes;
|
|
54
|
+
}
|
|
55
|
+
declare class KVMRedirectionSAP extends Base {
|
|
56
|
+
className: Classes;
|
|
57
|
+
/**
|
|
58
|
+
* Requests that the state of the element be changed to the value specified in the RequestedState parameter. When the requested state change takes place, the EnabledState and RequestedState of the element will be the same. Invoking the RequestStateChange method multiple times could result in earlier requests being overwritten or lost. A return code of 0 shall indicate the state change was successfully initiated. A return code of 3 shall indicate that the state transition cannot complete within the interval specified by the TimeoutPeriod parameter. A return code of 4096 (0x1000) shall indicate the state change was successfully initiated, a ConcreteJob has been created, and its reference returned in the output parameter Job. Any other return code indicates an error condition.
|
|
59
|
+
* @param requestedState The state requested for the element. This information will be placed into the RequestedState property of the instance if the return code of the RequestStateChange method is 0 ('Completed with No Error'), or 4096 (0x1000) ('Job Started'). Refer to the description of the EnabledState and RequestedState properties for the detailed explanations of the RequestedState values.
|
|
60
|
+
* @returns string
|
|
61
|
+
*/
|
|
62
|
+
RequestStateChange: (requestedState: Types.KVMRedirectionSAP.RequestedStateInputs) => string;
|
|
63
|
+
}
|
|
64
|
+
declare class MediaAccessDevice extends Base {
|
|
65
|
+
className: Classes;
|
|
66
|
+
}
|
|
67
|
+
declare class PhysicalMemory extends Base {
|
|
68
|
+
className: Classes;
|
|
69
|
+
}
|
|
70
|
+
declare class PhysicalPackage extends Base {
|
|
71
|
+
className: Classes;
|
|
72
|
+
}
|
|
73
|
+
declare class PowerManagementService extends Base {
|
|
74
|
+
className: Classes;
|
|
75
|
+
/**
|
|
76
|
+
* RequestPowerStateChange defines the desired power state of the managed element, and when the element should be put into that state. The RequestPowerStateChange method has five input parameters and a result code.
|
|
77
|
+
* @param powerState The power state for PowerManagementService.
|
|
78
|
+
* @returns string
|
|
79
|
+
*/
|
|
80
|
+
RequestPowerStateChange: (powerState: Types.PowerManagementService.PowerState) => string;
|
|
81
|
+
}
|
|
82
|
+
declare class Processor extends Base {
|
|
83
|
+
className: Classes;
|
|
84
|
+
}
|
|
85
|
+
declare class ServiceAvailableToElement extends Base {
|
|
86
|
+
className: Classes;
|
|
87
|
+
}
|
|
88
|
+
declare class SoftwareIdentity extends Base {
|
|
89
|
+
className: Classes;
|
|
90
|
+
}
|
|
91
|
+
declare class SystemPackaging extends Base {
|
|
92
|
+
className: Classes;
|
|
93
|
+
}
|
|
94
|
+
declare class WiFiEndpointSettings extends Base {
|
|
95
|
+
className: Classes;
|
|
96
|
+
/**
|
|
97
|
+
* Deletes an instance of WiFiEndpointSettings
|
|
98
|
+
* @param selector Selector Object.
|
|
99
|
+
* @returns string
|
|
100
|
+
*/
|
|
101
|
+
Delete: (selector: Selector) => string;
|
|
102
|
+
}
|
|
103
|
+
declare class WiFiPort extends Base {
|
|
104
|
+
className: Classes;
|
|
105
|
+
/**
|
|
106
|
+
* Requests that the state of the element be changed to the value specified in the RequestedState parameter. When the requested state change takes place, the EnabledState and RequestedState of the element will be the same. Invoking the RequestStateChange method multiple times could result in earlier requests being overwritten or lost. A return code of 0 shall indicate the state change was successfully initiated. A return code of 3 shall indicate that the state transition cannot complete within the interval specified by the TimeoutPeriod parameter. A return code of 4096 (0x1000) shall indicate the state change was successfully initiated, a ConcreteJob has been created, and its reference returned in the output parameter Job. Any other return code indicates an error condition.
|
|
107
|
+
* @param requestedState The state requested for the element. This information will be placed into the RequestedState property of the instance if the return code of the RequestStateChange method is 0 ('Completed with No Error'), or 4096 (0x1000) ('Job Started'). Refer to the description of the EnabledState and RequestedState properties for the detailed explanations of the RequestedState values.
|
|
108
|
+
* @returns string
|
|
109
|
+
*/
|
|
110
|
+
RequestStateChange: (requestedState: Types.WiFiPort.RequestedState) => string;
|
|
111
|
+
}
|
|
112
|
+
export declare class Messages {
|
|
113
|
+
readonly resourceUriBase: string;
|
|
114
|
+
wsmanMessageCreator: WSManMessageCreator;
|
|
115
|
+
BIOSElement: BIOSElement;
|
|
116
|
+
BootConfigSetting: BootConfigSetting;
|
|
117
|
+
BootService: BootService;
|
|
118
|
+
BootSourceSetting: BootSourceSetting;
|
|
119
|
+
Card: Card;
|
|
120
|
+
Chassis: Chassis;
|
|
121
|
+
Chip: Chip;
|
|
122
|
+
ComputerSystemPackage: ComputerSystemPackage;
|
|
123
|
+
IEEE8021xSettings: IEEE8021xSettings;
|
|
124
|
+
KVMRedirectionSAP: KVMRedirectionSAP;
|
|
125
|
+
MediaAccessDevice: MediaAccessDevice;
|
|
126
|
+
PhysicalMemory: PhysicalMemory;
|
|
127
|
+
PhysicalPackage: PhysicalPackage;
|
|
128
|
+
PowerManagementService: PowerManagementService;
|
|
129
|
+
Processor: Processor;
|
|
130
|
+
ServiceAvailableToElement: ServiceAvailableToElement;
|
|
131
|
+
SoftwareIdentity: SoftwareIdentity;
|
|
132
|
+
SystemPackaging: SystemPackaging;
|
|
133
|
+
WiFiEndpointSettings: WiFiEndpointSettings;
|
|
134
|
+
WiFiPort: WiFiPort;
|
|
135
|
+
}
|
|
136
|
+
export {};
|