@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.
Files changed (128) hide show
  1. package/CHANGELOG.md +21 -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 -22
  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,138 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
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
+ import { AttestationServiceCreationParams as AttestationServiceCreationParamsMapper, AttestationServicePatchParams as AttestationServicePatchParamsMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper } from "../models/mappers";
9
+ export const accept = {
10
+ parameterPath: "accept",
11
+ mapper: {
12
+ defaultValue: "application/json",
13
+ isConstant: true,
14
+ serializedName: "Accept",
15
+ type: {
16
+ name: "String"
17
+ }
18
+ }
19
+ };
20
+ export const $host = {
21
+ parameterPath: "$host",
22
+ mapper: {
23
+ serializedName: "$host",
24
+ required: true,
25
+ type: {
26
+ name: "String"
27
+ }
28
+ },
29
+ skipEncoding: true
30
+ };
31
+ export const apiVersion = {
32
+ parameterPath: "apiVersion",
33
+ mapper: {
34
+ defaultValue: "2020-10-01",
35
+ isConstant: true,
36
+ serializedName: "api-version",
37
+ type: {
38
+ name: "String"
39
+ }
40
+ }
41
+ };
42
+ export const subscriptionId = {
43
+ parameterPath: "subscriptionId",
44
+ mapper: {
45
+ constraints: {
46
+ MinLength: 1
47
+ },
48
+ serializedName: "subscriptionId",
49
+ required: true,
50
+ type: {
51
+ name: "String"
52
+ }
53
+ }
54
+ };
55
+ export const resourceGroupName = {
56
+ parameterPath: "resourceGroupName",
57
+ mapper: {
58
+ constraints: {
59
+ MaxLength: 90,
60
+ MinLength: 1
61
+ },
62
+ serializedName: "resourceGroupName",
63
+ required: true,
64
+ type: {
65
+ name: "String"
66
+ }
67
+ }
68
+ };
69
+ export const providerName = {
70
+ parameterPath: "providerName",
71
+ mapper: {
72
+ serializedName: "providerName",
73
+ required: true,
74
+ type: {
75
+ name: "String"
76
+ }
77
+ }
78
+ };
79
+ export const contentType = {
80
+ parameterPath: ["options", "contentType"],
81
+ mapper: {
82
+ defaultValue: "application/json",
83
+ isConstant: true,
84
+ serializedName: "Content-Type",
85
+ type: {
86
+ name: "String"
87
+ }
88
+ }
89
+ };
90
+ export const creationParams = {
91
+ parameterPath: "creationParams",
92
+ mapper: AttestationServiceCreationParamsMapper
93
+ };
94
+ export const updateParams = {
95
+ parameterPath: "updateParams",
96
+ mapper: AttestationServicePatchParamsMapper
97
+ };
98
+ export const location = {
99
+ parameterPath: "location",
100
+ mapper: {
101
+ constraints: {
102
+ MinLength: 1
103
+ },
104
+ serializedName: "location",
105
+ required: true,
106
+ type: {
107
+ name: "String"
108
+ }
109
+ }
110
+ };
111
+ export const providerName1 = {
112
+ parameterPath: "providerName",
113
+ mapper: {
114
+ constraints: {
115
+ Pattern: new RegExp("^[a-zA-Z0-9-]{3,24}$")
116
+ },
117
+ serializedName: "providerName",
118
+ required: true,
119
+ type: {
120
+ name: "String"
121
+ }
122
+ }
123
+ };
124
+ export const privateEndpointConnectionName = {
125
+ parameterPath: "privateEndpointConnectionName",
126
+ mapper: {
127
+ serializedName: "privateEndpointConnectionName",
128
+ required: true,
129
+ type: {
130
+ name: "String"
131
+ }
132
+ }
133
+ };
134
+ export const properties = {
135
+ parameterPath: "properties",
136
+ mapper: PrivateEndpointConnectionMapper
137
+ };
138
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,gCAAgC,IAAI,sCAAsC,EAC1E,6BAA6B,IAAI,mCAAmC,EACpE,yBAAyB,IAAI,+BAA+B,EAC7D,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,SAA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;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA0B;IAClD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,sBAAsB,CAAC;SAC5C;QACD,cAAc,EAAE,cAAc;QAC9B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAA0B;IAClE,aAAa,EAAE,+BAA+B;IAC9C,MAAM,EAAE;QACN,cAAc,EAAE,+BAA+B;QAC/C,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,+BAA+B;CACxC,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { AttestationProviders } from "../operationsInterfaces";
2
+ import { AttestationManagementClient } from "../attestationManagementClient";
3
+ import { AttestationProvidersGetOptionalParams, AttestationProvidersGetResponse, AttestationServiceCreationParams, AttestationProvidersCreateOptionalParams, AttestationProvidersCreateResponse, AttestationServicePatchParams, AttestationProvidersUpdateOptionalParams, AttestationProvidersUpdateResponse, AttestationProvidersDeleteOptionalParams, AttestationProvidersListOptionalParams, AttestationProvidersListResponse, AttestationProvidersListByResourceGroupOptionalParams, AttestationProvidersListByResourceGroupResponse, AttestationProvidersListDefaultOptionalParams, AttestationProvidersListDefaultResponse, AttestationProvidersGetDefaultByLocationOptionalParams, AttestationProvidersGetDefaultByLocationResponse } from "../models";
4
+ /** Class containing AttestationProviders operations. */
5
+ export declare class AttestationProvidersImpl implements AttestationProviders {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class AttestationProviders class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: AttestationManagementClient);
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 provider.
16
+ * @param options The options parameters.
17
+ */
18
+ get(resourceGroupName: string, providerName: string, options?: AttestationProvidersGetOptionalParams): Promise<AttestationProvidersGetResponse>;
19
+ /**
20
+ * Creates a new Attestation Provider.
21
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
22
+ * @param providerName Name of the attestation provider.
23
+ * @param creationParams Client supplied parameters.
24
+ * @param options The options parameters.
25
+ */
26
+ create(resourceGroupName: string, providerName: string, creationParams: AttestationServiceCreationParams, options?: AttestationProvidersCreateOptionalParams): Promise<AttestationProvidersCreateResponse>;
27
+ /**
28
+ * Updates the Attestation Provider.
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param providerName Name of the attestation provider.
31
+ * @param updateParams Client supplied parameters.
32
+ * @param options The options parameters.
33
+ */
34
+ update(resourceGroupName: string, providerName: string, updateParams: AttestationServicePatchParams, options?: AttestationProvidersUpdateOptionalParams): Promise<AttestationProvidersUpdateResponse>;
35
+ /**
36
+ * Delete Attestation Service.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param providerName Name of the attestation service
39
+ * @param options The options parameters.
40
+ */
41
+ delete(resourceGroupName: string, providerName: string, options?: AttestationProvidersDeleteOptionalParams): Promise<void>;
42
+ /**
43
+ * Returns a list of attestation providers in a subscription.
44
+ * @param options The options parameters.
45
+ */
46
+ list(options?: AttestationProvidersListOptionalParams): Promise<AttestationProvidersListResponse>;
47
+ /**
48
+ * Returns attestation providers list in a resource group.
49
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
50
+ * @param options The options parameters.
51
+ */
52
+ listByResourceGroup(resourceGroupName: string, options?: AttestationProvidersListByResourceGroupOptionalParams): Promise<AttestationProvidersListByResourceGroupResponse>;
53
+ /**
54
+ * Get the default provider
55
+ * @param options The options parameters.
56
+ */
57
+ listDefault(options?: AttestationProvidersListDefaultOptionalParams): Promise<AttestationProvidersListDefaultResponse>;
58
+ /**
59
+ * Get the default provider by location.
60
+ * @param location The location of the default provider.
61
+ * @param options The options parameters.
62
+ */
63
+ getDefaultByLocation(location: string, options?: AttestationProvidersGetDefaultByLocationOptionalParams): Promise<AttestationProvidersGetDefaultByLocationResponse>;
64
+ }
65
+ //# sourceMappingURL=attestationProviders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attestationProviders.d.ts","sourceRoot":"","sources":["../../../src/operations/attestationProviders.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EACL,qCAAqC,EACrC,+BAA+B,EAC/B,gCAAgC,EAChC,wCAAwC,EACxC,kCAAkC,EAClC,6BAA6B,EAC7B,wCAAwC,EACxC,kCAAkC,EAClC,wCAAwC,EACxC,sCAAsC,EACtC,gCAAgC,EAChC,qDAAqD,EACrD,+CAA+C,EAC/C,6CAA6C,EAC7C,uCAAuC,EACvC,sDAAsD,EACtD,gDAAgD,EACjD,MAAM,WAAW,CAAC;AAEnB,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,gCAAgC,EAChD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAO9C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,6BAA6B,EAC3C,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAO9C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAI5C;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,+CAA+C,CAAC;IAO3D;;;OAGG;IACH,WAAW,CACT,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAOnD;;;;OAIG;IACH,oBAAoB,CAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;CAM7D"}
@@ -0,0 +1,254 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
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
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing AttestationProviders operations. */
12
+ export class AttestationProvidersImpl {
13
+ /**
14
+ * Initialize a new instance of the class AttestationProviders class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Get the status of Attestation Provider.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param providerName Name of the attestation provider.
24
+ * @param options The options parameters.
25
+ */
26
+ get(resourceGroupName, providerName, options) {
27
+ return this.client.sendOperationRequest({ resourceGroupName, providerName, options }, getOperationSpec);
28
+ }
29
+ /**
30
+ * Creates a new Attestation Provider.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param providerName Name of the attestation provider.
33
+ * @param creationParams Client supplied parameters.
34
+ * @param options The options parameters.
35
+ */
36
+ create(resourceGroupName, providerName, creationParams, options) {
37
+ return this.client.sendOperationRequest({ resourceGroupName, providerName, creationParams, options }, createOperationSpec);
38
+ }
39
+ /**
40
+ * Updates the Attestation Provider.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param providerName Name of the attestation provider.
43
+ * @param updateParams Client supplied parameters.
44
+ * @param options The options parameters.
45
+ */
46
+ update(resourceGroupName, providerName, updateParams, options) {
47
+ return this.client.sendOperationRequest({ resourceGroupName, providerName, updateParams, options }, updateOperationSpec);
48
+ }
49
+ /**
50
+ * Delete Attestation Service.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param providerName Name of the attestation service
53
+ * @param options The options parameters.
54
+ */
55
+ delete(resourceGroupName, providerName, options) {
56
+ return this.client.sendOperationRequest({ resourceGroupName, providerName, options }, deleteOperationSpec);
57
+ }
58
+ /**
59
+ * Returns a list of attestation providers in a subscription.
60
+ * @param options The options parameters.
61
+ */
62
+ list(options) {
63
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
64
+ }
65
+ /**
66
+ * Returns attestation providers list in a resource group.
67
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
+ * @param options The options parameters.
69
+ */
70
+ listByResourceGroup(resourceGroupName, options) {
71
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
72
+ }
73
+ /**
74
+ * Get the default provider
75
+ * @param options The options parameters.
76
+ */
77
+ listDefault(options) {
78
+ return this.client.sendOperationRequest({ options }, listDefaultOperationSpec);
79
+ }
80
+ /**
81
+ * Get the default provider by location.
82
+ * @param location The location of the default provider.
83
+ * @param options The options parameters.
84
+ */
85
+ getDefaultByLocation(location, options) {
86
+ return this.client.sendOperationRequest({ location, options }, getDefaultByLocationOperationSpec);
87
+ }
88
+ }
89
+ // Operation Specifications
90
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
91
+ const getOperationSpec = {
92
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}",
93
+ httpMethod: "GET",
94
+ responses: {
95
+ 200: {
96
+ bodyMapper: Mappers.AttestationProvider
97
+ },
98
+ default: {
99
+ bodyMapper: Mappers.CloudError
100
+ }
101
+ },
102
+ queryParameters: [Parameters.apiVersion],
103
+ urlParameters: [
104
+ Parameters.$host,
105
+ Parameters.subscriptionId,
106
+ Parameters.resourceGroupName,
107
+ Parameters.providerName
108
+ ],
109
+ headerParameters: [Parameters.accept],
110
+ serializer
111
+ };
112
+ const createOperationSpec = {
113
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}",
114
+ httpMethod: "PUT",
115
+ responses: {
116
+ 200: {
117
+ bodyMapper: Mappers.AttestationProvider
118
+ },
119
+ 201: {
120
+ bodyMapper: Mappers.AttestationProvider
121
+ },
122
+ default: {
123
+ bodyMapper: Mappers.CloudError
124
+ }
125
+ },
126
+ requestBody: Parameters.creationParams,
127
+ queryParameters: [Parameters.apiVersion],
128
+ urlParameters: [
129
+ Parameters.$host,
130
+ Parameters.subscriptionId,
131
+ Parameters.resourceGroupName,
132
+ Parameters.providerName
133
+ ],
134
+ headerParameters: [Parameters.accept, Parameters.contentType],
135
+ mediaType: "json",
136
+ serializer
137
+ };
138
+ const updateOperationSpec = {
139
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}",
140
+ httpMethod: "PATCH",
141
+ responses: {
142
+ 200: {
143
+ bodyMapper: Mappers.AttestationProvider
144
+ },
145
+ default: {
146
+ bodyMapper: Mappers.CloudError
147
+ }
148
+ },
149
+ requestBody: Parameters.updateParams,
150
+ queryParameters: [Parameters.apiVersion],
151
+ urlParameters: [
152
+ Parameters.$host,
153
+ Parameters.subscriptionId,
154
+ Parameters.resourceGroupName,
155
+ Parameters.providerName
156
+ ],
157
+ headerParameters: [Parameters.accept, Parameters.contentType],
158
+ mediaType: "json",
159
+ serializer
160
+ };
161
+ const deleteOperationSpec = {
162
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}",
163
+ httpMethod: "DELETE",
164
+ responses: {
165
+ 200: {},
166
+ 202: {},
167
+ 204: {},
168
+ default: {
169
+ bodyMapper: Mappers.CloudError
170
+ }
171
+ },
172
+ queryParameters: [Parameters.apiVersion],
173
+ urlParameters: [
174
+ Parameters.$host,
175
+ Parameters.subscriptionId,
176
+ Parameters.resourceGroupName,
177
+ Parameters.providerName
178
+ ],
179
+ headerParameters: [Parameters.accept],
180
+ serializer
181
+ };
182
+ const listOperationSpec = {
183
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders",
184
+ httpMethod: "GET",
185
+ responses: {
186
+ 200: {
187
+ bodyMapper: Mappers.AttestationProviderListResult
188
+ },
189
+ default: {
190
+ bodyMapper: Mappers.CloudError
191
+ }
192
+ },
193
+ queryParameters: [Parameters.apiVersion],
194
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
195
+ headerParameters: [Parameters.accept],
196
+ serializer
197
+ };
198
+ const listByResourceGroupOperationSpec = {
199
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders",
200
+ httpMethod: "GET",
201
+ responses: {
202
+ 200: {
203
+ bodyMapper: Mappers.AttestationProviderListResult
204
+ },
205
+ default: {
206
+ bodyMapper: Mappers.CloudError
207
+ }
208
+ },
209
+ queryParameters: [Parameters.apiVersion],
210
+ urlParameters: [
211
+ Parameters.$host,
212
+ Parameters.subscriptionId,
213
+ Parameters.resourceGroupName
214
+ ],
215
+ headerParameters: [Parameters.accept],
216
+ serializer
217
+ };
218
+ const listDefaultOperationSpec = {
219
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/defaultProviders",
220
+ httpMethod: "GET",
221
+ responses: {
222
+ 200: {
223
+ bodyMapper: Mappers.AttestationProviderListResult
224
+ },
225
+ default: {
226
+ bodyMapper: Mappers.CloudError
227
+ }
228
+ },
229
+ queryParameters: [Parameters.apiVersion],
230
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
231
+ headerParameters: [Parameters.accept],
232
+ serializer
233
+ };
234
+ const getDefaultByLocationOperationSpec = {
235
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/locations/{location}/defaultProvider",
236
+ httpMethod: "GET",
237
+ responses: {
238
+ 200: {
239
+ bodyMapper: Mappers.AttestationProvider
240
+ },
241
+ default: {
242
+ bodyMapper: Mappers.CloudError
243
+ }
244
+ },
245
+ queryParameters: [Parameters.apiVersion],
246
+ urlParameters: [
247
+ Parameters.$host,
248
+ Parameters.subscriptionId,
249
+ Parameters.location
250
+ ],
251
+ headerParameters: [Parameters.accept],
252
+ serializer
253
+ };
254
+ //# sourceMappingURL=attestationProviders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attestationProviders.js","sourceRoot":"","sources":["../../../src/operations/attestationProviders.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAsBnD,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,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AAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EACF,sGAAsG;IACxG,UAAU,EAAE,KAAK;IACjB,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,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./operations";
2
+ export * from "./attestationProviders";
3
+ export * from "./privateEndpointConnections";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
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
+ export * from "./operations";
9
+ export * from "./attestationProviders";
10
+ export * from "./privateEndpointConnections";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { Operations } from "../operationsInterfaces";
2
+ import { AttestationManagementClient } from "../attestationManagementClient";
3
+ import { OperationsListOptionalParams, OperationsListResponse } from "../models";
4
+ /** Class containing Operations operations. */
5
+ export declare class OperationsImpl implements Operations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class Operations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: AttestationManagementClient);
12
+ /**
13
+ * Lists all of the available Azure attestation operations.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
17
+ }
18
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,WAAW,CAAC;AAEnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAGnC"}
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
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
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing Operations operations. */
12
+ export class OperationsImpl {
13
+ /**
14
+ * Initialize a new instance of the class Operations class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Lists all of the available Azure attestation operations.
22
+ * @param options The options parameters.
23
+ */
24
+ list(options) {
25
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
26
+ }
27
+ }
28
+ // Operation Specifications
29
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
30
+ const listOperationSpec = {
31
+ path: "/providers/Microsoft.Attestation/operations",
32
+ httpMethod: "GET",
33
+ responses: {
34
+ 200: {
35
+ bodyMapper: Mappers.OperationList
36
+ },
37
+ default: {
38
+ bodyMapper: Mappers.CloudError
39
+ }
40
+ },
41
+ queryParameters: [Parameters.apiVersion],
42
+ urlParameters: [Parameters.$host],
43
+ headerParameters: [Parameters.accept],
44
+ serializer
45
+ };
46
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,6CAA6C;IACnD,UAAU,EAAE,KAAK;IACjB,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,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,58 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateEndpointConnections } from "../operationsInterfaces";
3
+ import { AttestationManagementClient } from "../attestationManagementClient";
4
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsCreateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
5
+ /** Class containing PrivateEndpointConnections operations. */
6
+ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class PrivateEndpointConnections class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: AttestationManagementClient);
13
+ /**
14
+ * List all the private endpoint connections associated with the attestation provider.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param providerName The name of the attestation provider.
17
+ * @param options The options parameters.
18
+ */
19
+ list(resourceGroupName: string, providerName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
20
+ private listPagingPage;
21
+ private listPagingAll;
22
+ /**
23
+ * List all the private endpoint connections associated with the attestation provider.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param providerName The name of the attestation provider.
26
+ * @param options The options parameters.
27
+ */
28
+ private _list;
29
+ /**
30
+ * Gets the specified private endpoint connection associated with the attestation provider.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param providerName The name of the attestation provider.
33
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
34
+ * Azure resource
35
+ * @param options The options parameters.
36
+ */
37
+ get(resourceGroupName: string, providerName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
38
+ /**
39
+ * Update the state of specified private endpoint connection associated with the attestation provider.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param providerName The name of the attestation provider.
42
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
43
+ * Azure resource
44
+ * @param properties The private endpoint connection properties.
45
+ * @param options The options parameters.
46
+ */
47
+ create(resourceGroupName: string, providerName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PrivateEndpointConnectionsCreateResponse>;
48
+ /**
49
+ * Deletes the specified private endpoint connection associated with the attestation provider.
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
+ * @param providerName The name of the attestation provider.
52
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
53
+ * Azure resource
54
+ * @param options The options parameters.
55
+ */
56
+ delete(resourceGroupName: string, providerName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
57
+ }
58
+ //# sourceMappingURL=privateEndpointConnections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EACL,yBAAyB,EACzB,4CAA4C,EAE5C,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC/C,MAAM,W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