@azure/arm-attestation 1.1.1 → 2.0.0

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