@azure/arm-serialconsole 2.1.1-alpha.20250620.1 → 2.1.1-alpha.20250718.1

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for MicrosoftSerialConsoleClient.",
6
- "version": "2.1.1-alpha.20250620.1",
6
+ "version": "2.1.1-alpha.20250718.1",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -1,203 +1,203 @@
1
- ## API Report File for "@azure/arm-serialconsole"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
-
10
- // @public
11
- export interface CloudError {
12
- error?: CloudErrorBody;
13
- }
14
-
15
- // @public
16
- export interface CloudErrorBody {
17
- code?: string;
18
- details?: CloudErrorBody[];
19
- message?: string;
20
- target?: string;
21
- }
22
-
23
- // @public
24
- export interface DisableConsoleOptionalParams extends coreClient.OperationOptions {
25
- }
26
-
27
- // @public
28
- export type DisableConsoleResponse = DisableSerialConsoleResult;
29
-
30
- // @public
31
- export interface DisableSerialConsoleResult {
32
- disabled?: boolean;
33
- }
34
-
35
- // @public
36
- export interface EnableConsoleOptionalParams extends coreClient.OperationOptions {
37
- }
38
-
39
- // @public
40
- export type EnableConsoleResponse = EnableSerialConsoleResult;
41
-
42
- // @public
43
- export interface EnableSerialConsoleResult {
44
- disabled?: boolean;
45
- }
46
-
47
- // @public
48
- export interface GetConsoleStatusOptionalParams extends coreClient.OperationOptions {
49
- }
50
-
51
- // @public
52
- export type GetConsoleStatusResponse = SerialConsoleStatus;
53
-
54
- // @public
55
- export interface GetSerialConsoleSubscriptionNotFound {
56
- code?: string;
57
- message?: string;
58
- }
59
-
60
- // @public
61
- export interface ListOperationsOptionalParams extends coreClient.OperationOptions {
62
- }
63
-
64
- // @public
65
- export type ListOperationsResponse = SerialConsoleOperations;
66
-
67
- // @public (undocumented)
68
- export class MicrosoftSerialConsoleClient extends coreClient.ServiceClient {
69
- // (undocumented)
70
- $host: string;
71
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftSerialConsoleClientOptionalParams);
72
- // (undocumented)
73
- apiVersion: string;
74
- disableConsole(defaultParam: string, options?: DisableConsoleOptionalParams): Promise<DisableConsoleResponse>;
75
- enableConsole(defaultParam: string, options?: EnableConsoleOptionalParams): Promise<EnableConsoleResponse>;
76
- getConsoleStatus(defaultParam: string, options?: GetConsoleStatusOptionalParams): Promise<GetConsoleStatusResponse>;
77
- listOperations(options?: ListOperationsOptionalParams): Promise<ListOperationsResponse>;
78
- // (undocumented)
79
- serialPorts: SerialPorts;
80
- // (undocumented)
81
- subscriptionId: string;
82
- }
83
-
84
- // @public
85
- export interface MicrosoftSerialConsoleClientOptionalParams extends coreClient.ServiceClientOptions {
86
- $host?: string;
87
- apiVersion?: string;
88
- endpoint?: string;
89
- }
90
-
91
- // @public
92
- export interface ProxyResource extends Resource {
93
- }
94
-
95
- // @public
96
- export interface Resource {
97
- readonly id?: string;
98
- readonly name?: string;
99
- readonly type?: string;
100
- }
101
-
102
- // @public
103
- export interface SerialConsoleOperations {
104
- value?: SerialConsoleOperationsValueItem[];
105
- }
106
-
107
- // @public (undocumented)
108
- export interface SerialConsoleOperationsValueItem {
109
- // (undocumented)
110
- display?: SerialConsoleOperationsValueItemDisplay;
111
- // (undocumented)
112
- isDataAction?: string;
113
- // (undocumented)
114
- name?: string;
115
- }
116
-
117
- // @public (undocumented)
118
- export interface SerialConsoleOperationsValueItemDisplay {
119
- // (undocumented)
120
- description?: string;
121
- // (undocumented)
122
- operation?: string;
123
- // (undocumented)
124
- provider?: string;
125
- // (undocumented)
126
- resource?: string;
127
- }
128
-
129
- // @public
130
- export interface SerialConsoleStatus {
131
- disabled?: boolean;
132
- }
133
-
134
- // @public
135
- export interface SerialPort extends ProxyResource {
136
- state?: SerialPortState;
137
- }
138
-
139
- // @public
140
- export interface SerialPortConnectResult {
141
- connectionString?: string;
142
- }
143
-
144
- // @public
145
- export interface SerialPortListResult {
146
- value?: SerialPort[];
147
- }
148
-
149
- // @public
150
- export interface SerialPorts {
151
- connect(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsConnectOptionalParams): Promise<SerialPortsConnectResponse>;
152
- create(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, parameters: SerialPort, options?: SerialPortsCreateOptionalParams): Promise<SerialPortsCreateResponse>;
153
- delete(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsDeleteOptionalParams): Promise<void>;
154
- get(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsGetOptionalParams): Promise<SerialPortsGetResponse>;
155
- list(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, options?: SerialPortsListOptionalParams): Promise<SerialPortsListResponse>;
156
- listBySubscriptions(options?: SerialPortsListBySubscriptionsOptionalParams): Promise<SerialPortsListBySubscriptionsResponse>;
157
- }
158
-
159
- // @public
160
- export interface SerialPortsConnectOptionalParams extends coreClient.OperationOptions {
161
- }
162
-
163
- // @public
164
- export type SerialPortsConnectResponse = SerialPortConnectResult;
165
-
166
- // @public
167
- export interface SerialPortsCreateOptionalParams extends coreClient.OperationOptions {
168
- }
169
-
170
- // @public
171
- export type SerialPortsCreateResponse = SerialPort;
172
-
173
- // @public
174
- export interface SerialPortsDeleteOptionalParams extends coreClient.OperationOptions {
175
- }
176
-
177
- // @public
178
- export interface SerialPortsGetOptionalParams extends coreClient.OperationOptions {
179
- }
180
-
181
- // @public
182
- export type SerialPortsGetResponse = SerialPort;
183
-
184
- // @public
185
- export interface SerialPortsListBySubscriptionsOptionalParams extends coreClient.OperationOptions {
186
- }
187
-
188
- // @public
189
- export type SerialPortsListBySubscriptionsResponse = SerialPortListResult;
190
-
191
- // @public
192
- export interface SerialPortsListOptionalParams extends coreClient.OperationOptions {
193
- }
194
-
195
- // @public
196
- export type SerialPortsListResponse = SerialPortListResult;
197
-
198
- // @public
199
- export type SerialPortState = "enabled" | "disabled";
200
-
201
- // (No @packageDocumentation comment for this package)
202
-
203
- ```
1
+ ## API Report File for "@azure/arm-serialconsole"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+
10
+ // @public
11
+ export interface CloudError {
12
+ error?: CloudErrorBody;
13
+ }
14
+
15
+ // @public
16
+ export interface CloudErrorBody {
17
+ code?: string;
18
+ details?: CloudErrorBody[];
19
+ message?: string;
20
+ target?: string;
21
+ }
22
+
23
+ // @public
24
+ export interface DisableConsoleOptionalParams extends coreClient.OperationOptions {
25
+ }
26
+
27
+ // @public
28
+ export type DisableConsoleResponse = DisableSerialConsoleResult;
29
+
30
+ // @public
31
+ export interface DisableSerialConsoleResult {
32
+ disabled?: boolean;
33
+ }
34
+
35
+ // @public
36
+ export interface EnableConsoleOptionalParams extends coreClient.OperationOptions {
37
+ }
38
+
39
+ // @public
40
+ export type EnableConsoleResponse = EnableSerialConsoleResult;
41
+
42
+ // @public
43
+ export interface EnableSerialConsoleResult {
44
+ disabled?: boolean;
45
+ }
46
+
47
+ // @public
48
+ export interface GetConsoleStatusOptionalParams extends coreClient.OperationOptions {
49
+ }
50
+
51
+ // @public
52
+ export type GetConsoleStatusResponse = SerialConsoleStatus;
53
+
54
+ // @public
55
+ export interface GetSerialConsoleSubscriptionNotFound {
56
+ code?: string;
57
+ message?: string;
58
+ }
59
+
60
+ // @public
61
+ export interface ListOperationsOptionalParams extends coreClient.OperationOptions {
62
+ }
63
+
64
+ // @public
65
+ export type ListOperationsResponse = SerialConsoleOperations;
66
+
67
+ // @public (undocumented)
68
+ export class MicrosoftSerialConsoleClient extends coreClient.ServiceClient {
69
+ // (undocumented)
70
+ $host: string;
71
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftSerialConsoleClientOptionalParams);
72
+ // (undocumented)
73
+ apiVersion: string;
74
+ disableConsole(defaultParam: string, options?: DisableConsoleOptionalParams): Promise<DisableConsoleResponse>;
75
+ enableConsole(defaultParam: string, options?: EnableConsoleOptionalParams): Promise<EnableConsoleResponse>;
76
+ getConsoleStatus(defaultParam: string, options?: GetConsoleStatusOptionalParams): Promise<GetConsoleStatusResponse>;
77
+ listOperations(options?: ListOperationsOptionalParams): Promise<ListOperationsResponse>;
78
+ // (undocumented)
79
+ serialPorts: SerialPorts;
80
+ // (undocumented)
81
+ subscriptionId: string;
82
+ }
83
+
84
+ // @public
85
+ export interface MicrosoftSerialConsoleClientOptionalParams extends coreClient.ServiceClientOptions {
86
+ $host?: string;
87
+ apiVersion?: string;
88
+ endpoint?: string;
89
+ }
90
+
91
+ // @public
92
+ export interface ProxyResource extends Resource {
93
+ }
94
+
95
+ // @public
96
+ export interface Resource {
97
+ readonly id?: string;
98
+ readonly name?: string;
99
+ readonly type?: string;
100
+ }
101
+
102
+ // @public
103
+ export interface SerialConsoleOperations {
104
+ value?: SerialConsoleOperationsValueItem[];
105
+ }
106
+
107
+ // @public (undocumented)
108
+ export interface SerialConsoleOperationsValueItem {
109
+ // (undocumented)
110
+ display?: SerialConsoleOperationsValueItemDisplay;
111
+ // (undocumented)
112
+ isDataAction?: string;
113
+ // (undocumented)
114
+ name?: string;
115
+ }
116
+
117
+ // @public (undocumented)
118
+ export interface SerialConsoleOperationsValueItemDisplay {
119
+ // (undocumented)
120
+ description?: string;
121
+ // (undocumented)
122
+ operation?: string;
123
+ // (undocumented)
124
+ provider?: string;
125
+ // (undocumented)
126
+ resource?: string;
127
+ }
128
+
129
+ // @public
130
+ export interface SerialConsoleStatus {
131
+ disabled?: boolean;
132
+ }
133
+
134
+ // @public
135
+ export interface SerialPort extends ProxyResource {
136
+ state?: SerialPortState;
137
+ }
138
+
139
+ // @public
140
+ export interface SerialPortConnectResult {
141
+ connectionString?: string;
142
+ }
143
+
144
+ // @public
145
+ export interface SerialPortListResult {
146
+ value?: SerialPort[];
147
+ }
148
+
149
+ // @public
150
+ export interface SerialPorts {
151
+ connect(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsConnectOptionalParams): Promise<SerialPortsConnectResponse>;
152
+ create(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, parameters: SerialPort, options?: SerialPortsCreateOptionalParams): Promise<SerialPortsCreateResponse>;
153
+ delete(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsDeleteOptionalParams): Promise<void>;
154
+ get(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsGetOptionalParams): Promise<SerialPortsGetResponse>;
155
+ list(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, options?: SerialPortsListOptionalParams): Promise<SerialPortsListResponse>;
156
+ listBySubscriptions(options?: SerialPortsListBySubscriptionsOptionalParams): Promise<SerialPortsListBySubscriptionsResponse>;
157
+ }
158
+
159
+ // @public
160
+ export interface SerialPortsConnectOptionalParams extends coreClient.OperationOptions {
161
+ }
162
+
163
+ // @public
164
+ export type SerialPortsConnectResponse = SerialPortConnectResult;
165
+
166
+ // @public
167
+ export interface SerialPortsCreateOptionalParams extends coreClient.OperationOptions {
168
+ }
169
+
170
+ // @public
171
+ export type SerialPortsCreateResponse = SerialPort;
172
+
173
+ // @public
174
+ export interface SerialPortsDeleteOptionalParams extends coreClient.OperationOptions {
175
+ }
176
+
177
+ // @public
178
+ export interface SerialPortsGetOptionalParams extends coreClient.OperationOptions {
179
+ }
180
+
181
+ // @public
182
+ export type SerialPortsGetResponse = SerialPort;
183
+
184
+ // @public
185
+ export interface SerialPortsListBySubscriptionsOptionalParams extends coreClient.OperationOptions {
186
+ }
187
+
188
+ // @public
189
+ export type SerialPortsListBySubscriptionsResponse = SerialPortListResult;
190
+
191
+ // @public
192
+ export interface SerialPortsListOptionalParams extends coreClient.OperationOptions {
193
+ }
194
+
195
+ // @public
196
+ export type SerialPortsListResponse = SerialPortListResult;
197
+
198
+ // @public
199
+ export type SerialPortState = "enabled" | "disabled";
200
+
201
+ // (No @packageDocumentation comment for this package)
202
+
203
+ ```