@azure/arm-serialconsole 2.1.1-alpha.20250217.1 → 2.1.1-alpha.20250219.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/README.md +21 -12
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +3 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/microsoftSerialConsoleClient.d.ts +2 -2
- package/dist/browser/microsoftSerialConsoleClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/microsoftSerialConsoleClient.js +17 -20
- package/dist/browser/microsoftSerialConsoleClient.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +2 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +1 -1
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/serialPorts.d.ts +3 -3
- package/dist/browser/operations/serialPorts.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/serialPorts.js +2 -2
- package/dist/browser/operations/serialPorts.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +2 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +1 -1
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/serialPorts.d.ts +1 -1
- package/dist/browser/operationsInterfaces/serialPorts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/serialPorts.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/microsoftSerialConsoleClient.d.ts +44 -0
- package/dist/commonjs/microsoftSerialConsoleClient.d.ts.map +1 -0
- package/dist/commonjs/microsoftSerialConsoleClient.js +211 -0
- package/dist/commonjs/microsoftSerialConsoleClient.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +151 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +10 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +16 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +288 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +14 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +131 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +2 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +12 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/serialPorts.d.ts +78 -0
- package/dist/commonjs/operations/serialPorts.d.ts.map +1 -0
- package/dist/commonjs/operations/serialPorts.js +275 -0
- package/dist/commonjs/operations/serialPorts.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +2 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +12 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/serialPorts.d.ts +70 -0
- package/dist/commonjs/operationsInterfaces/serialPorts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/serialPorts.js +10 -0
- package/dist/commonjs/operationsInterfaces/serialPorts.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +4 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/microsoftSerialConsoleClient.d.ts +44 -0
- package/dist/esm/microsoftSerialConsoleClient.d.ts.map +1 -0
- package/dist/esm/microsoftSerialConsoleClient.js +206 -0
- package/dist/esm/microsoftSerialConsoleClient.js.map +1 -0
- package/dist/esm/models/index.d.ts +151 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/models/index.js} +2 -2
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +16 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +285 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +14 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +128 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +2 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +9 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/serialPorts.d.ts +78 -0
- package/dist/esm/operations/serialPorts.d.ts.map +1 -0
- package/dist/esm/operations/serialPorts.js +270 -0
- package/dist/esm/operations/serialPorts.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +2 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +9 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/serialPorts.d.ts +70 -0
- package/dist/esm/operationsInterfaces/serialPorts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/serialPorts.js +9 -0
- package/dist/esm/operationsInterfaces/serialPorts.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/react-native/index.d.ts +4 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +11 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/microsoftSerialConsoleClient.d.ts +44 -0
- package/dist/react-native/microsoftSerialConsoleClient.d.ts.map +1 -0
- package/dist/react-native/microsoftSerialConsoleClient.js +206 -0
- package/dist/react-native/microsoftSerialConsoleClient.js.map +1 -0
- package/dist/react-native/models/index.d.ts +151 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/react-native/models/index.js} +2 -2
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +16 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +285 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +14 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +128 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +2 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +9 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/serialPorts.d.ts +78 -0
- package/dist/react-native/operations/serialPorts.d.ts.map +1 -0
- package/dist/react-native/operations/serialPorts.js +270 -0
- package/dist/react-native/operations/serialPorts.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +2 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +9 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/serialPorts.d.ts +70 -0
- package/dist/react-native/operationsInterfaces/serialPorts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/serialPorts.js +9 -0
- package/dist/react-native/operationsInterfaces/serialPorts.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/package.json +65 -34
- package/dist/index.js +0 -930
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/disableConsoleSample.d.ts +0 -2
- package/dist-esm/samples-dev/disableConsoleSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/disableConsoleSample.js +0 -28
- package/dist-esm/samples-dev/disableConsoleSample.js.map +0 -1
- package/dist-esm/samples-dev/enableConsoleSample.d.ts +0 -2
- package/dist-esm/samples-dev/enableConsoleSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/enableConsoleSample.js +0 -28
- package/dist-esm/samples-dev/enableConsoleSample.js.map +0 -1
- package/dist-esm/samples-dev/getConsoleStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/getConsoleStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/getConsoleStatusSample.js +0 -28
- package/dist-esm/samples-dev/getConsoleStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/listOperationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/listOperationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperationsSample.js +0 -27
- package/dist-esm/samples-dev/listOperationsSample.js.map +0 -1
- package/dist-esm/samples-dev/serialPortsConnectSample.d.ts +0 -2
- package/dist-esm/samples-dev/serialPortsConnectSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serialPortsConnectSample.js +0 -53
- package/dist-esm/samples-dev/serialPortsConnectSample.js.map +0 -1
- package/dist-esm/samples-dev/serialPortsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/serialPortsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serialPortsCreateSample.js +0 -26
- package/dist-esm/samples-dev/serialPortsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/serialPortsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/serialPortsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serialPortsDeleteSample.js +0 -32
- package/dist-esm/samples-dev/serialPortsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/serialPortsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/serialPortsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serialPortsGetSample.js +0 -32
- package/dist-esm/samples-dev/serialPortsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/serialPortsListBySubscriptionsSample.d.ts +0 -2
- package/dist-esm/samples-dev/serialPortsListBySubscriptionsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serialPortsListBySubscriptionsSample.js +0 -27
- package/dist-esm/samples-dev/serialPortsListBySubscriptionsSample.js.map +0 -1
- package/dist-esm/samples-dev/serialPortsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/serialPortsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/serialPortsListSample.js +0 -31
- package/dist-esm/samples-dev/serialPortsListSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -4
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/microsoftSerialConsoleClient.d.ts.map +0 -1
- package/dist-esm/src/microsoftSerialConsoleClient.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -2
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/serialPorts.d.ts.map +0 -1
- package/dist-esm/src/operations/serialPorts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/serialPorts.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/serialPorts.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/microsoftSerialConsoleClient.ts +0 -287
- package/src/models/index.ts +0 -193
- package/src/models/mappers.ts +0 -305
- package/src/models/parameters.ts +0 -145
- package/src/operations/serialPorts.ts +0 -357
- package/src/operationsInterfaces/serialPorts.ts +0 -128
- package/tsconfig.json +0 -33
- package/types/arm-serialconsole.d.ts +0 -297
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/serialPorts.js +0 -0
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
import * as coreAuth from '@azure/core-auth';
|
|
2
|
-
import * as coreClient from '@azure/core-client';
|
|
3
|
-
|
|
4
|
-
/** An error response from the service. */
|
|
5
|
-
export declare interface CloudError {
|
|
6
|
-
/** Cloud error body. */
|
|
7
|
-
error?: CloudErrorBody;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/** An error response from the Batch service. */
|
|
11
|
-
export declare interface CloudErrorBody {
|
|
12
|
-
/** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
|
|
13
|
-
code?: string;
|
|
14
|
-
/** A message describing the error, intended to be suitable for display in a user interface. */
|
|
15
|
-
message?: string;
|
|
16
|
-
/** The target of the particular error. For example, the name of the property in error. */
|
|
17
|
-
target?: string;
|
|
18
|
-
/** A list of additional details about the error. */
|
|
19
|
-
details?: CloudErrorBody[];
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/** Optional parameters. */
|
|
23
|
-
export declare interface DisableConsoleOptionalParams extends coreClient.OperationOptions {
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** Contains response data for the disableConsole operation. */
|
|
27
|
-
export declare type DisableConsoleResponse = DisableSerialConsoleResult;
|
|
28
|
-
|
|
29
|
-
/** Returns whether or not Serial Console is disabled. */
|
|
30
|
-
export declare interface DisableSerialConsoleResult {
|
|
31
|
-
/** Whether or not Serial Console is disabled. */
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/** Optional parameters. */
|
|
36
|
-
export declare interface EnableConsoleOptionalParams extends coreClient.OperationOptions {
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/** Contains response data for the enableConsole operation. */
|
|
40
|
-
export declare type EnableConsoleResponse = EnableSerialConsoleResult;
|
|
41
|
-
|
|
42
|
-
/** Returns whether or not Serial Console is disabled (enabled). */
|
|
43
|
-
export declare interface EnableSerialConsoleResult {
|
|
44
|
-
/** Whether or not Serial Console is disabled (enabled). */
|
|
45
|
-
disabled?: boolean;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/** Optional parameters. */
|
|
49
|
-
export declare interface GetConsoleStatusOptionalParams extends coreClient.OperationOptions {
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/** Contains response data for the getConsoleStatus operation. */
|
|
53
|
-
export declare type GetConsoleStatusResponse = SerialConsoleStatus;
|
|
54
|
-
|
|
55
|
-
/** Error saying that the provided subscription could not be found */
|
|
56
|
-
export declare interface GetSerialConsoleSubscriptionNotFound {
|
|
57
|
-
/** Error code */
|
|
58
|
-
code?: string;
|
|
59
|
-
/** Subscription not found message */
|
|
60
|
-
message?: string;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/** Optional parameters. */
|
|
64
|
-
export declare interface ListOperationsOptionalParams extends coreClient.OperationOptions {
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/** Contains response data for the listOperations operation. */
|
|
68
|
-
export declare type ListOperationsResponse = SerialConsoleOperations;
|
|
69
|
-
|
|
70
|
-
export declare class MicrosoftSerialConsoleClient extends coreClient.ServiceClient {
|
|
71
|
-
$host: string;
|
|
72
|
-
apiVersion: string;
|
|
73
|
-
subscriptionId: string;
|
|
74
|
-
/**
|
|
75
|
-
* Initializes a new instance of the MicrosoftSerialConsoleClient class.
|
|
76
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
77
|
-
* @param subscriptionId Subscription ID which uniquely identifies the Microsoft Azure subscription.
|
|
78
|
-
* The subscription ID forms part of the URI for every service call requiring it.
|
|
79
|
-
* @param options The parameter options
|
|
80
|
-
*/
|
|
81
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftSerialConsoleClientOptionalParams);
|
|
82
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
83
|
-
private addCustomApiVersionPolicy;
|
|
84
|
-
/**
|
|
85
|
-
* Gets a list of Serial Console API operations.
|
|
86
|
-
* @param options The options parameters.
|
|
87
|
-
*/
|
|
88
|
-
listOperations(options?: ListOperationsOptionalParams): Promise<ListOperationsResponse>;
|
|
89
|
-
/**
|
|
90
|
-
* Gets whether or not Serial Console is disabled for a given subscription
|
|
91
|
-
* @param defaultParam Default parameter. Leave the value as "default".
|
|
92
|
-
* @param options The options parameters.
|
|
93
|
-
*/
|
|
94
|
-
getConsoleStatus(defaultParam: string, options?: GetConsoleStatusOptionalParams): Promise<GetConsoleStatusResponse>;
|
|
95
|
-
/**
|
|
96
|
-
* Disables the Serial Console service for all VMs and VM scale sets in the provided subscription
|
|
97
|
-
* @param defaultParam Default parameter. Leave the value as "default".
|
|
98
|
-
* @param options The options parameters.
|
|
99
|
-
*/
|
|
100
|
-
disableConsole(defaultParam: string, options?: DisableConsoleOptionalParams): Promise<DisableConsoleResponse>;
|
|
101
|
-
/**
|
|
102
|
-
* Enables the Serial Console service for all VMs and VM scale sets in the provided subscription
|
|
103
|
-
* @param defaultParam Default parameter. Leave the value as "default".
|
|
104
|
-
* @param options The options parameters.
|
|
105
|
-
*/
|
|
106
|
-
enableConsole(defaultParam: string, options?: EnableConsoleOptionalParams): Promise<EnableConsoleResponse>;
|
|
107
|
-
serialPorts: SerialPorts;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/** Optional parameters. */
|
|
111
|
-
export declare interface MicrosoftSerialConsoleClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
112
|
-
/** server parameter */
|
|
113
|
-
$host?: string;
|
|
114
|
-
/** Api Version */
|
|
115
|
-
apiVersion?: string;
|
|
116
|
-
/** Overrides client endpoint. */
|
|
117
|
-
endpoint?: string;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */
|
|
121
|
-
export declare interface ProxyResource extends Resource {
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/** The Resource model definition. */
|
|
125
|
-
export declare interface Resource {
|
|
126
|
-
/**
|
|
127
|
-
* Resource Id
|
|
128
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
129
|
-
*/
|
|
130
|
-
readonly id?: string;
|
|
131
|
-
/**
|
|
132
|
-
* Resource name
|
|
133
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
134
|
-
*/
|
|
135
|
-
readonly name?: string;
|
|
136
|
-
/**
|
|
137
|
-
* Resource type
|
|
138
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
139
|
-
*/
|
|
140
|
-
readonly type?: string;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
/** Serial Console operations */
|
|
144
|
-
export declare interface SerialConsoleOperations {
|
|
145
|
-
/** A list of Serial Console operations */
|
|
146
|
-
value?: SerialConsoleOperationsValueItem[];
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export declare interface SerialConsoleOperationsValueItem {
|
|
150
|
-
name?: string;
|
|
151
|
-
isDataAction?: string;
|
|
152
|
-
display?: SerialConsoleOperationsValueItemDisplay;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
export declare interface SerialConsoleOperationsValueItemDisplay {
|
|
156
|
-
provider?: string;
|
|
157
|
-
resource?: string;
|
|
158
|
-
operation?: string;
|
|
159
|
-
description?: string;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/** Returns whether or not Serial Console is disabled. */
|
|
163
|
-
export declare interface SerialConsoleStatus {
|
|
164
|
-
/** Whether or not Serial Console is disabled. */
|
|
165
|
-
disabled?: boolean;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/** Represents the serial port of the parent resource. */
|
|
169
|
-
export declare interface SerialPort extends ProxyResource {
|
|
170
|
-
/** Specifies whether the port is enabled for a serial console connection. */
|
|
171
|
-
state?: SerialPortState;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/** Returns a connection string to the serial port of the resource. */
|
|
175
|
-
export declare interface SerialPortConnectResult {
|
|
176
|
-
/** Connection string to the serial port of the resource. */
|
|
177
|
-
connectionString?: string;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/** The list serial ports operation response. */
|
|
181
|
-
export declare interface SerialPortListResult {
|
|
182
|
-
/** The list of serial ports. */
|
|
183
|
-
value?: SerialPort[];
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/** Interface representing a SerialPorts. */
|
|
187
|
-
export declare interface SerialPorts {
|
|
188
|
-
/**
|
|
189
|
-
* Lists all of the configured serial ports for a parent resource
|
|
190
|
-
* @param resourceGroupName The name of the resource group.
|
|
191
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
192
|
-
* @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'
|
|
193
|
-
* or 'virtualMachineScaleSets'
|
|
194
|
-
* @param parentResource The resource name, or subordinate path, for the parent of the serial port. For
|
|
195
|
-
* example: the name of the virtual machine.
|
|
196
|
-
* @param options The options parameters.
|
|
197
|
-
*/
|
|
198
|
-
list(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, options?: SerialPortsListOptionalParams): Promise<SerialPortsListResponse>;
|
|
199
|
-
/**
|
|
200
|
-
* Gets the configured settings for a serial port
|
|
201
|
-
* @param resourceGroupName The name of the resource group.
|
|
202
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
203
|
-
* @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'
|
|
204
|
-
* or 'virtualMachineScaleSets'
|
|
205
|
-
* @param parentResource The resource name, or subordinate path, for the parent of the serial port. For
|
|
206
|
-
* example: the name of the virtual machine.
|
|
207
|
-
* @param serialPort The name of the serial port to connect to.
|
|
208
|
-
* @param options The options parameters.
|
|
209
|
-
*/
|
|
210
|
-
get(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsGetOptionalParams): Promise<SerialPortsGetResponse>;
|
|
211
|
-
/**
|
|
212
|
-
* Creates or updates a serial port
|
|
213
|
-
* @param resourceGroupName The name of the resource group.
|
|
214
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
215
|
-
* @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'
|
|
216
|
-
* or 'virtualMachineScaleSets'
|
|
217
|
-
* @param parentResource The resource name, or subordinate path, for the parent of the serial port. For
|
|
218
|
-
* example: the name of the virtual machine.
|
|
219
|
-
* @param serialPort The name of the serial port to create.
|
|
220
|
-
* @param parameters Parameters supplied to create the serial port.
|
|
221
|
-
* @param options The options parameters.
|
|
222
|
-
*/
|
|
223
|
-
create(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, parameters: SerialPort, options?: SerialPortsCreateOptionalParams): Promise<SerialPortsCreateResponse>;
|
|
224
|
-
/**
|
|
225
|
-
* Deletes a serial port
|
|
226
|
-
* @param resourceGroupName The name of the resource group.
|
|
227
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
228
|
-
* @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'
|
|
229
|
-
* or 'virtualMachineScaleSets'
|
|
230
|
-
* @param parentResource The resource name, or subordinate path, for the parent of the serial port. For
|
|
231
|
-
* example: the name of the virtual machine.
|
|
232
|
-
* @param serialPort The name of the serial port to delete.
|
|
233
|
-
* @param options The options parameters.
|
|
234
|
-
*/
|
|
235
|
-
delete(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsDeleteOptionalParams): Promise<void>;
|
|
236
|
-
/**
|
|
237
|
-
* Handles requests to list all SerialPort resources in a subscription.
|
|
238
|
-
* @param options The options parameters.
|
|
239
|
-
*/
|
|
240
|
-
listBySubscriptions(options?: SerialPortsListBySubscriptionsOptionalParams): Promise<SerialPortsListBySubscriptionsResponse>;
|
|
241
|
-
/**
|
|
242
|
-
* Connect to serial port of the target resource
|
|
243
|
-
* @param resourceGroupName The name of the resource group.
|
|
244
|
-
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
245
|
-
* @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'
|
|
246
|
-
* or 'virtualMachineScaleSets'
|
|
247
|
-
* @param parentResource The resource name, or subordinate path, for the parent of the serial port. For
|
|
248
|
-
* example: the name of the virtual machine.
|
|
249
|
-
* @param serialPort The name of the serial port to connect to.
|
|
250
|
-
* @param options The options parameters.
|
|
251
|
-
*/
|
|
252
|
-
connect(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsConnectOptionalParams): Promise<SerialPortsConnectResponse>;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
/** Optional parameters. */
|
|
256
|
-
export declare interface SerialPortsConnectOptionalParams extends coreClient.OperationOptions {
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/** Contains response data for the connect operation. */
|
|
260
|
-
export declare type SerialPortsConnectResponse = SerialPortConnectResult;
|
|
261
|
-
|
|
262
|
-
/** Optional parameters. */
|
|
263
|
-
export declare interface SerialPortsCreateOptionalParams extends coreClient.OperationOptions {
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/** Contains response data for the create operation. */
|
|
267
|
-
export declare type SerialPortsCreateResponse = SerialPort;
|
|
268
|
-
|
|
269
|
-
/** Optional parameters. */
|
|
270
|
-
export declare interface SerialPortsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/** Optional parameters. */
|
|
274
|
-
export declare interface SerialPortsGetOptionalParams extends coreClient.OperationOptions {
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
/** Contains response data for the get operation. */
|
|
278
|
-
export declare type SerialPortsGetResponse = SerialPort;
|
|
279
|
-
|
|
280
|
-
/** Optional parameters. */
|
|
281
|
-
export declare interface SerialPortsListBySubscriptionsOptionalParams extends coreClient.OperationOptions {
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
/** Contains response data for the listBySubscriptions operation. */
|
|
285
|
-
export declare type SerialPortsListBySubscriptionsResponse = SerialPortListResult;
|
|
286
|
-
|
|
287
|
-
/** Optional parameters. */
|
|
288
|
-
export declare interface SerialPortsListOptionalParams extends coreClient.OperationOptions {
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
/** Contains response data for the list operation. */
|
|
292
|
-
export declare type SerialPortsListResponse = SerialPortListResult;
|
|
293
|
-
|
|
294
|
-
/** Defines values for SerialPortState. */
|
|
295
|
-
export declare type SerialPortState = "enabled" | "disabled";
|
|
296
|
-
|
|
297
|
-
export { }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|