@azure/arm-attestation 1.1.0 → 2.0.1-alpha.20220106.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -80
- package/dist/index.js +1319 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/attestationManagementClient.d.ts +20 -0
- package/dist-esm/src/attestationManagementClient.d.ts.map +1 -0
- package/dist-esm/src/attestationManagementClient.js +53 -0
- package/dist-esm/src/attestationManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +389 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +38 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +21 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +239 -164
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +15 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +138 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/attestationProviders.d.ts +65 -0
- package/dist-esm/src/operations/attestationProviders.d.ts.map +1 -0
- package/dist-esm/src/operations/attestationProviders.js +254 -0
- package/dist-esm/src/operations/attestationProviders.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +11 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +58 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +216 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/attestationProviders.d.ts +57 -0
- package/dist-esm/src/operationsInterfaces/attestationProviders.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/attestationProviders.js +9 -0
- package/dist-esm/src/operationsInterfaces/attestationProviders.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/test/attestation_examples.d.ts +4 -0
- package/dist-esm/test/attestation_examples.d.ts.map +1 -0
- package/dist-esm/test/attestation_examples.js +94 -0
- package/dist-esm/test/attestation_examples.js.map +1 -0
- package/package.json +63 -22
- package/review/arm-attestation.api.md +346 -0
- package/rollup.config.js +181 -30
- package/src/attestationManagementClient.ts +74 -37
- package/src/index.ts +12 -0
- package/src/models/index.ts +299 -384
- package/src/models/mappers.ts +242 -162
- package/src/models/parameters.ts +106 -29
- package/src/operations/attestationProviders.ts +178 -315
- package/src/operations/index.ts +4 -5
- package/src/operations/operations.ts +29 -44
- package/src/operations/privateEndpointConnections.ts +277 -0
- package/src/operationsInterfaces/attestationProviders.ts +111 -0
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +78 -0
- package/tsconfig.json +3 -3
- package/types/arm-attestation.d.ts +565 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-attestation.js +0 -1115
- package/dist/arm-attestation.js.map +0 -1
- package/dist/arm-attestation.min.js +0 -1
- package/dist/arm-attestation.min.js.map +0 -1
- package/esm/attestationManagementClient.d.ts +0 -25
- package/esm/attestationManagementClient.d.ts.map +0 -1
- package/esm/attestationManagementClient.js +0 -39
- package/esm/attestationManagementClient.js.map +0 -1
- package/esm/attestationManagementClientContext.d.ts +0 -22
- package/esm/attestationManagementClientContext.d.ts.map +0 -1
- package/esm/attestationManagementClientContext.js +0 -61
- package/esm/attestationManagementClientContext.js.map +0 -1
- package/esm/models/attestationProvidersMappers.d.ts +0 -2
- package/esm/models/attestationProvidersMappers.d.ts.map +0 -1
- package/esm/models/attestationProvidersMappers.js +0 -9
- package/esm/models/attestationProvidersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -492
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -19
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -81
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/attestationProviders.d.ts +0 -169
- package/esm/operations/attestationProviders.d.ts.map +0 -1
- package/esm/operations/attestationProviders.js +0 -277
- package/esm/operations/attestationProviders.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/src/attestationManagementClientContext.ts +0 -68
- package/src/models/attestationProvidersMappers.ts +0 -24
- package/src/models/operationsMappers.ts +0 -15
package/src/models/parameters.ts
CHANGED
|
@@ -1,83 +1,160 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
9
|
+
import {
|
|
10
|
+
OperationParameter,
|
|
11
|
+
OperationURLParameter,
|
|
12
|
+
OperationQueryParameter
|
|
13
|
+
} from "@azure/core-client";
|
|
14
|
+
import {
|
|
15
|
+
AttestationServiceCreationParams as AttestationServiceCreationParamsMapper,
|
|
16
|
+
AttestationServicePatchParams as AttestationServicePatchParamsMapper,
|
|
17
|
+
PrivateEndpointConnection as PrivateEndpointConnectionMapper
|
|
18
|
+
} from "../models/mappers";
|
|
12
19
|
|
|
13
|
-
export const
|
|
14
|
-
parameterPath: "
|
|
20
|
+
export const accept: OperationParameter = {
|
|
21
|
+
parameterPath: "accept",
|
|
15
22
|
mapper: {
|
|
16
|
-
|
|
17
|
-
|
|
23
|
+
defaultValue: "application/json",
|
|
24
|
+
isConstant: true,
|
|
25
|
+
serializedName: "Accept",
|
|
18
26
|
type: {
|
|
19
27
|
name: "String"
|
|
20
28
|
}
|
|
21
29
|
}
|
|
22
30
|
};
|
|
23
|
-
|
|
24
|
-
|
|
31
|
+
|
|
32
|
+
export const $host: OperationURLParameter = {
|
|
33
|
+
parameterPath: "$host",
|
|
25
34
|
mapper: {
|
|
35
|
+
serializedName: "$host",
|
|
26
36
|
required: true,
|
|
37
|
+
type: {
|
|
38
|
+
name: "String"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
skipEncoding: true
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export const apiVersion: OperationQueryParameter = {
|
|
45
|
+
parameterPath: "apiVersion",
|
|
46
|
+
mapper: {
|
|
47
|
+
defaultValue: "2020-10-01",
|
|
48
|
+
isConstant: true,
|
|
27
49
|
serializedName: "api-version",
|
|
28
50
|
type: {
|
|
29
51
|
name: "String"
|
|
30
52
|
}
|
|
31
53
|
}
|
|
32
54
|
};
|
|
33
|
-
|
|
34
|
-
|
|
55
|
+
|
|
56
|
+
export const subscriptionId: OperationURLParameter = {
|
|
57
|
+
parameterPath: "subscriptionId",
|
|
35
58
|
mapper: {
|
|
59
|
+
constraints: {
|
|
60
|
+
MinLength: 1
|
|
61
|
+
},
|
|
62
|
+
serializedName: "subscriptionId",
|
|
36
63
|
required: true,
|
|
37
|
-
|
|
64
|
+
type: {
|
|
65
|
+
name: "String"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export const resourceGroupName: OperationURLParameter = {
|
|
71
|
+
parameterPath: "resourceGroupName",
|
|
72
|
+
mapper: {
|
|
38
73
|
constraints: {
|
|
74
|
+
MaxLength: 90,
|
|
39
75
|
MinLength: 1
|
|
40
76
|
},
|
|
77
|
+
serializedName: "resourceGroupName",
|
|
78
|
+
required: true,
|
|
41
79
|
type: {
|
|
42
80
|
name: "String"
|
|
43
81
|
}
|
|
44
82
|
}
|
|
45
83
|
};
|
|
46
|
-
|
|
84
|
+
|
|
85
|
+
export const providerName: OperationURLParameter = {
|
|
47
86
|
parameterPath: "providerName",
|
|
48
87
|
mapper: {
|
|
49
|
-
required: true,
|
|
50
88
|
serializedName: "providerName",
|
|
89
|
+
required: true,
|
|
51
90
|
type: {
|
|
52
91
|
name: "String"
|
|
53
92
|
}
|
|
54
93
|
}
|
|
55
94
|
};
|
|
56
|
-
|
|
57
|
-
|
|
95
|
+
|
|
96
|
+
export const contentType: OperationParameter = {
|
|
97
|
+
parameterPath: ["options", "contentType"],
|
|
98
|
+
mapper: {
|
|
99
|
+
defaultValue: "application/json",
|
|
100
|
+
isConstant: true,
|
|
101
|
+
serializedName: "Content-Type",
|
|
102
|
+
type: {
|
|
103
|
+
name: "String"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export const creationParams: OperationParameter = {
|
|
109
|
+
parameterPath: "creationParams",
|
|
110
|
+
mapper: AttestationServiceCreationParamsMapper
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
export const updateParams: OperationParameter = {
|
|
114
|
+
parameterPath: "updateParams",
|
|
115
|
+
mapper: AttestationServicePatchParamsMapper
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export const location: OperationURLParameter = {
|
|
119
|
+
parameterPath: "location",
|
|
58
120
|
mapper: {
|
|
59
|
-
required: true,
|
|
60
|
-
serializedName: "resourceGroupName",
|
|
61
121
|
constraints: {
|
|
62
|
-
|
|
63
|
-
MinLength: 1,
|
|
64
|
-
Pattern: /^[-\w\._\(\)]+$/
|
|
122
|
+
MinLength: 1
|
|
65
123
|
},
|
|
124
|
+
serializedName: "location",
|
|
125
|
+
required: true,
|
|
66
126
|
type: {
|
|
67
127
|
name: "String"
|
|
68
128
|
}
|
|
69
129
|
}
|
|
70
130
|
};
|
|
71
|
-
|
|
72
|
-
|
|
131
|
+
|
|
132
|
+
export const providerName1: OperationURLParameter = {
|
|
133
|
+
parameterPath: "providerName",
|
|
73
134
|
mapper: {
|
|
74
|
-
required: true,
|
|
75
|
-
serializedName: "subscriptionId",
|
|
76
135
|
constraints: {
|
|
77
|
-
|
|
136
|
+
Pattern: new RegExp("^[a-zA-Z0-9-]{3,24}$")
|
|
78
137
|
},
|
|
138
|
+
serializedName: "providerName",
|
|
139
|
+
required: true,
|
|
79
140
|
type: {
|
|
80
141
|
name: "String"
|
|
81
142
|
}
|
|
82
143
|
}
|
|
83
144
|
};
|
|
145
|
+
|
|
146
|
+
export const privateEndpointConnectionName: OperationURLParameter = {
|
|
147
|
+
parameterPath: "privateEndpointConnectionName",
|
|
148
|
+
mapper: {
|
|
149
|
+
serializedName: "privateEndpointConnectionName",
|
|
150
|
+
required: true,
|
|
151
|
+
type: {
|
|
152
|
+
name: "String"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
export const properties: OperationParameter = {
|
|
158
|
+
parameterPath: "properties",
|
|
159
|
+
mapper: PrivateEndpointConnectionMapper
|
|
160
|
+
};
|