@azure/arm-attestation 1.0.0 → 2.0.1-alpha.20211230.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.
Files changed (128) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +72 -73
  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 -21
  65. package/review/arm-attestation.api.md +346 -0
  66. package/rollup.config.js +181 -30
  67. package/src/attestationManagementClient.ts +74 -31
  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 -1105
  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 -19
  88. package/esm/attestationManagementClient.d.ts.map +0 -1
  89. package/esm/attestationManagementClient.js +0 -34
  90. package/esm/attestationManagementClient.js.map +0 -1
  91. package/esm/attestationManagementClientContext.d.ts +0 -16
  92. package/esm/attestationManagementClientContext.d.ts.map +0 -1
  93. package/esm/attestationManagementClientContext.js +0 -56
  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 -62
  127. package/src/models/attestationProvidersMappers.ts +0 -24
  128. package/src/models/operationsMappers.ts +0 -15
@@ -1,169 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { AttestationManagementClientContext } from "../attestationManagementClientContext";
4
- /** Class representing a AttestationProviders. */
5
- export declare class AttestationProviders {
6
- private readonly client;
7
- /**
8
- * Create a AttestationProviders.
9
- * @param {AttestationManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: AttestationManagementClientContext);
12
- /**
13
- * Get the status of Attestation Provider.
14
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
- * @param providerName Name of the attestation service instance
16
- * @param [options] The optional parameters
17
- * @returns Promise<Models.AttestationProvidersGetResponse>
18
- */
19
- get(resourceGroupName: string, providerName: string, options?: msRest.RequestOptionsBase): Promise<Models.AttestationProvidersGetResponse>;
20
- /**
21
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
22
- * @param providerName Name of the attestation service instance
23
- * @param callback The callback
24
- */
25
- get(resourceGroupName: string, providerName: string, callback: msRest.ServiceCallback<Models.AttestationProvider>): void;
26
- /**
27
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
- * @param providerName Name of the attestation service instance
29
- * @param options The optional parameters
30
- * @param callback The callback
31
- */
32
- get(resourceGroupName: string, providerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AttestationProvider>): void;
33
- /**
34
- * Creates a new Attestation Provider instance.
35
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
36
- * @param providerName Name of the attestation service instance.
37
- * @param creationParams Client supplied parameters.
38
- * @param [options] The optional parameters
39
- * @returns Promise<Models.AttestationProvidersCreateResponse>
40
- */
41
- create(resourceGroupName: string, providerName: string, creationParams: Models.AttestationServiceCreationParams, options?: msRest.RequestOptionsBase): Promise<Models.AttestationProvidersCreateResponse>;
42
- /**
43
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
- * @param providerName Name of the attestation service instance.
45
- * @param creationParams Client supplied parameters.
46
- * @param callback The callback
47
- */
48
- create(resourceGroupName: string, providerName: string, creationParams: Models.AttestationServiceCreationParams, callback: msRest.ServiceCallback<Models.AttestationProvider>): void;
49
- /**
50
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
- * @param providerName Name of the attestation service instance.
52
- * @param creationParams Client supplied parameters.
53
- * @param options The optional parameters
54
- * @param callback The callback
55
- */
56
- create(resourceGroupName: string, providerName: string, creationParams: Models.AttestationServiceCreationParams, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AttestationProvider>): void;
57
- /**
58
- * Updates the Attestation Provider.
59
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
- * @param providerName Name of the attestation service instance.
61
- * @param updateParams Client supplied parameters.
62
- * @param [options] The optional parameters
63
- * @returns Promise<Models.AttestationProvidersUpdateResponse>
64
- */
65
- update(resourceGroupName: string, providerName: string, updateParams: Models.AttestationServicePatchParams, options?: msRest.RequestOptionsBase): Promise<Models.AttestationProvidersUpdateResponse>;
66
- /**
67
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
- * @param providerName Name of the attestation service instance.
69
- * @param updateParams Client supplied parameters.
70
- * @param callback The callback
71
- */
72
- update(resourceGroupName: string, providerName: string, updateParams: Models.AttestationServicePatchParams, callback: msRest.ServiceCallback<Models.AttestationProvider>): void;
73
- /**
74
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
- * @param providerName Name of the attestation service instance.
76
- * @param updateParams Client supplied parameters.
77
- * @param options The optional parameters
78
- * @param callback The callback
79
- */
80
- update(resourceGroupName: string, providerName: string, updateParams: Models.AttestationServicePatchParams, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AttestationProvider>): void;
81
- /**
82
- * Delete Attestation Service.
83
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
84
- * @param providerName Name of the attestation service
85
- * @param [options] The optional parameters
86
- * @returns Promise<msRest.RestResponse>
87
- */
88
- deleteMethod(resourceGroupName: string, providerName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
89
- /**
90
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
- * @param providerName Name of the attestation service
92
- * @param callback The callback
93
- */
94
- deleteMethod(resourceGroupName: string, providerName: string, callback: msRest.ServiceCallback<void>): void;
95
- /**
96
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
97
- * @param providerName Name of the attestation service
98
- * @param options The optional parameters
99
- * @param callback The callback
100
- */
101
- deleteMethod(resourceGroupName: string, providerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
102
- /**
103
- * Returns a list of attestation providers in a subscription.
104
- * @param [options] The optional parameters
105
- * @returns Promise<Models.AttestationProvidersListResponse>
106
- */
107
- list(options?: msRest.RequestOptionsBase): Promise<Models.AttestationProvidersListResponse>;
108
- /**
109
- * @param callback The callback
110
- */
111
- list(callback: msRest.ServiceCallback<Models.AttestationProviderListResult>): void;
112
- /**
113
- * @param options The optional parameters
114
- * @param callback The callback
115
- */
116
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AttestationProviderListResult>): void;
117
- /**
118
- * Returns attestation providers list in a resource group.
119
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
- * @param [options] The optional parameters
121
- * @returns Promise<Models.AttestationProvidersListByResourceGroupResponse>
122
- */
123
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.AttestationProvidersListByResourceGroupResponse>;
124
- /**
125
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
126
- * @param callback The callback
127
- */
128
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.AttestationProviderListResult>): void;
129
- /**
130
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
131
- * @param options The optional parameters
132
- * @param callback The callback
133
- */
134
- listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AttestationProviderListResult>): void;
135
- /**
136
- * Get the default provider
137
- * @param [options] The optional parameters
138
- * @returns Promise<Models.AttestationProvidersListDefaultResponse>
139
- */
140
- listDefault(options?: msRest.RequestOptionsBase): Promise<Models.AttestationProvidersListDefaultResponse>;
141
- /**
142
- * @param callback The callback
143
- */
144
- listDefault(callback: msRest.ServiceCallback<Models.AttestationProviderListResult>): void;
145
- /**
146
- * @param options The optional parameters
147
- * @param callback The callback
148
- */
149
- listDefault(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AttestationProviderListResult>): void;
150
- /**
151
- * Get the default provider by location.
152
- * @param location The location of the default provider.
153
- * @param [options] The optional parameters
154
- * @returns Promise<Models.AttestationProvidersGetDefaultByLocationResponse>
155
- */
156
- getDefaultByLocation(location: string, options?: msRest.RequestOptionsBase): Promise<Models.AttestationProvidersGetDefaultByLocationResponse>;
157
- /**
158
- * @param location The location of the default provider.
159
- * @param callback The callback
160
- */
161
- getDefaultByLocation(location: string, callback: msRest.ServiceCallback<Models.AttestationProvider>): void;
162
- /**
163
- * @param location The location of the default provider.
164
- * @param options The optional parameters
165
- * @param callback The callback
166
- */
167
- getDefaultByLocation(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AttestationProvider>): void;
168
- }
169
- //# sourceMappingURL=attestationProviders.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attestationProviders.d.ts","sourceRoot":"","sources":["../../src/operations/attestationProviders.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,uCAAuC,CAAC;AAE3F,iDAAiD;AACjD,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqC;IAE5D;;;OAGG;gBACS,MAAM,EAAE,kCAAkC;IAItD;;;;;;OAMG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,+BAA+B,CAAC;IAC1I;;;;OAIG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxH;;;;;OAKG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAY5J;;;;;;;OAOG;IACH,MAAM,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,CAAC,gCAAgC,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAA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H,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,uCAAuC,CAAC;IACzG;;OAEG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,6BAA6B,CAAC,GAAG,IAAI;IACzF;;;OAGG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,6BAA6B,CAAC,GAAG,IAAI;IAU7H;;;;;OAKG;IACH,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,gDAAgD,CAAC;IAC7I;;;OAGG;IACH,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAC1G;;;;OAIG;IACH,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAU/I"}
@@ -1,277 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import { __assign } from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/attestationProvidersMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a AttestationProviders. */
15
- var AttestationProviders = /** @class */ (function () {
16
- /**
17
- * Create a AttestationProviders.
18
- * @param {AttestationManagementClientContext} client Reference to the service client.
19
- */
20
- function AttestationProviders(client) {
21
- this.client = client;
22
- }
23
- AttestationProviders.prototype.get = function (resourceGroupName, providerName, options, callback) {
24
- return this.client.sendOperationRequest({
25
- resourceGroupName: resourceGroupName,
26
- providerName: providerName,
27
- options: options
28
- }, getOperationSpec, callback);
29
- };
30
- AttestationProviders.prototype.create = function (resourceGroupName, providerName, creationParams, options, callback) {
31
- return this.client.sendOperationRequest({
32
- resourceGroupName: resourceGroupName,
33
- providerName: providerName,
34
- creationParams: creationParams,
35
- options: options
36
- }, createOperationSpec, callback);
37
- };
38
- AttestationProviders.prototype.update = function (resourceGroupName, providerName, updateParams, options, callback) {
39
- return this.client.sendOperationRequest({
40
- resourceGroupName: resourceGroupName,
41
- providerName: providerName,
42
- updateParams: updateParams,
43
- options: options
44
- }, updateOperationSpec, callback);
45
- };
46
- AttestationProviders.prototype.deleteMethod = function (resourceGroupName, providerName, options, callback) {
47
- return this.client.sendOperationRequest({
48
- resourceGroupName: resourceGroupName,
49
- providerName: providerName,
50
- options: options
51
- }, deleteMethodOperationSpec, callback);
52
- };
53
- AttestationProviders.prototype.list = function (options, callback) {
54
- return this.client.sendOperationRequest({
55
- options: options
56
- }, listOperationSpec, callback);
57
- };
58
- AttestationProviders.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
59
- return this.client.sendOperationRequest({
60
- resourceGroupName: resourceGroupName,
61
- options: options
62
- }, listByResourceGroupOperationSpec, callback);
63
- };
64
- AttestationProviders.prototype.listDefault = function (options, callback) {
65
- return this.client.sendOperationRequest({
66
- options: options
67
- }, listDefaultOperationSpec, callback);
68
- };
69
- AttestationProviders.prototype.getDefaultByLocation = function (location, options, callback) {
70
- return this.client.sendOperationRequest({
71
- location: location,
72
- options: options
73
- }, getDefaultByLocationOperationSpec, callback);
74
- };
75
- return AttestationProviders;
76
- }());
77
- export { AttestationProviders };
78
- // Operation Specifications
79
- var serializer = new msRest.Serializer(Mappers);
80
- var getOperationSpec = {
81
- httpMethod: "GET",
82
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}",
83
- urlParameters: [
84
- Parameters.subscriptionId,
85
- Parameters.resourceGroupName,
86
- Parameters.providerName
87
- ],
88
- queryParameters: [
89
- Parameters.apiVersion
90
- ],
91
- headerParameters: [
92
- Parameters.acceptLanguage
93
- ],
94
- responses: {
95
- 200: {
96
- bodyMapper: Mappers.AttestationProvider
97
- },
98
- default: {
99
- bodyMapper: Mappers.CloudError
100
- }
101
- },
102
- serializer: serializer
103
- };
104
- var createOperationSpec = {
105
- httpMethod: "PUT",
106
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}",
107
- urlParameters: [
108
- Parameters.subscriptionId,
109
- Parameters.resourceGroupName,
110
- Parameters.providerName
111
- ],
112
- queryParameters: [
113
- Parameters.apiVersion
114
- ],
115
- headerParameters: [
116
- Parameters.acceptLanguage
117
- ],
118
- requestBody: {
119
- parameterPath: "creationParams",
120
- mapper: __assign(__assign({}, Mappers.AttestationServiceCreationParams), { required: true })
121
- },
122
- responses: {
123
- 200: {
124
- bodyMapper: Mappers.AttestationProvider
125
- },
126
- 201: {
127
- bodyMapper: Mappers.AttestationProvider
128
- },
129
- default: {
130
- bodyMapper: Mappers.CloudError
131
- }
132
- },
133
- serializer: serializer
134
- };
135
- var updateOperationSpec = {
136
- httpMethod: "PATCH",
137
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}",
138
- urlParameters: [
139
- Parameters.subscriptionId,
140
- Parameters.resourceGroupName,
141
- Parameters.providerName
142
- ],
143
- queryParameters: [
144
- Parameters.apiVersion
145
- ],
146
- headerParameters: [
147
- Parameters.acceptLanguage
148
- ],
149
- requestBody: {
150
- parameterPath: "updateParams",
151
- mapper: __assign(__assign({}, Mappers.AttestationServicePatchParams), { required: true })
152
- },
153
- responses: {
154
- 200: {
155
- bodyMapper: Mappers.AttestationProvider
156
- },
157
- default: {
158
- bodyMapper: Mappers.CloudError
159
- }
160
- },
161
- serializer: serializer
162
- };
163
- var deleteMethodOperationSpec = {
164
- httpMethod: "DELETE",
165
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}",
166
- urlParameters: [
167
- Parameters.subscriptionId,
168
- Parameters.resourceGroupName,
169
- Parameters.providerName
170
- ],
171
- queryParameters: [
172
- Parameters.apiVersion
173
- ],
174
- headerParameters: [
175
- Parameters.acceptLanguage
176
- ],
177
- responses: {
178
- 200: {},
179
- 202: {},
180
- 204: {},
181
- default: {
182
- bodyMapper: Mappers.CloudError
183
- }
184
- },
185
- serializer: serializer
186
- };
187
- var listOperationSpec = {
188
- httpMethod: "GET",
189
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders",
190
- urlParameters: [
191
- Parameters.subscriptionId
192
- ],
193
- queryParameters: [
194
- Parameters.apiVersion
195
- ],
196
- headerParameters: [
197
- Parameters.acceptLanguage
198
- ],
199
- responses: {
200
- 200: {
201
- bodyMapper: Mappers.AttestationProviderListResult
202
- },
203
- default: {
204
- bodyMapper: Mappers.CloudError
205
- }
206
- },
207
- serializer: serializer
208
- };
209
- var listByResourceGroupOperationSpec = {
210
- httpMethod: "GET",
211
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders",
212
- urlParameters: [
213
- Parameters.resourceGroupName,
214
- Parameters.subscriptionId
215
- ],
216
- queryParameters: [
217
- Parameters.apiVersion
218
- ],
219
- headerParameters: [
220
- Parameters.acceptLanguage
221
- ],
222
- responses: {
223
- 200: {
224
- bodyMapper: Mappers.AttestationProviderListResult
225
- },
226
- default: {
227
- bodyMapper: Mappers.CloudError
228
- }
229
- },
230
- serializer: serializer
231
- };
232
- var listDefaultOperationSpec = {
233
- httpMethod: "GET",
234
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Attestation/defaultProviders",
235
- urlParameters: [
236
- Parameters.subscriptionId
237
- ],
238
- queryParameters: [
239
- Parameters.apiVersion
240
- ],
241
- headerParameters: [
242
- Parameters.acceptLanguage
243
- ],
244
- responses: {
245
- 200: {
246
- bodyMapper: Mappers.AttestationProviderListResult
247
- },
248
- default: {
249
- bodyMapper: Mappers.CloudError
250
- }
251
- },
252
- serializer: serializer
253
- };
254
- var getDefaultByLocationOperationSpec = {
255
- httpMethod: "GET",
256
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Attestation/locations/{location}/defaultProvider",
257
- urlParameters: [
258
- Parameters.location,
259
- Parameters.subscriptionId
260
- ],
261
- queryParameters: [
262
- Parameters.apiVersion
263
- ],
264
- headerParameters: [
265
- Parameters.acceptLanguage
266
- ],
267
- responses: {
268
- 200: {
269
- bodyMapper: Mappers.AttestationProvider
270
- },
271
- default: {
272
- bodyMapper: Mappers.CloudError
273
- }
274
- },
275
- serializer: serializer
276
- };
277
- //# sourceMappingURL=attestationProviders.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attestationProviders.js","sourceRoot":"","sources":["../../src/operations/attestationProviders.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,uCAAuC,CAAC;AACjE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,iDAAiD;AACjD;IAGE;;;OAGG;IACH,8BAAY,MAA0C;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAuBD,kCAAG,GAAH,UAAI,iBAAyB,EAAE,YAAoB,EAAE,OAAwF,EAAE,QAA6D;QAC1M,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAAoD,CAAC;IACjE,CAAC;IA0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A;CACX,CAAC;AAEF,IAAM,iCAAiC,GAAyB;IAC9D,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,qGAAqG;IAC3G,aAAa,EAAE;QACb,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from "./operations";
2
- export * from "./attestationProviders";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAUA,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC"}
@@ -1,12 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- export * from "./operations";
11
- export * from "./attestationProviders";
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC"}
@@ -1,28 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { AttestationManagementClientContext } from "../attestationManagementClientContext";
4
- /** Class representing a Operations. */
5
- export declare class Operations {
6
- private readonly client;
7
- /**
8
- * Create a Operations.
9
- * @param {AttestationManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: AttestationManagementClientContext);
12
- /**
13
- * Lists all of the available Azure attestation operations.
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.OperationsListResponse>
16
- */
17
- list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- list(callback: msRest.ServiceCallback<Models.OperationList>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationList>): void;
27
- }
28
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,uCAAuC,CAAC;AAE3F,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqC;IAE5D;;;OAGG;gBACS,MAAM,EAAE,kCAAkC;IAItD;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI;IAClE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI;CASvG"}
@@ -1,51 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/operationsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a Operations. */
14
- var Operations = /** @class */ (function () {
15
- /**
16
- * Create a Operations.
17
- * @param {AttestationManagementClientContext} client Reference to the service client.
18
- */
19
- function Operations(client) {
20
- this.client = client;
21
- }
22
- Operations.prototype.list = function (options, callback) {
23
- return this.client.sendOperationRequest({
24
- options: options
25
- }, listOperationSpec, callback);
26
- };
27
- return Operations;
28
- }());
29
- export { Operations };
30
- // Operation Specifications
31
- var serializer = new msRest.Serializer(Mappers);
32
- var listOperationSpec = {
33
- httpMethod: "GET",
34
- path: "providers/Microsoft.Attestation/operations",
35
- queryParameters: [
36
- Parameters.apiVersion
37
- ],
38
- headerParameters: [
39
- Parameters.acceptLanguage
40
- ],
41
- responses: {
42
- 200: {
43
- bodyMapper: Mappers.OperationList
44
- },
45
- default: {
46
- bodyMapper: Mappers.CloudError
47
- }
48
- },
49
- serializer: serializer
50
- };
51
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAA0C;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAkF,EAAE,QAAuD;QAC9I,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IACH,iBAAC;AAAD,CAAC,AAlCD,IAkCC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,4CAA4C;IAClD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,62 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as Models from "./models";
12
- import * as msRest from "@azure/ms-rest-js";
13
- import * as msRestAzure from "@azure/ms-rest-azure-js";
14
-
15
- const packageName = "@azure/arm-attestation";
16
- const packageVersion = "1.0.0";
17
-
18
- export class AttestationManagementClientContext extends msRestAzure.AzureServiceClient {
19
- credentials: msRest.ServiceClientCredentials;
20
- apiVersion?: string;
21
- subscriptionId: string;
22
-
23
- /**
24
- * Initializes a new instance of the AttestationManagementClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure.
26
- * @param subscriptionId The ID of the target subscription.
27
- * @param [options] The parameter options
28
- */
29
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AttestationManagementClientOptions) {
30
- if (credentials == undefined) {
31
- throw new Error('\'credentials\' cannot be null.');
32
- }
33
- if (subscriptionId == undefined) {
34
- throw new Error('\'subscriptionId\' cannot be null.');
35
- }
36
-
37
- if (!options) {
38
- options = {};
39
- }
40
- if(!options.userAgent) {
41
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
42
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
43
- }
44
-
45
- super(credentials, options);
46
-
47
- this.apiVersion = '2020-10-01';
48
- this.acceptLanguage = 'en-US';
49
- this.longRunningOperationRetryTimeout = 30;
50
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
51
- this.requestContentType = "application/json; charset=utf-8";
52
- this.credentials = credentials;
53
- this.subscriptionId = subscriptionId;
54
-
55
- if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
56
- this.acceptLanguage = options.acceptLanguage;
57
- }
58
- if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
59
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
60
- }
61
- }
62
- }
@@ -1,24 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export {
10
- AttestationProvider,
11
- AttestationProviderListResult,
12
- AttestationServiceCreationParams,
13
- AttestationServiceCreationSpecificParams,
14
- AttestationServicePatchParams,
15
- AzureEntityResource,
16
- BaseResource,
17
- CloudError,
18
- JSONWebKey,
19
- JSONWebKeySet,
20
- ProxyResource,
21
- Resource,
22
- SystemData,
23
- TrackedResource
24
- } from "../models/mappers";