@azure/arm-attestation 1.1.0 → 2.0.1-alpha.20220106.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/CHANGELOG.md +21 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -80
- package/dist/index.js +1319 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/attestationManagementClient.d.ts +20 -0
- package/dist-esm/src/attestationManagementClient.d.ts.map +1 -0
- package/dist-esm/src/attestationManagementClient.js +53 -0
- package/dist-esm/src/attestationManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +389 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +38 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +21 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +239 -164
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +15 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +138 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/attestationProviders.d.ts +65 -0
- package/dist-esm/src/operations/attestationProviders.d.ts.map +1 -0
- package/dist-esm/src/operations/attestationProviders.js +254 -0
- package/dist-esm/src/operations/attestationProviders.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +11 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +58 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +216 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/attestationProviders.d.ts +57 -0
- package/dist-esm/src/operationsInterfaces/attestationProviders.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/attestationProviders.js +9 -0
- package/dist-esm/src/operationsInterfaces/attestationProviders.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/test/attestation_examples.d.ts +4 -0
- package/dist-esm/test/attestation_examples.d.ts.map +1 -0
- package/dist-esm/test/attestation_examples.js +94 -0
- package/dist-esm/test/attestation_examples.js.map +1 -0
- package/package.json +63 -22
- package/review/arm-attestation.api.md +346 -0
- package/rollup.config.js +181 -30
- package/src/attestationManagementClient.ts +74 -37
- package/src/index.ts +12 -0
- package/src/models/index.ts +299 -384
- package/src/models/mappers.ts +242 -162
- package/src/models/parameters.ts +106 -29
- package/src/operations/attestationProviders.ts +178 -315
- package/src/operations/index.ts +4 -5
- package/src/operations/operations.ts +29 -44
- package/src/operations/privateEndpointConnections.ts +277 -0
- package/src/operationsInterfaces/attestationProviders.ts +111 -0
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +78 -0
- package/tsconfig.json +3 -3
- package/types/arm-attestation.d.ts +565 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-attestation.js +0 -1115
- package/dist/arm-attestation.js.map +0 -1
- package/dist/arm-attestation.min.js +0 -1
- package/dist/arm-attestation.min.js.map +0 -1
- package/esm/attestationManagementClient.d.ts +0 -25
- package/esm/attestationManagementClient.d.ts.map +0 -1
- package/esm/attestationManagementClient.js +0 -39
- package/esm/attestationManagementClient.js.map +0 -1
- package/esm/attestationManagementClientContext.d.ts +0 -22
- package/esm/attestationManagementClientContext.d.ts.map +0 -1
- package/esm/attestationManagementClientContext.js +0 -61
- package/esm/attestationManagementClientContext.js.map +0 -1
- package/esm/models/attestationProvidersMappers.d.ts +0 -2
- package/esm/models/attestationProvidersMappers.d.ts.map +0 -1
- package/esm/models/attestationProvidersMappers.js +0 -9
- package/esm/models/attestationProvidersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -492
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -19
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -81
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/attestationProviders.d.ts +0 -169
- package/esm/operations/attestationProviders.d.ts.map +0 -1
- package/esm/operations/attestationProviders.js +0 -277
- package/esm/operations/attestationProviders.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/src/attestationManagementClientContext.ts +0 -68
- package/src/models/attestationProvidersMappers.ts +0 -24
- package/src/models/operationsMappers.ts +0 -15
package/src/models/index.ts
CHANGED
|
@@ -1,191 +1,140 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Metadata pertaining to creation and last modification of the resource.
|
|
16
|
-
*/
|
|
17
|
-
export interface SystemData {
|
|
11
|
+
/** List of supported operations. */
|
|
12
|
+
export interface OperationList {
|
|
18
13
|
/**
|
|
19
|
-
* The
|
|
14
|
+
* The system metadata relating to this resource
|
|
15
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
20
16
|
*/
|
|
17
|
+
readonly systemData?: SystemData;
|
|
18
|
+
/** List of supported operations. */
|
|
19
|
+
value?: OperationsDefinition[];
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
23
|
+
export interface SystemData {
|
|
24
|
+
/** The identity that created the resource. */
|
|
21
25
|
createdBy?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The type of identity that created the resource. Possible values include: 'User',
|
|
24
|
-
* 'Application', 'ManagedIdentity', 'Key'
|
|
25
|
-
*/
|
|
26
|
+
/** The type of identity that created the resource. */
|
|
26
27
|
createdByType?: CreatedByType;
|
|
27
|
-
/**
|
|
28
|
-
* The timestamp of resource creation (UTC).
|
|
29
|
-
*/
|
|
28
|
+
/** The timestamp of resource creation (UTC). */
|
|
30
29
|
createdAt?: Date;
|
|
31
|
-
/**
|
|
32
|
-
* The identity that last modified the resource.
|
|
33
|
-
*/
|
|
30
|
+
/** The identity that last modified the resource. */
|
|
34
31
|
lastModifiedBy?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The type of identity that last modified the resource. Possible values include: 'User',
|
|
37
|
-
* 'Application', 'ManagedIdentity', 'Key'
|
|
38
|
-
*/
|
|
32
|
+
/** The type of identity that last modified the resource. */
|
|
39
33
|
lastModifiedByType?: CreatedByType;
|
|
40
|
-
/**
|
|
41
|
-
* The type of identity that last modified the resource.
|
|
42
|
-
*/
|
|
34
|
+
/** The timestamp of resource last modification (UTC) */
|
|
43
35
|
lastModifiedAt?: Date;
|
|
44
36
|
}
|
|
45
37
|
|
|
46
|
-
/**
|
|
47
|
-
|
|
48
|
-
*/
|
|
38
|
+
/** Definition object with the name and properties of an operation. */
|
|
39
|
+
export interface OperationsDefinition {
|
|
40
|
+
/** Name of the operation. */
|
|
41
|
+
name?: string;
|
|
42
|
+
/** Display object with properties of the operation. */
|
|
43
|
+
display?: OperationsDisplayDefinition;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** Display object with properties of the operation. */
|
|
49
47
|
export interface OperationsDisplayDefinition {
|
|
50
|
-
/**
|
|
51
|
-
* Resource provider of the operation.
|
|
52
|
-
*/
|
|
48
|
+
/** Resource provider of the operation. */
|
|
53
49
|
provider?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Resource for the operation.
|
|
56
|
-
*/
|
|
50
|
+
/** Resource for the operation. */
|
|
57
51
|
resource?: string;
|
|
58
|
-
/**
|
|
59
|
-
* Short description of the operation.
|
|
60
|
-
*/
|
|
52
|
+
/** Short description of the operation. */
|
|
61
53
|
operation?: string;
|
|
62
|
-
/**
|
|
63
|
-
* Description of the operation.
|
|
64
|
-
*/
|
|
54
|
+
/** Description of the operation. */
|
|
65
55
|
description?: string;
|
|
66
56
|
}
|
|
67
57
|
|
|
68
|
-
/**
|
|
69
|
-
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Name of the operation.
|
|
74
|
-
*/
|
|
75
|
-
name?: string;
|
|
76
|
-
/**
|
|
77
|
-
* Display object with properties of the operation.
|
|
78
|
-
*/
|
|
79
|
-
display?: OperationsDisplayDefinition;
|
|
58
|
+
/** An error response from Attestation. */
|
|
59
|
+
export interface CloudError {
|
|
60
|
+
/** An error response from Attestation. */
|
|
61
|
+
error?: CloudErrorBody;
|
|
80
62
|
}
|
|
81
63
|
|
|
82
|
-
/**
|
|
83
|
-
|
|
84
|
-
*/
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
64
|
+
/** An error response from Attestation. */
|
|
65
|
+
export interface CloudErrorBody {
|
|
66
|
+
/** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
|
|
67
|
+
code?: string;
|
|
68
|
+
/** A message describing the error, intended to be suitable for displaying in a user interface. */
|
|
69
|
+
message?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/** The Private Endpoint resource. */
|
|
73
|
+
export interface PrivateEndpoint {
|
|
91
74
|
/**
|
|
92
|
-
*
|
|
75
|
+
* The ARM identifier for Private Endpoint
|
|
76
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
93
77
|
*/
|
|
94
|
-
|
|
78
|
+
readonly id?: string;
|
|
95
79
|
}
|
|
96
80
|
|
|
97
|
-
/**
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
81
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
82
|
+
export interface PrivateLinkServiceConnectionState {
|
|
83
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
84
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
|
85
|
+
/** The reason for approval/rejection of the connection. */
|
|
86
|
+
description?: string;
|
|
87
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
88
|
+
actionsRequired?: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
92
|
+
export interface Resource {
|
|
102
93
|
/**
|
|
103
|
-
* Fully qualified resource ID for the resource. Ex -
|
|
104
|
-
*
|
|
105
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
94
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
95
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
106
96
|
*/
|
|
107
97
|
readonly id?: string;
|
|
108
98
|
/**
|
|
109
99
|
* The name of the resource
|
|
110
|
-
*
|
|
100
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
111
101
|
*/
|
|
112
102
|
readonly name?: string;
|
|
113
103
|
/**
|
|
114
|
-
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
|
|
115
|
-
*
|
|
116
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
104
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
105
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
117
106
|
*/
|
|
118
107
|
readonly type?: string;
|
|
119
108
|
}
|
|
120
109
|
|
|
121
|
-
/**
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
* @summary Tracked Resource
|
|
125
|
-
*/
|
|
126
|
-
export interface TrackedResource extends Resource {
|
|
127
|
-
/**
|
|
128
|
-
* Resource tags.
|
|
129
|
-
*/
|
|
130
|
-
tags?: { [propertyName: string]: string };
|
|
131
|
-
/**
|
|
132
|
-
* The geo-location where the resource lives
|
|
133
|
-
*/
|
|
110
|
+
/** Parameters for creating an attestation provider */
|
|
111
|
+
export interface AttestationServiceCreationParams {
|
|
112
|
+
/** The supported Azure location where the attestation provider should be created. */
|
|
134
113
|
location: string;
|
|
114
|
+
/** The tags that will be assigned to the attestation provider. */
|
|
115
|
+
tags?: { [propertyName: string]: string };
|
|
116
|
+
/** Properties of the attestation provider */
|
|
117
|
+
properties: AttestationServiceCreationSpecificParams;
|
|
135
118
|
}
|
|
136
119
|
|
|
137
|
-
/**
|
|
138
|
-
|
|
139
|
-
*/
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* The system metadata relating to this resource
|
|
143
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
144
|
-
*/
|
|
145
|
-
readonly systemData?: SystemData;
|
|
146
|
-
/**
|
|
147
|
-
* Trust model for the attestation service instance.
|
|
148
|
-
*/
|
|
149
|
-
trustModel?: string;
|
|
150
|
-
/**
|
|
151
|
-
* Status of attestation service. Possible values include: 'Ready', 'NotReady', 'Error'
|
|
152
|
-
*/
|
|
153
|
-
status?: AttestationServiceStatus;
|
|
154
|
-
/**
|
|
155
|
-
* Gets the uri of attestation service
|
|
156
|
-
*/
|
|
157
|
-
attestUri?: string;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* Attestation Providers List.
|
|
162
|
-
*/
|
|
163
|
-
export interface AttestationProviderListResult {
|
|
164
|
-
/**
|
|
165
|
-
* The system metadata relating to this resource
|
|
166
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
167
|
-
*/
|
|
168
|
-
readonly systemData?: SystemData;
|
|
169
|
-
/**
|
|
170
|
-
* Attestation Provider array.
|
|
171
|
-
*/
|
|
172
|
-
value?: AttestationProvider[];
|
|
120
|
+
/** Client supplied parameters used to create a new attestation provider. */
|
|
121
|
+
export interface AttestationServiceCreationSpecificParams {
|
|
122
|
+
/** JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations */
|
|
123
|
+
policySigningCertificates?: JsonWebKeySet;
|
|
173
124
|
}
|
|
174
125
|
|
|
175
|
-
|
|
176
|
-
* Parameters for patching an attestation service instance
|
|
177
|
-
*/
|
|
178
|
-
export interface AttestationServicePatchParams extends BaseResource {
|
|
126
|
+
export interface JsonWebKeySet {
|
|
179
127
|
/**
|
|
180
|
-
* The
|
|
128
|
+
* The value of the "keys" parameter is an array of JWK values. By
|
|
129
|
+
* default, the order of the JWK values within the array does not imply
|
|
130
|
+
* an order of preference among them, although applications of JWK Sets
|
|
131
|
+
* can choose to assign a meaning to the order for their purposes, if
|
|
132
|
+
* desired.
|
|
181
133
|
*/
|
|
182
|
-
|
|
134
|
+
keys?: JsonWebKey[];
|
|
183
135
|
}
|
|
184
136
|
|
|
185
|
-
|
|
186
|
-
* An interface representing JSONWebKey.
|
|
187
|
-
*/
|
|
188
|
-
export interface JSONWebKey {
|
|
137
|
+
export interface JsonWebKey {
|
|
189
138
|
/**
|
|
190
139
|
* The "alg" (algorithm) parameter identifies the algorithm intended for
|
|
191
140
|
* use with the key. The values used should either be registered in the
|
|
@@ -193,30 +142,18 @@ export interface JSONWebKey {
|
|
|
193
142
|
* established by [JWA] or be a value that contains a Collision-
|
|
194
143
|
* Resistant Name.
|
|
195
144
|
*/
|
|
196
|
-
alg
|
|
197
|
-
/**
|
|
198
|
-
* The "crv" (curve) parameter identifies the curve type
|
|
199
|
-
*/
|
|
145
|
+
alg?: string;
|
|
146
|
+
/** The "crv" (curve) parameter identifies the curve type */
|
|
200
147
|
crv?: string;
|
|
201
|
-
/**
|
|
202
|
-
* RSA private exponent or ECC private key
|
|
203
|
-
*/
|
|
148
|
+
/** RSA private exponent or ECC private key */
|
|
204
149
|
d?: string;
|
|
205
|
-
/**
|
|
206
|
-
* RSA Private Key Parameter
|
|
207
|
-
*/
|
|
150
|
+
/** RSA Private Key Parameter */
|
|
208
151
|
dp?: string;
|
|
209
|
-
/**
|
|
210
|
-
* RSA Private Key Parameter
|
|
211
|
-
*/
|
|
152
|
+
/** RSA Private Key Parameter */
|
|
212
153
|
dq?: string;
|
|
213
|
-
/**
|
|
214
|
-
* RSA public exponent, in Base64
|
|
215
|
-
*/
|
|
154
|
+
/** RSA public exponent, in Base64 */
|
|
216
155
|
e?: string;
|
|
217
|
-
/**
|
|
218
|
-
* Symmetric key
|
|
219
|
-
*/
|
|
156
|
+
/** Symmetric key */
|
|
220
157
|
k?: string;
|
|
221
158
|
/**
|
|
222
159
|
* The "kid" (key ID) parameter is used to match a specific key. This
|
|
@@ -229,7 +166,7 @@ export interface JSONWebKey {
|
|
|
229
166
|
* equivalent alternatives by the application using them.) The "kid"
|
|
230
167
|
* value is a case-sensitive string.
|
|
231
168
|
*/
|
|
232
|
-
kid
|
|
169
|
+
kid?: string;
|
|
233
170
|
/**
|
|
234
171
|
* The "kty" (key type) parameter identifies the cryptographic algorithm
|
|
235
172
|
* family used with the key, such as "RSA" or "EC". "kty" values should
|
|
@@ -238,21 +175,13 @@ export interface JSONWebKey {
|
|
|
238
175
|
* Resistant Name. The "kty" value is a case-sensitive string.
|
|
239
176
|
*/
|
|
240
177
|
kty: string;
|
|
241
|
-
/**
|
|
242
|
-
* RSA modulus, in Base64
|
|
243
|
-
*/
|
|
178
|
+
/** RSA modulus, in Base64 */
|
|
244
179
|
n?: string;
|
|
245
|
-
/**
|
|
246
|
-
* RSA secret prime
|
|
247
|
-
*/
|
|
180
|
+
/** RSA secret prime */
|
|
248
181
|
p?: string;
|
|
249
|
-
/**
|
|
250
|
-
* RSA secret prime, with p < q
|
|
251
|
-
*/
|
|
182
|
+
/** RSA secret prime, with p < q */
|
|
252
183
|
q?: string;
|
|
253
|
-
/**
|
|
254
|
-
* RSA Private Key Parameter
|
|
255
|
-
*/
|
|
184
|
+
/** RSA Private Key Parameter */
|
|
256
185
|
qi?: string;
|
|
257
186
|
/**
|
|
258
187
|
* Use ("public key use") identifies the intended use of
|
|
@@ -260,10 +189,8 @@ export interface JSONWebKey {
|
|
|
260
189
|
* a public key is used for encrypting data or verifying the signature
|
|
261
190
|
* on data. Values are commonly "sig" (signature) or "enc" (encryption).
|
|
262
191
|
*/
|
|
263
|
-
use
|
|
264
|
-
/**
|
|
265
|
-
* X coordinate for the Elliptic Curve point
|
|
266
|
-
*/
|
|
192
|
+
use?: string;
|
|
193
|
+
/** X coordinate for the Elliptic Curve point */
|
|
267
194
|
x?: string;
|
|
268
195
|
/**
|
|
269
196
|
* The "x5c" (X.509 certificate chain) parameter contains a chain of one
|
|
@@ -274,255 +201,243 @@ export interface JSONWebKey {
|
|
|
274
201
|
* The PKIX certificate containing the key value MUST be the first
|
|
275
202
|
* certificate.
|
|
276
203
|
*/
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* Y coordinate for the Elliptic Curve point
|
|
280
|
-
*/
|
|
204
|
+
x5C?: string[];
|
|
205
|
+
/** Y coordinate for the Elliptic Curve point */
|
|
281
206
|
y?: string;
|
|
282
207
|
}
|
|
283
208
|
|
|
284
|
-
/**
|
|
285
|
-
|
|
286
|
-
*/
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* The value of the "keys" parameter is an array of JWK values. By
|
|
290
|
-
* default, the order of the JWK values within the array does not imply
|
|
291
|
-
* an order of preference among them, although applications of JWK Sets
|
|
292
|
-
* can choose to assign a meaning to the order for their purposes, if
|
|
293
|
-
* desired.
|
|
294
|
-
*/
|
|
295
|
-
keys?: JSONWebKey[];
|
|
209
|
+
/** Parameters for patching an attestation provider */
|
|
210
|
+
export interface AttestationServicePatchParams {
|
|
211
|
+
/** The tags that will be assigned to the attestation provider. */
|
|
212
|
+
tags?: { [propertyName: string]: string };
|
|
296
213
|
}
|
|
297
214
|
|
|
298
|
-
/**
|
|
299
|
-
|
|
300
|
-
*/
|
|
301
|
-
|
|
215
|
+
/** List of private endpoint connection associated with the specified storage account */
|
|
216
|
+
export interface PrivateEndpointConnectionListResult {
|
|
217
|
+
/** Array of private endpoint connections */
|
|
218
|
+
value?: PrivateEndpointConnection[];
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/** Attestation Providers List. */
|
|
222
|
+
export interface AttestationProviderListResult {
|
|
302
223
|
/**
|
|
303
|
-
*
|
|
304
|
-
*
|
|
224
|
+
* The system metadata relating to this resource
|
|
225
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
305
226
|
*/
|
|
306
|
-
|
|
227
|
+
readonly systemData?: SystemData;
|
|
228
|
+
/** Attestation Provider array. */
|
|
229
|
+
value?: AttestationProvider[];
|
|
307
230
|
}
|
|
308
231
|
|
|
309
|
-
/**
|
|
310
|
-
|
|
311
|
-
*/
|
|
312
|
-
|
|
232
|
+
/** The Private Endpoint Connection resource. */
|
|
233
|
+
export type PrivateEndpointConnection = Resource & {
|
|
234
|
+
/** The resource of private end point. */
|
|
235
|
+
privateEndpoint?: PrivateEndpoint;
|
|
236
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
237
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
313
238
|
/**
|
|
314
|
-
* The
|
|
239
|
+
* The provisioning state of the private endpoint connection resource.
|
|
240
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
315
241
|
*/
|
|
242
|
+
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
246
|
+
export type TrackedResource = Resource & {
|
|
247
|
+
/** Resource tags. */
|
|
248
|
+
tags?: { [propertyName: string]: string };
|
|
249
|
+
/** The geo-location where the resource lives */
|
|
316
250
|
location: string;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
/** Attestation service response message. */
|
|
254
|
+
export type AttestationProvider = TrackedResource & {
|
|
317
255
|
/**
|
|
318
|
-
* The
|
|
256
|
+
* The system metadata relating to this resource
|
|
257
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
319
258
|
*/
|
|
320
|
-
|
|
259
|
+
readonly systemData?: SystemData;
|
|
260
|
+
/** Trust model for the attestation provider. */
|
|
261
|
+
trustModel?: string;
|
|
262
|
+
/** Status of attestation service. */
|
|
263
|
+
status?: AttestationServiceStatus;
|
|
264
|
+
/** Gets the uri of attestation service */
|
|
265
|
+
attestUri?: string;
|
|
321
266
|
/**
|
|
322
|
-
*
|
|
267
|
+
* List of private endpoint connections associated with the attestation provider.
|
|
268
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
323
269
|
*/
|
|
324
|
-
|
|
270
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
274
|
+
export enum KnownCreatedByType {
|
|
275
|
+
User = "User",
|
|
276
|
+
Application = "Application",
|
|
277
|
+
ManagedIdentity = "ManagedIdentity",
|
|
278
|
+
Key = "Key"
|
|
325
279
|
}
|
|
326
280
|
|
|
327
281
|
/**
|
|
328
|
-
*
|
|
329
|
-
*
|
|
330
|
-
*
|
|
282
|
+
* Defines values for CreatedByType. \
|
|
283
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
284
|
+
* this enum contains the known values that the service supports.
|
|
285
|
+
* ### Known values supported by the service
|
|
286
|
+
* **User** \
|
|
287
|
+
* **Application** \
|
|
288
|
+
* **ManagedIdentity** \
|
|
289
|
+
* **Key**
|
|
331
290
|
*/
|
|
332
|
-
export
|
|
291
|
+
export type CreatedByType = string;
|
|
292
|
+
|
|
293
|
+
/** Known values of {@link AttestationServiceStatus} that the service accepts. */
|
|
294
|
+
export enum KnownAttestationServiceStatus {
|
|
295
|
+
Ready = "Ready",
|
|
296
|
+
NotReady = "NotReady",
|
|
297
|
+
Error = "Error"
|
|
333
298
|
}
|
|
334
299
|
|
|
335
300
|
/**
|
|
336
|
-
*
|
|
337
|
-
* @
|
|
301
|
+
* Defines values for AttestationServiceStatus. \
|
|
302
|
+
* {@link KnownAttestationServiceStatus} can be used interchangeably with AttestationServiceStatus,
|
|
303
|
+
* this enum contains the known values that the service supports.
|
|
304
|
+
* ### Known values supported by the service
|
|
305
|
+
* **Ready** \
|
|
306
|
+
* **NotReady** \
|
|
307
|
+
* **Error**
|
|
338
308
|
*/
|
|
339
|
-
export
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
309
|
+
export type AttestationServiceStatus = string;
|
|
310
|
+
|
|
311
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
312
|
+
export enum KnownPrivateEndpointServiceConnectionStatus {
|
|
313
|
+
Pending = "Pending",
|
|
314
|
+
Approved = "Approved",
|
|
315
|
+
Rejected = "Rejected"
|
|
345
316
|
}
|
|
346
317
|
|
|
347
318
|
/**
|
|
348
|
-
*
|
|
319
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
|
320
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
|
321
|
+
* this enum contains the known values that the service supports.
|
|
322
|
+
* ### Known values supported by the service
|
|
323
|
+
* **Pending** \
|
|
324
|
+
* **Approved** \
|
|
325
|
+
* **Rejected**
|
|
349
326
|
*/
|
|
350
|
-
export
|
|
351
|
-
|
|
327
|
+
export type PrivateEndpointServiceConnectionStatus = string;
|
|
328
|
+
|
|
329
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
330
|
+
export enum KnownPrivateEndpointConnectionProvisioningState {
|
|
331
|
+
Succeeded = "Succeeded",
|
|
332
|
+
Creating = "Creating",
|
|
333
|
+
Deleting = "Deleting",
|
|
334
|
+
Failed = "Failed"
|
|
352
335
|
}
|
|
353
336
|
|
|
354
337
|
/**
|
|
355
|
-
* Defines values for
|
|
356
|
-
*
|
|
357
|
-
*
|
|
358
|
-
*
|
|
338
|
+
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
|
339
|
+
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
|
340
|
+
* this enum contains the known values that the service supports.
|
|
341
|
+
* ### Known values supported by the service
|
|
342
|
+
* **Succeeded** \
|
|
343
|
+
* **Creating** \
|
|
344
|
+
* **Deleting** \
|
|
345
|
+
* **Failed**
|
|
359
346
|
*/
|
|
360
|
-
export type
|
|
347
|
+
export type PrivateEndpointConnectionProvisioningState = string;
|
|
361
348
|
|
|
362
|
-
/**
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
* @readonly
|
|
366
|
-
* @enum {string}
|
|
367
|
-
*/
|
|
368
|
-
export type AttestationServiceStatus = 'Ready' | 'NotReady' | 'Error';
|
|
349
|
+
/** Optional parameters. */
|
|
350
|
+
export interface OperationsListOptionalParams
|
|
351
|
+
extends coreClient.OperationOptions {}
|
|
369
352
|
|
|
370
|
-
/**
|
|
371
|
-
|
|
372
|
-
*/
|
|
373
|
-
export type OperationsListResponse = OperationList & {
|
|
374
|
-
/**
|
|
375
|
-
* The underlying HTTP response.
|
|
376
|
-
*/
|
|
377
|
-
_response: msRest.HttpResponse & {
|
|
378
|
-
/**
|
|
379
|
-
* The response body as text (string format)
|
|
380
|
-
*/
|
|
381
|
-
bodyAsText: string;
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* The response body as parsed JSON or XML
|
|
385
|
-
*/
|
|
386
|
-
parsedBody: OperationList;
|
|
387
|
-
};
|
|
388
|
-
};
|
|
353
|
+
/** Contains response data for the list operation. */
|
|
354
|
+
export type OperationsListResponse = OperationList;
|
|
389
355
|
|
|
390
|
-
/**
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
export type AttestationProvidersGetResponse = AttestationProvider & {
|
|
394
|
-
/**
|
|
395
|
-
* The underlying HTTP response.
|
|
396
|
-
*/
|
|
397
|
-
_response: msRest.HttpResponse & {
|
|
398
|
-
/**
|
|
399
|
-
* The response body as text (string format)
|
|
400
|
-
*/
|
|
401
|
-
bodyAsText: string;
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* The response body as parsed JSON or XML
|
|
405
|
-
*/
|
|
406
|
-
parsedBody: AttestationProvider;
|
|
407
|
-
};
|
|
408
|
-
};
|
|
356
|
+
/** Optional parameters. */
|
|
357
|
+
export interface AttestationProvidersGetOptionalParams
|
|
358
|
+
extends coreClient.OperationOptions {}
|
|
409
359
|
|
|
410
|
-
/**
|
|
411
|
-
|
|
412
|
-
*/
|
|
413
|
-
export type AttestationProvidersCreateResponse = AttestationProvider & {
|
|
414
|
-
/**
|
|
415
|
-
* The underlying HTTP response.
|
|
416
|
-
*/
|
|
417
|
-
_response: msRest.HttpResponse & {
|
|
418
|
-
/**
|
|
419
|
-
* The response body as text (string format)
|
|
420
|
-
*/
|
|
421
|
-
bodyAsText: string;
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
* The response body as parsed JSON or XML
|
|
425
|
-
*/
|
|
426
|
-
parsedBody: AttestationProvider;
|
|
427
|
-
};
|
|
428
|
-
};
|
|
360
|
+
/** Contains response data for the get operation. */
|
|
361
|
+
export type AttestationProvidersGetResponse = AttestationProvider;
|
|
429
362
|
|
|
430
|
-
/**
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
export type AttestationProvidersUpdateResponse = AttestationProvider & {
|
|
434
|
-
/**
|
|
435
|
-
* The underlying HTTP response.
|
|
436
|
-
*/
|
|
437
|
-
_response: msRest.HttpResponse & {
|
|
438
|
-
/**
|
|
439
|
-
* The response body as text (string format)
|
|
440
|
-
*/
|
|
441
|
-
bodyAsText: string;
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* The response body as parsed JSON or XML
|
|
445
|
-
*/
|
|
446
|
-
parsedBody: AttestationProvider;
|
|
447
|
-
};
|
|
448
|
-
};
|
|
363
|
+
/** Optional parameters. */
|
|
364
|
+
export interface AttestationProvidersCreateOptionalParams
|
|
365
|
+
extends coreClient.OperationOptions {}
|
|
449
366
|
|
|
450
|
-
/**
|
|
451
|
-
|
|
452
|
-
*/
|
|
453
|
-
export type AttestationProvidersListResponse = AttestationProviderListResult & {
|
|
454
|
-
/**
|
|
455
|
-
* The underlying HTTP response.
|
|
456
|
-
*/
|
|
457
|
-
_response: msRest.HttpResponse & {
|
|
458
|
-
/**
|
|
459
|
-
* The response body as text (string format)
|
|
460
|
-
*/
|
|
461
|
-
bodyAsText: string;
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* The response body as parsed JSON or XML
|
|
465
|
-
*/
|
|
466
|
-
parsedBody: AttestationProviderListResult;
|
|
467
|
-
};
|
|
468
|
-
};
|
|
367
|
+
/** Contains response data for the create operation. */
|
|
368
|
+
export type AttestationProvidersCreateResponse = AttestationProvider;
|
|
469
369
|
|
|
470
|
-
/**
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
export type AttestationProvidersListByResourceGroupResponse = AttestationProviderListResult & {
|
|
474
|
-
/**
|
|
475
|
-
* The underlying HTTP response.
|
|
476
|
-
*/
|
|
477
|
-
_response: msRest.HttpResponse & {
|
|
478
|
-
/**
|
|
479
|
-
* The response body as text (string format)
|
|
480
|
-
*/
|
|
481
|
-
bodyAsText: string;
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* The response body as parsed JSON or XML
|
|
485
|
-
*/
|
|
486
|
-
parsedBody: AttestationProviderListResult;
|
|
487
|
-
};
|
|
488
|
-
};
|
|
370
|
+
/** Optional parameters. */
|
|
371
|
+
export interface AttestationProvidersUpdateOptionalParams
|
|
372
|
+
extends coreClient.OperationOptions {}
|
|
489
373
|
|
|
490
|
-
/**
|
|
491
|
-
|
|
492
|
-
*/
|
|
493
|
-
export type AttestationProvidersListDefaultResponse = AttestationProviderListResult & {
|
|
494
|
-
/**
|
|
495
|
-
* The underlying HTTP response.
|
|
496
|
-
*/
|
|
497
|
-
_response: msRest.HttpResponse & {
|
|
498
|
-
/**
|
|
499
|
-
* The response body as text (string format)
|
|
500
|
-
*/
|
|
501
|
-
bodyAsText: string;
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* The response body as parsed JSON or XML
|
|
505
|
-
*/
|
|
506
|
-
parsedBody: AttestationProviderListResult;
|
|
507
|
-
};
|
|
508
|
-
};
|
|
374
|
+
/** Contains response data for the update operation. */
|
|
375
|
+
export type AttestationProvidersUpdateResponse = AttestationProvider;
|
|
509
376
|
|
|
510
|
-
/**
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
377
|
+
/** Optional parameters. */
|
|
378
|
+
export interface AttestationProvidersDeleteOptionalParams
|
|
379
|
+
extends coreClient.OperationOptions {}
|
|
380
|
+
|
|
381
|
+
/** Optional parameters. */
|
|
382
|
+
export interface AttestationProvidersListOptionalParams
|
|
383
|
+
extends coreClient.OperationOptions {}
|
|
384
|
+
|
|
385
|
+
/** Contains response data for the list operation. */
|
|
386
|
+
export type AttestationProvidersListResponse = AttestationProviderListResult;
|
|
387
|
+
|
|
388
|
+
/** Optional parameters. */
|
|
389
|
+
export interface AttestationProvidersListByResourceGroupOptionalParams
|
|
390
|
+
extends coreClient.OperationOptions {}
|
|
391
|
+
|
|
392
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
393
|
+
export type AttestationProvidersListByResourceGroupResponse = AttestationProviderListResult;
|
|
394
|
+
|
|
395
|
+
/** Optional parameters. */
|
|
396
|
+
export interface AttestationProvidersListDefaultOptionalParams
|
|
397
|
+
extends coreClient.OperationOptions {}
|
|
398
|
+
|
|
399
|
+
/** Contains response data for the listDefault operation. */
|
|
400
|
+
export type AttestationProvidersListDefaultResponse = AttestationProviderListResult;
|
|
401
|
+
|
|
402
|
+
/** Optional parameters. */
|
|
403
|
+
export interface AttestationProvidersGetDefaultByLocationOptionalParams
|
|
404
|
+
extends coreClient.OperationOptions {}
|
|
405
|
+
|
|
406
|
+
/** Contains response data for the getDefaultByLocation operation. */
|
|
407
|
+
export type AttestationProvidersGetDefaultByLocationResponse = AttestationProvider;
|
|
408
|
+
|
|
409
|
+
/** Optional parameters. */
|
|
410
|
+
export interface PrivateEndpointConnectionsListOptionalParams
|
|
411
|
+
extends coreClient.OperationOptions {}
|
|
412
|
+
|
|
413
|
+
/** Contains response data for the list operation. */
|
|
414
|
+
export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
|
|
415
|
+
|
|
416
|
+
/** Optional parameters. */
|
|
417
|
+
export interface PrivateEndpointConnectionsGetOptionalParams
|
|
418
|
+
extends coreClient.OperationOptions {}
|
|
419
|
+
|
|
420
|
+
/** Contains response data for the get operation. */
|
|
421
|
+
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
|
422
|
+
|
|
423
|
+
/** Optional parameters. */
|
|
424
|
+
export interface PrivateEndpointConnectionsCreateOptionalParams
|
|
425
|
+
extends coreClient.OperationOptions {}
|
|
426
|
+
|
|
427
|
+
/** Contains response data for the create operation. */
|
|
428
|
+
export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
|
|
429
|
+
|
|
430
|
+
/** Optional parameters. */
|
|
431
|
+
export interface PrivateEndpointConnectionsDeleteOptionalParams
|
|
432
|
+
extends coreClient.OperationOptions {}
|
|
433
|
+
|
|
434
|
+
/** Optional parameters. */
|
|
435
|
+
export interface AttestationManagementClientOptionalParams
|
|
436
|
+
extends coreClient.ServiceClientOptions {
|
|
437
|
+
/** server parameter */
|
|
438
|
+
$host?: string;
|
|
439
|
+
/** Api Version */
|
|
440
|
+
apiVersion?: string;
|
|
441
|
+
/** Overrides client endpoint. */
|
|
442
|
+
endpoint?: string;
|
|
443
|
+
}
|