@azure/arm-databoundaries 1.0.0-beta.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 +7 -0
- package/LICENSE +21 -0
- package/README.md +108 -0
- package/dist/index.js +587 -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/samples-dev/dataBoundariesGetScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataBoundariesGetScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataBoundariesGetScopeSample.js +37 -0
- package/dist-esm/samples-dev/dataBoundariesGetScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/dataBoundariesGetTenantSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataBoundariesGetTenantSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataBoundariesGetTenantSample.js +36 -0
- package/dist-esm/samples-dev/dataBoundariesGetTenantSample.js.map +1 -0
- package/dist-esm/samples-dev/dataBoundariesPutSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataBoundariesPutSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataBoundariesPutSample.js +39 -0
- package/dist-esm/samples-dev/dataBoundariesPutSample.js.map +1 -0
- package/dist-esm/src/databoundariesManegementClient.d.ts +18 -0
- package/dist-esm/src/databoundariesManegementClient.d.ts.map +1 -0
- package/dist-esm/src/databoundariesManegementClient.js +94 -0
- package/dist-esm/src/databoundariesManegementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +4 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +11 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +213 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +54 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +10 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +222 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +9 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +81 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/dataBoundaries.d.ts +33 -0
- package/dist-esm/src/operations/dataBoundaries.d.ts.map +1 -0
- package/dist-esm/src/operations/dataBoundaries.js +102 -0
- package/dist-esm/src/operations/dataBoundaries.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +9 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataBoundaries.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/dataBoundaries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataBoundaries.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataBoundaries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +9 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/test/databoundaries_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/databoundaries_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/databoundaries_operations_test.spec.js +58 -0
- package/dist-esm/test/databoundaries_operations_test.spec.js.map +1 -0
- package/package.json +115 -0
- package/review/arm-databoundaries.api.md +154 -0
- package/src/databoundariesManegementClient.ts +133 -0
- package/src/index.ts +11 -0
- package/src/models/index.ts +243 -0
- package/src/models/mappers.ts +236 -0
- package/src/models/parameters.ts +93 -0
- package/src/operations/dataBoundaries.ts +141 -0
- package/src/operations/index.ts +9 -0
- package/src/operationsInterfaces/dataBoundaries.ts +53 -0
- package/src/operationsInterfaces/index.ts +9 -0
- package/tsconfig.json +33 -0
- package/types/arm-databoundaries.d.ts +276 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,222 @@
|
|
|
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 const DataBoundaryProperties = {
|
|
9
|
+
type: {
|
|
10
|
+
name: "Composite",
|
|
11
|
+
className: "DataBoundaryProperties",
|
|
12
|
+
modelProperties: {
|
|
13
|
+
dataBoundary: {
|
|
14
|
+
serializedName: "dataBoundary",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
provisioningState: {
|
|
20
|
+
serializedName: "provisioningState",
|
|
21
|
+
readOnly: true,
|
|
22
|
+
type: {
|
|
23
|
+
name: "String",
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
export const Resource = {
|
|
30
|
+
type: {
|
|
31
|
+
name: "Composite",
|
|
32
|
+
className: "Resource",
|
|
33
|
+
modelProperties: {
|
|
34
|
+
id: {
|
|
35
|
+
serializedName: "id",
|
|
36
|
+
readOnly: true,
|
|
37
|
+
type: {
|
|
38
|
+
name: "String",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
name: {
|
|
42
|
+
serializedName: "name",
|
|
43
|
+
readOnly: true,
|
|
44
|
+
type: {
|
|
45
|
+
name: "String",
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
type: {
|
|
49
|
+
serializedName: "type",
|
|
50
|
+
readOnly: true,
|
|
51
|
+
type: {
|
|
52
|
+
name: "String",
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
systemData: {
|
|
56
|
+
serializedName: "systemData",
|
|
57
|
+
type: {
|
|
58
|
+
name: "Composite",
|
|
59
|
+
className: "SystemData",
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
export const SystemData = {
|
|
66
|
+
type: {
|
|
67
|
+
name: "Composite",
|
|
68
|
+
className: "SystemData",
|
|
69
|
+
modelProperties: {
|
|
70
|
+
createdBy: {
|
|
71
|
+
serializedName: "createdBy",
|
|
72
|
+
type: {
|
|
73
|
+
name: "String",
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
createdByType: {
|
|
77
|
+
serializedName: "createdByType",
|
|
78
|
+
type: {
|
|
79
|
+
name: "String",
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
createdAt: {
|
|
83
|
+
serializedName: "createdAt",
|
|
84
|
+
type: {
|
|
85
|
+
name: "DateTime",
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
lastModifiedBy: {
|
|
89
|
+
serializedName: "lastModifiedBy",
|
|
90
|
+
type: {
|
|
91
|
+
name: "String",
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
lastModifiedByType: {
|
|
95
|
+
serializedName: "lastModifiedByType",
|
|
96
|
+
type: {
|
|
97
|
+
name: "String",
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
lastModifiedAt: {
|
|
101
|
+
serializedName: "lastModifiedAt",
|
|
102
|
+
type: {
|
|
103
|
+
name: "DateTime",
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
export const ErrorResponse = {
|
|
110
|
+
type: {
|
|
111
|
+
name: "Composite",
|
|
112
|
+
className: "ErrorResponse",
|
|
113
|
+
modelProperties: {
|
|
114
|
+
error: {
|
|
115
|
+
serializedName: "error",
|
|
116
|
+
type: {
|
|
117
|
+
name: "Composite",
|
|
118
|
+
className: "ErrorDetail",
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
export const ErrorDetail = {
|
|
125
|
+
type: {
|
|
126
|
+
name: "Composite",
|
|
127
|
+
className: "ErrorDetail",
|
|
128
|
+
modelProperties: {
|
|
129
|
+
code: {
|
|
130
|
+
serializedName: "code",
|
|
131
|
+
readOnly: true,
|
|
132
|
+
type: {
|
|
133
|
+
name: "String",
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
message: {
|
|
137
|
+
serializedName: "message",
|
|
138
|
+
readOnly: true,
|
|
139
|
+
type: {
|
|
140
|
+
name: "String",
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
target: {
|
|
144
|
+
serializedName: "target",
|
|
145
|
+
readOnly: true,
|
|
146
|
+
type: {
|
|
147
|
+
name: "String",
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
details: {
|
|
151
|
+
serializedName: "details",
|
|
152
|
+
readOnly: true,
|
|
153
|
+
type: {
|
|
154
|
+
name: "Sequence",
|
|
155
|
+
element: {
|
|
156
|
+
type: {
|
|
157
|
+
name: "Composite",
|
|
158
|
+
className: "ErrorDetail",
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
additionalInfo: {
|
|
164
|
+
serializedName: "additionalInfo",
|
|
165
|
+
readOnly: true,
|
|
166
|
+
type: {
|
|
167
|
+
name: "Sequence",
|
|
168
|
+
element: {
|
|
169
|
+
type: {
|
|
170
|
+
name: "Composite",
|
|
171
|
+
className: "ErrorAdditionalInfo",
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
};
|
|
179
|
+
export const ErrorAdditionalInfo = {
|
|
180
|
+
type: {
|
|
181
|
+
name: "Composite",
|
|
182
|
+
className: "ErrorAdditionalInfo",
|
|
183
|
+
modelProperties: {
|
|
184
|
+
type: {
|
|
185
|
+
serializedName: "type",
|
|
186
|
+
readOnly: true,
|
|
187
|
+
type: {
|
|
188
|
+
name: "String",
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
info: {
|
|
192
|
+
serializedName: "info",
|
|
193
|
+
readOnly: true,
|
|
194
|
+
type: {
|
|
195
|
+
name: "Dictionary",
|
|
196
|
+
value: { type: { name: "any" } },
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
};
|
|
202
|
+
export const ProxyResource = {
|
|
203
|
+
type: {
|
|
204
|
+
name: "Composite",
|
|
205
|
+
className: "ProxyResource",
|
|
206
|
+
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
207
|
+
},
|
|
208
|
+
};
|
|
209
|
+
export const DataBoundaryDefinition = {
|
|
210
|
+
type: {
|
|
211
|
+
name: "Composite",
|
|
212
|
+
className: "DataBoundaryDefinition",
|
|
213
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { properties: {
|
|
214
|
+
serializedName: "properties",
|
|
215
|
+
type: {
|
|
216
|
+
name: "Composite",
|
|
217
|
+
className: "DataBoundaryProperties",
|
|
218
|
+
},
|
|
219
|
+
} }),
|
|
220
|
+
},
|
|
221
|
+
};
|
|
222
|
+
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,sBAAsB,GAA+B;IAChE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wBAAwB;QACnC,eAAe,EAAE;YACf,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,iBAAiB,EAAE;gBACjB,cAAc,EAAE,mBAAm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
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const contentType: OperationParameter;
|
|
3
|
+
export declare const dataBoundaryDefinition: OperationParameter;
|
|
4
|
+
export declare const accept: OperationParameter;
|
|
5
|
+
export declare const $host: OperationURLParameter;
|
|
6
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
7
|
+
export declare const defaultParam: OperationURLParameter;
|
|
8
|
+
export declare const scope: OperationURLParameter;
|
|
9
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,kBAGpC,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAanB,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { DataBoundaryDefinition as DataBoundaryDefinitionMapper } from "../models/mappers";
|
|
9
|
+
export const contentType = {
|
|
10
|
+
parameterPath: ["options", "contentType"],
|
|
11
|
+
mapper: {
|
|
12
|
+
defaultValue: "application/json",
|
|
13
|
+
isConstant: true,
|
|
14
|
+
serializedName: "Content-Type",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
export const dataBoundaryDefinition = {
|
|
21
|
+
parameterPath: "dataBoundaryDefinition",
|
|
22
|
+
mapper: DataBoundaryDefinitionMapper,
|
|
23
|
+
};
|
|
24
|
+
export const accept = {
|
|
25
|
+
parameterPath: "accept",
|
|
26
|
+
mapper: {
|
|
27
|
+
defaultValue: "application/json",
|
|
28
|
+
isConstant: true,
|
|
29
|
+
serializedName: "Accept",
|
|
30
|
+
type: {
|
|
31
|
+
name: "String",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
export const $host = {
|
|
36
|
+
parameterPath: "$host",
|
|
37
|
+
mapper: {
|
|
38
|
+
serializedName: "$host",
|
|
39
|
+
required: true,
|
|
40
|
+
type: {
|
|
41
|
+
name: "String",
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
skipEncoding: true,
|
|
45
|
+
};
|
|
46
|
+
export const apiVersion = {
|
|
47
|
+
parameterPath: "apiVersion",
|
|
48
|
+
mapper: {
|
|
49
|
+
defaultValue: "2024-08-01",
|
|
50
|
+
isConstant: true,
|
|
51
|
+
serializedName: "api-version",
|
|
52
|
+
type: {
|
|
53
|
+
name: "String",
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
export const defaultParam = {
|
|
58
|
+
parameterPath: "defaultParam",
|
|
59
|
+
mapper: {
|
|
60
|
+
serializedName: "default",
|
|
61
|
+
required: true,
|
|
62
|
+
type: {
|
|
63
|
+
name: "String",
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
export const scope = {
|
|
68
|
+
parameterPath: "scope",
|
|
69
|
+
mapper: {
|
|
70
|
+
constraints: {
|
|
71
|
+
MinLength: 1,
|
|
72
|
+
},
|
|
73
|
+
serializedName: "scope",
|
|
74
|
+
required: true,
|
|
75
|
+
type: {
|
|
76
|
+
name: "String",
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
skipEncoding: true,
|
|
80
|
+
};
|
|
81
|
+
//# 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,EAAE,sBAAsB,IAAI,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAE3F,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACxD,aAAa,EAAE,wBAAwB;IACvC,MAAM,EAAE,4BAA4B;CACrC,CAAC;AAEF,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,YAAY,GAA0B;IACjD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,cAAc,EAAE,SAAS;QACzB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,WAAW,EAAE;YACX,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DataBoundaries } from "../operationsInterfaces";
|
|
2
|
+
import { DataboundariesManegementClient } from "../databoundariesManegementClient";
|
|
3
|
+
import { DataBoundaryDefinition, DefaultName, DataBoundariesPutOptionalParams, DataBoundariesPutResponse, DataBoundariesGetTenantOptionalParams, DataBoundariesGetTenantResponse, DataBoundariesGetScopeOptionalParams, DataBoundariesGetScopeResponse } from "../models";
|
|
4
|
+
/** Class containing DataBoundaries operations. */
|
|
5
|
+
export declare class DataBoundariesImpl implements DataBoundaries {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class DataBoundaries class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: DataboundariesManegementClient);
|
|
12
|
+
/**
|
|
13
|
+
* Opt-in tenant to data boundary.
|
|
14
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
15
|
+
* @param dataBoundaryDefinition The data boundary to opt the tenant to.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
put(defaultParam: DefaultName, dataBoundaryDefinition: DataBoundaryDefinition, options?: DataBoundariesPutOptionalParams): Promise<DataBoundariesPutResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Get data boundary of tenant.
|
|
21
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
getTenant(defaultParam: DefaultName, options?: DataBoundariesGetTenantOptionalParams): Promise<DataBoundariesGetTenantResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Get data boundary at specified scope
|
|
27
|
+
* @param scope The scope at which the operation is performed.
|
|
28
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
getScope(scope: string, defaultParam: DefaultName, options?: DataBoundariesGetScopeOptionalParams): Promise<DataBoundariesGetScopeResponse>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=dataBoundaries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataBoundaries.d.ts","sourceRoot":"","sources":["../../../src/operations/dataBoundaries.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAIzD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,+BAA+B,EAC/B,yBAAyB,EACzB,qCAAqC,EACrC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAEnB,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;OAKG;IACH,GAAG,CACD,YAAY,EAAE,WAAW,EACzB,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;OAIG;IACH,SAAS,CACP,YAAY,EAAE,WAAW,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;OAKG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,WAAW,EACzB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;CAM3C"}
|
|
@@ -0,0 +1,102 @@
|
|
|
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 DataBoundaries operations. */
|
|
12
|
+
export class DataBoundariesImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class DataBoundaries class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Opt-in tenant to data boundary.
|
|
22
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
23
|
+
* @param dataBoundaryDefinition The data boundary to opt the tenant to.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
put(defaultParam, dataBoundaryDefinition, options) {
|
|
27
|
+
return this.client.sendOperationRequest({ defaultParam, dataBoundaryDefinition, options }, putOperationSpec);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Get data boundary of tenant.
|
|
31
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
getTenant(defaultParam, options) {
|
|
35
|
+
return this.client.sendOperationRequest({ defaultParam, options }, getTenantOperationSpec);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Get data boundary at specified scope
|
|
39
|
+
* @param scope The scope at which the operation is performed.
|
|
40
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
getScope(scope, defaultParam, options) {
|
|
44
|
+
return this.client.sendOperationRequest({ scope, defaultParam, options }, getScopeOperationSpec);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// Operation Specifications
|
|
48
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
49
|
+
const putOperationSpec = {
|
|
50
|
+
path: "/providers/Microsoft.Resources/dataBoundaries/{default}",
|
|
51
|
+
httpMethod: "PUT",
|
|
52
|
+
responses: {
|
|
53
|
+
200: {
|
|
54
|
+
bodyMapper: Mappers.DataBoundaryDefinition,
|
|
55
|
+
},
|
|
56
|
+
201: {
|
|
57
|
+
bodyMapper: Mappers.DataBoundaryDefinition,
|
|
58
|
+
},
|
|
59
|
+
default: {
|
|
60
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
requestBody: Parameters.dataBoundaryDefinition,
|
|
64
|
+
queryParameters: [Parameters.apiVersion],
|
|
65
|
+
urlParameters: [Parameters.$host, Parameters.defaultParam],
|
|
66
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
67
|
+
mediaType: "json",
|
|
68
|
+
serializer,
|
|
69
|
+
};
|
|
70
|
+
const getTenantOperationSpec = {
|
|
71
|
+
path: "/providers/Microsoft.Resources/dataBoundaries/{default}",
|
|
72
|
+
httpMethod: "GET",
|
|
73
|
+
responses: {
|
|
74
|
+
200: {
|
|
75
|
+
bodyMapper: Mappers.DataBoundaryDefinition,
|
|
76
|
+
},
|
|
77
|
+
default: {
|
|
78
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
queryParameters: [Parameters.apiVersion],
|
|
82
|
+
urlParameters: [Parameters.$host, Parameters.defaultParam],
|
|
83
|
+
headerParameters: [Parameters.accept],
|
|
84
|
+
serializer,
|
|
85
|
+
};
|
|
86
|
+
const getScopeOperationSpec = {
|
|
87
|
+
path: "/{scope}/providers/Microsoft.Resources/dataBoundaries/{default}",
|
|
88
|
+
httpMethod: "GET",
|
|
89
|
+
responses: {
|
|
90
|
+
200: {
|
|
91
|
+
bodyMapper: Mappers.DataBoundaryDefinition,
|
|
92
|
+
},
|
|
93
|
+
default: {
|
|
94
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
queryParameters: [Parameters.apiVersion],
|
|
98
|
+
urlParameters: [Parameters.$host, Parameters.defaultParam, Parameters.scope],
|
|
99
|
+
headerParameters: [Parameters.accept],
|
|
100
|
+
serializer,
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=dataBoundaries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataBoundaries.js","sourceRoot":"","sources":["../../../src/operations/dataBoundaries.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;AAanD,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,YAAyB,EACzB,sBAA8C,EAC9C,OAA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AyD;IAC/D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,YAAY,CAAC;IAC1D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,iEAAiE;IACvE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,KAAK,CAAC;IAC5E,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 "./dataBoundaries";
|
|
9
|
+
//# 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,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DataBoundaryDefinition, DefaultName, DataBoundariesPutOptionalParams, DataBoundariesPutResponse, DataBoundariesGetTenantOptionalParams, DataBoundariesGetTenantResponse, DataBoundariesGetScopeOptionalParams, DataBoundariesGetScopeResponse } from "../models";
|
|
2
|
+
/** Interface representing a DataBoundaries. */
|
|
3
|
+
export interface DataBoundaries {
|
|
4
|
+
/**
|
|
5
|
+
* Opt-in tenant to data boundary.
|
|
6
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
7
|
+
* @param dataBoundaryDefinition The data boundary to opt the tenant to.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
put(defaultParam: DefaultName, dataBoundaryDefinition: DataBoundaryDefinition, options?: DataBoundariesPutOptionalParams): Promise<DataBoundariesPutResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Get data boundary of tenant.
|
|
13
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
getTenant(defaultParam: DefaultName, options?: DataBoundariesGetTenantOptionalParams): Promise<DataBoundariesGetTenantResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get data boundary at specified scope
|
|
19
|
+
* @param scope The scope at which the operation is performed.
|
|
20
|
+
* @param defaultParam Default string modeled as parameter for auto generation to work correctly.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
getScope(scope: string, defaultParam: DefaultName, options?: DataBoundariesGetScopeOptionalParams): Promise<DataBoundariesGetScopeResponse>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=dataBoundaries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataBoundaries.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/dataBoundaries.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,+BAA+B,EAC/B,yBAAyB,EACzB,qCAAqC,EACrC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAEnB,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,GAAG,CACD,YAAY,EAAE,WAAW,EACzB,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;OAIG;IACH,SAAS,CACP,YAAY,EAAE,WAAW,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;OAKG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,WAAW,EACzB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 {};
|
|
9
|
+
//# sourceMappingURL=dataBoundaries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataBoundaries.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/dataBoundaries.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 "./dataBoundaries";
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"databoundaries_operations_test.spec.d.ts","sourceRoot":"","sources":["../../test/databoundaries_operations_test.spec.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
import { env, Recorder, isPlaybackMode, } from "@azure-tools/test-recorder";
|
|
10
|
+
import { createTestCredential } from "@azure-tools/test-credential";
|
|
11
|
+
import { DataboundariesManegementClient } from "../src/databoundariesManegementClient";
|
|
12
|
+
const replaceableVariables = {
|
|
13
|
+
SUBSCRIPTION_ID: "88888888-8888-8888-8888-888888888888"
|
|
14
|
+
};
|
|
15
|
+
const recorderOptions = {
|
|
16
|
+
envSetupForPlayback: replaceableVariables,
|
|
17
|
+
removeCentralSanitizers: [
|
|
18
|
+
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
|
|
19
|
+
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
|
|
20
|
+
],
|
|
21
|
+
};
|
|
22
|
+
export const testPollingOptions = {
|
|
23
|
+
updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
|
|
24
|
+
};
|
|
25
|
+
describe("DataBoundary test", () => {
|
|
26
|
+
let recorder;
|
|
27
|
+
let subscriptionId;
|
|
28
|
+
let client;
|
|
29
|
+
let location;
|
|
30
|
+
let resourceGroup;
|
|
31
|
+
let resourcename;
|
|
32
|
+
beforeEach(function () {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
recorder = new Recorder(this.currentTest);
|
|
35
|
+
yield recorder.start(recorderOptions);
|
|
36
|
+
subscriptionId = env.SUBSCRIPTION_ID || '';
|
|
37
|
+
// This is an example of how the environment variables are used
|
|
38
|
+
const credential = createTestCredential();
|
|
39
|
+
client = new DataboundariesManegementClient(credential, recorder.configureClientOptions({}));
|
|
40
|
+
location = "eastus";
|
|
41
|
+
resourceGroup = "myjstest";
|
|
42
|
+
resourcename = "resourcetest";
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
afterEach(function () {
|
|
46
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
47
|
+
yield recorder.stop();
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
it("dataBoundaries get test", function () {
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
const scope = "subscriptions/" + subscriptionId + "/resourcegroups/myjstest";
|
|
53
|
+
const result = yield client.dataBoundaries.getScope(scope, "default");
|
|
54
|
+
console.log(result);
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
//# sourceMappingURL=databoundaries_operations_test.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"databoundaries_operations_test.spec.js","sourceRoot":"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