@azure/synapse-access-control 1.0.0-beta.2 → 1.0.0-beta.5
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/LICENSE +21 -0
- package/README.md +15 -20
- package/dist/browser/accessControlClient.d.ts +21 -0
- package/dist/browser/accessControlClient.d.ts.map +1 -0
- package/dist/browser/accessControlClient.js +103 -0
- package/dist/browser/accessControlClient.js.map +1 -0
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +11 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/index.d.ts +213 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +9 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.d.ts +16 -0
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/dist/browser/models/mappers.js +457 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/parameters.d.ts +20 -0
- package/dist/browser/models/parameters.d.ts.map +1 -0
- package/dist/browser/models/parameters.js +149 -0
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +3 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +10 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/dist/browser/operations/roleAssignments.d.ts +55 -0
- package/dist/browser/operations/roleAssignments.d.ts.map +1 -0
- package/dist/browser/operations/roleAssignments.js +210 -0
- package/dist/browser/operations/roleAssignments.js.map +1 -0
- package/dist/browser/operations/roleDefinitions.d.ts +29 -0
- package/dist/browser/operations/roleDefinitions.d.ts.map +1 -0
- package/dist/browser/operations/roleDefinitions.js +110 -0
- package/dist/browser/operations/roleDefinitions.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +3 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +10 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/operationsInterfaces/roleAssignments.d.ts +40 -0
- package/dist/browser/operationsInterfaces/roleAssignments.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/roleAssignments.js +9 -0
- package/dist/browser/operationsInterfaces/roleAssignments.js.map +1 -0
- package/dist/browser/operationsInterfaces/roleDefinitions.d.ts +21 -0
- package/dist/browser/operationsInterfaces/roleDefinitions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/roleDefinitions.js +9 -0
- package/dist/browser/operationsInterfaces/roleDefinitions.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/tracing.d.ts +2 -0
- package/dist/browser/tracing.d.ts.map +1 -0
- package/dist/browser/tracing.js +14 -0
- package/dist/browser/tracing.js.map +1 -0
- package/dist/commonjs/accessControlClient.d.ts +21 -0
- package/dist/commonjs/accessControlClient.d.ts.map +1 -0
- package/dist/commonjs/accessControlClient.js +108 -0
- package/dist/commonjs/accessControlClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +213 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +10 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +16 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +460 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +20 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +152 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +3 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +13 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/roleAssignments.d.ts +55 -0
- package/dist/commonjs/operations/roleAssignments.d.ts.map +1 -0
- package/dist/commonjs/operations/roleAssignments.js +215 -0
- package/dist/commonjs/operations/roleAssignments.js.map +1 -0
- package/dist/commonjs/operations/roleDefinitions.d.ts +29 -0
- package/dist/commonjs/operations/roleDefinitions.d.ts.map +1 -0
- package/dist/commonjs/operations/roleDefinitions.js +115 -0
- package/dist/commonjs/operations/roleDefinitions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/roleAssignments.d.ts +40 -0
- package/dist/commonjs/operationsInterfaces/roleAssignments.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/roleAssignments.js +10 -0
- package/dist/commonjs/operationsInterfaces/roleAssignments.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/roleDefinitions.d.ts +21 -0
- package/dist/commonjs/operationsInterfaces/roleDefinitions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/roleDefinitions.js +10 -0
- package/dist/commonjs/operationsInterfaces/roleDefinitions.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/tracing.d.ts +2 -0
- package/dist/commonjs/tracing.d.ts.map +1 -0
- package/dist/commonjs/tracing.js +17 -0
- package/dist/commonjs/tracing.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/accessControlClient.d.ts +21 -0
- package/dist/esm/accessControlClient.d.ts.map +1 -0
- package/dist/esm/accessControlClient.js +103 -0
- package/dist/esm/accessControlClient.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +213 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +16 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +457 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +20 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +149 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +3 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +10 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/roleAssignments.d.ts +55 -0
- package/dist/esm/operations/roleAssignments.d.ts.map +1 -0
- package/dist/esm/operations/roleAssignments.js +210 -0
- package/dist/esm/operations/roleAssignments.js.map +1 -0
- package/dist/esm/operations/roleDefinitions.d.ts +29 -0
- package/dist/esm/operations/roleDefinitions.d.ts.map +1 -0
- package/dist/esm/operations/roleDefinitions.js +110 -0
- package/dist/esm/operations/roleDefinitions.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +10 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/roleAssignments.d.ts +40 -0
- package/dist/esm/operationsInterfaces/roleAssignments.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/roleAssignments.js +9 -0
- package/dist/esm/operationsInterfaces/roleAssignments.js.map +1 -0
- package/dist/esm/operationsInterfaces/roleDefinitions.d.ts +21 -0
- package/dist/esm/operationsInterfaces/roleDefinitions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/roleDefinitions.js +9 -0
- package/dist/esm/operationsInterfaces/roleDefinitions.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/tracing.d.ts +2 -0
- package/dist/esm/tracing.d.ts.map +1 -0
- package/dist/esm/tracing.js +14 -0
- package/dist/esm/tracing.js.map +1 -0
- package/dist/react-native/accessControlClient.d.ts +21 -0
- package/dist/react-native/accessControlClient.d.ts.map +1 -0
- package/dist/react-native/accessControlClient.js +103 -0
- package/dist/react-native/accessControlClient.js.map +1 -0
- package/dist/react-native/index.d.ts +4 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +11 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +213 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +9 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +16 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +457 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +20 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +149 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +3 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +10 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/roleAssignments.d.ts +55 -0
- package/dist/react-native/operations/roleAssignments.d.ts.map +1 -0
- package/dist/react-native/operations/roleAssignments.js +210 -0
- package/dist/react-native/operations/roleAssignments.js.map +1 -0
- package/dist/react-native/operations/roleDefinitions.d.ts +29 -0
- package/dist/react-native/operations/roleDefinitions.d.ts.map +1 -0
- package/dist/react-native/operations/roleDefinitions.js +110 -0
- package/dist/react-native/operations/roleDefinitions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +10 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/roleAssignments.d.ts +40 -0
- package/dist/react-native/operationsInterfaces/roleAssignments.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/roleAssignments.js +9 -0
- package/dist/react-native/operationsInterfaces/roleAssignments.js.map +1 -0
- package/dist/react-native/operationsInterfaces/roleDefinitions.d.ts +21 -0
- package/dist/react-native/operationsInterfaces/roleDefinitions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/roleDefinitions.js +9 -0
- package/dist/react-native/operationsInterfaces/roleDefinitions.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/tracing.d.ts +2 -0
- package/dist/react-native/tracing.d.ts.map +1 -0
- package/dist/react-native/tracing.js +14 -0
- package/dist/react-native/tracing.js.map +1 -0
- package/package.json +96 -51
- package/CHANGELOG.md +0 -11
- package/dist/index.js +0 -3137
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/accessControlClient.d.ts +0 -67
- package/dist-esm/accessControlClient.d.ts.map +0 -1
- package/dist-esm/accessControlClient.js +0 -557
- package/dist-esm/accessControlClient.js.map +0 -1
- package/dist-esm/accessControlClientContext.d.ts +0 -15
- package/dist-esm/accessControlClientContext.d.ts.map +0 -1
- package/dist-esm/accessControlClientContext.js +0 -47
- package/dist-esm/accessControlClientContext.js.map +0 -1
- package/dist-esm/index.d.ts +0 -5
- package/dist-esm/index.d.ts.map +0 -1
- package/dist-esm/index.js +0 -7
- package/dist-esm/index.js.map +0 -1
- package/dist-esm/models/index.d.ts +0 -145
- package/dist-esm/models/index.d.ts.map +0 -1
- package/dist-esm/models/index.js +0 -2
- package/dist-esm/models/index.js.map +0 -1
- package/dist-esm/models/mappers.d.ts +0 -10
- package/dist-esm/models/mappers.d.ts.map +0 -1
- package/dist-esm/models/mappers.js +0 -200
- package/dist-esm/models/mappers.js.map +0 -1
- package/dist-esm/models/parameters.d.ts +0 -13
- package/dist-esm/models/parameters.d.ts.map +0 -1
- package/dist-esm/models/parameters.js +0 -111
- package/dist-esm/models/parameters.js.map +0 -1
- package/dist-esm/tracing.d.ts +0 -5
- package/dist-esm/tracing.d.ts.map +0 -1
- package/dist-esm/tracing.js +0 -8
- package/dist-esm/tracing.js.map +0 -1
- package/rollup.config.js +0 -41
- package/tsconfig.json +0 -20
- package/types/synapse-access-control.d.ts +0 -240
|
@@ -0,0 +1,457 @@
|
|
|
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 CheckPrincipalAccessRequest = {
|
|
9
|
+
type: {
|
|
10
|
+
name: "Composite",
|
|
11
|
+
className: "CheckPrincipalAccessRequest",
|
|
12
|
+
modelProperties: {
|
|
13
|
+
subject: {
|
|
14
|
+
serializedName: "subject",
|
|
15
|
+
type: {
|
|
16
|
+
name: "Composite",
|
|
17
|
+
className: "SubjectInfo",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
actions: {
|
|
21
|
+
serializedName: "actions",
|
|
22
|
+
required: true,
|
|
23
|
+
type: {
|
|
24
|
+
name: "Sequence",
|
|
25
|
+
element: {
|
|
26
|
+
type: {
|
|
27
|
+
name: "Composite",
|
|
28
|
+
className: "RequiredAction",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
scope: {
|
|
34
|
+
serializedName: "scope",
|
|
35
|
+
required: true,
|
|
36
|
+
type: {
|
|
37
|
+
name: "String",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
export const SubjectInfo = {
|
|
44
|
+
type: {
|
|
45
|
+
name: "Composite",
|
|
46
|
+
className: "SubjectInfo",
|
|
47
|
+
modelProperties: {
|
|
48
|
+
principalId: {
|
|
49
|
+
serializedName: "principalId",
|
|
50
|
+
required: true,
|
|
51
|
+
type: {
|
|
52
|
+
name: "Uuid",
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
groupIds: {
|
|
56
|
+
serializedName: "groupIds",
|
|
57
|
+
type: {
|
|
58
|
+
name: "Sequence",
|
|
59
|
+
element: {
|
|
60
|
+
type: {
|
|
61
|
+
name: "Uuid",
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
export const RequiredAction = {
|
|
70
|
+
type: {
|
|
71
|
+
name: "Composite",
|
|
72
|
+
className: "RequiredAction",
|
|
73
|
+
modelProperties: {
|
|
74
|
+
id: {
|
|
75
|
+
serializedName: "id",
|
|
76
|
+
required: true,
|
|
77
|
+
type: {
|
|
78
|
+
name: "String",
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
isDataAction: {
|
|
82
|
+
serializedName: "isDataAction",
|
|
83
|
+
required: true,
|
|
84
|
+
type: {
|
|
85
|
+
name: "Boolean",
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
export const CheckPrincipalAccessResponse = {
|
|
92
|
+
type: {
|
|
93
|
+
name: "Composite",
|
|
94
|
+
className: "CheckPrincipalAccessResponse",
|
|
95
|
+
modelProperties: {
|
|
96
|
+
accessDecisions: {
|
|
97
|
+
serializedName: "AccessDecisions",
|
|
98
|
+
type: {
|
|
99
|
+
name: "Sequence",
|
|
100
|
+
element: {
|
|
101
|
+
type: {
|
|
102
|
+
name: "Composite",
|
|
103
|
+
className: "CheckAccessDecision",
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
export const CheckAccessDecision = {
|
|
112
|
+
type: {
|
|
113
|
+
name: "Composite",
|
|
114
|
+
className: "CheckAccessDecision",
|
|
115
|
+
modelProperties: {
|
|
116
|
+
accessDecision: {
|
|
117
|
+
serializedName: "accessDecision",
|
|
118
|
+
type: {
|
|
119
|
+
name: "String",
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
actionId: {
|
|
123
|
+
serializedName: "actionId",
|
|
124
|
+
type: {
|
|
125
|
+
name: "String",
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
roleAssignment: {
|
|
129
|
+
serializedName: "roleAssignment",
|
|
130
|
+
type: {
|
|
131
|
+
name: "Composite",
|
|
132
|
+
className: "RoleAssignmentDetails",
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
export const RoleAssignmentDetails = {
|
|
139
|
+
type: {
|
|
140
|
+
name: "Composite",
|
|
141
|
+
className: "RoleAssignmentDetails",
|
|
142
|
+
modelProperties: {
|
|
143
|
+
id: {
|
|
144
|
+
serializedName: "id",
|
|
145
|
+
type: {
|
|
146
|
+
name: "String",
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
roleDefinitionId: {
|
|
150
|
+
serializedName: "roleDefinitionId",
|
|
151
|
+
type: {
|
|
152
|
+
name: "Uuid",
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
principalId: {
|
|
156
|
+
serializedName: "principalId",
|
|
157
|
+
type: {
|
|
158
|
+
name: "Uuid",
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
scope: {
|
|
162
|
+
serializedName: "scope",
|
|
163
|
+
type: {
|
|
164
|
+
name: "String",
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
principalType: {
|
|
168
|
+
serializedName: "principalType",
|
|
169
|
+
type: {
|
|
170
|
+
name: "String",
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
export const ErrorContract = {
|
|
177
|
+
type: {
|
|
178
|
+
name: "Composite",
|
|
179
|
+
className: "ErrorContract",
|
|
180
|
+
modelProperties: {
|
|
181
|
+
error: {
|
|
182
|
+
serializedName: "error",
|
|
183
|
+
type: {
|
|
184
|
+
name: "Composite",
|
|
185
|
+
className: "ErrorResponse",
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
};
|
|
191
|
+
export const ErrorResponse = {
|
|
192
|
+
type: {
|
|
193
|
+
name: "Composite",
|
|
194
|
+
className: "ErrorResponse",
|
|
195
|
+
modelProperties: {
|
|
196
|
+
code: {
|
|
197
|
+
serializedName: "code",
|
|
198
|
+
readOnly: true,
|
|
199
|
+
type: {
|
|
200
|
+
name: "String",
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
message: {
|
|
204
|
+
serializedName: "message",
|
|
205
|
+
readOnly: true,
|
|
206
|
+
type: {
|
|
207
|
+
name: "String",
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
target: {
|
|
211
|
+
serializedName: "target",
|
|
212
|
+
readOnly: true,
|
|
213
|
+
type: {
|
|
214
|
+
name: "String",
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
details: {
|
|
218
|
+
serializedName: "details",
|
|
219
|
+
readOnly: true,
|
|
220
|
+
type: {
|
|
221
|
+
name: "Sequence",
|
|
222
|
+
element: {
|
|
223
|
+
type: {
|
|
224
|
+
name: "Composite",
|
|
225
|
+
className: "ErrorResponse",
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
additionalInfo: {
|
|
231
|
+
serializedName: "additionalInfo",
|
|
232
|
+
readOnly: true,
|
|
233
|
+
type: {
|
|
234
|
+
name: "Sequence",
|
|
235
|
+
element: {
|
|
236
|
+
type: {
|
|
237
|
+
name: "Composite",
|
|
238
|
+
className: "ErrorAdditionalInfo",
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
};
|
|
246
|
+
export const ErrorAdditionalInfo = {
|
|
247
|
+
type: {
|
|
248
|
+
name: "Composite",
|
|
249
|
+
className: "ErrorAdditionalInfo",
|
|
250
|
+
modelProperties: {
|
|
251
|
+
type: {
|
|
252
|
+
serializedName: "type",
|
|
253
|
+
readOnly: true,
|
|
254
|
+
type: {
|
|
255
|
+
name: "String",
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
info: {
|
|
259
|
+
serializedName: "info",
|
|
260
|
+
readOnly: true,
|
|
261
|
+
type: {
|
|
262
|
+
name: "Dictionary",
|
|
263
|
+
value: { type: { name: "any" } },
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
};
|
|
269
|
+
export const RoleAssignmentDetailsList = {
|
|
270
|
+
type: {
|
|
271
|
+
name: "Composite",
|
|
272
|
+
className: "RoleAssignmentDetailsList",
|
|
273
|
+
modelProperties: {
|
|
274
|
+
count: {
|
|
275
|
+
serializedName: "count",
|
|
276
|
+
type: {
|
|
277
|
+
name: "Number",
|
|
278
|
+
},
|
|
279
|
+
},
|
|
280
|
+
value: {
|
|
281
|
+
serializedName: "value",
|
|
282
|
+
type: {
|
|
283
|
+
name: "Sequence",
|
|
284
|
+
element: {
|
|
285
|
+
type: {
|
|
286
|
+
name: "Composite",
|
|
287
|
+
className: "RoleAssignmentDetails",
|
|
288
|
+
},
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
};
|
|
295
|
+
export const RoleAssignmentRequest = {
|
|
296
|
+
type: {
|
|
297
|
+
name: "Composite",
|
|
298
|
+
className: "RoleAssignmentRequest",
|
|
299
|
+
modelProperties: {
|
|
300
|
+
roleId: {
|
|
301
|
+
serializedName: "roleId",
|
|
302
|
+
required: true,
|
|
303
|
+
type: {
|
|
304
|
+
name: "Uuid",
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
principalId: {
|
|
308
|
+
serializedName: "principalId",
|
|
309
|
+
required: true,
|
|
310
|
+
type: {
|
|
311
|
+
name: "Uuid",
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
scope: {
|
|
315
|
+
serializedName: "scope",
|
|
316
|
+
required: true,
|
|
317
|
+
type: {
|
|
318
|
+
name: "String",
|
|
319
|
+
},
|
|
320
|
+
},
|
|
321
|
+
principalType: {
|
|
322
|
+
serializedName: "principalType",
|
|
323
|
+
type: {
|
|
324
|
+
name: "String",
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
};
|
|
330
|
+
export const SynapseRoleDefinition = {
|
|
331
|
+
type: {
|
|
332
|
+
name: "Composite",
|
|
333
|
+
className: "SynapseRoleDefinition",
|
|
334
|
+
modelProperties: {
|
|
335
|
+
id: {
|
|
336
|
+
serializedName: "id",
|
|
337
|
+
type: {
|
|
338
|
+
name: "Uuid",
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
name: {
|
|
342
|
+
serializedName: "name",
|
|
343
|
+
type: {
|
|
344
|
+
name: "String",
|
|
345
|
+
},
|
|
346
|
+
},
|
|
347
|
+
isBuiltIn: {
|
|
348
|
+
serializedName: "isBuiltIn",
|
|
349
|
+
type: {
|
|
350
|
+
name: "Boolean",
|
|
351
|
+
},
|
|
352
|
+
},
|
|
353
|
+
description: {
|
|
354
|
+
serializedName: "description",
|
|
355
|
+
type: {
|
|
356
|
+
name: "String",
|
|
357
|
+
},
|
|
358
|
+
},
|
|
359
|
+
permissions: {
|
|
360
|
+
serializedName: "permissions",
|
|
361
|
+
type: {
|
|
362
|
+
name: "Sequence",
|
|
363
|
+
element: {
|
|
364
|
+
type: {
|
|
365
|
+
name: "Composite",
|
|
366
|
+
className: "SynapseRbacPermission",
|
|
367
|
+
},
|
|
368
|
+
},
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
scopes: {
|
|
372
|
+
serializedName: "scopes",
|
|
373
|
+
type: {
|
|
374
|
+
name: "Sequence",
|
|
375
|
+
element: {
|
|
376
|
+
type: {
|
|
377
|
+
name: "String",
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
availabilityStatus: {
|
|
383
|
+
serializedName: "availabilityStatus",
|
|
384
|
+
type: {
|
|
385
|
+
name: "String",
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
};
|
|
391
|
+
export const SynapseRbacPermission = {
|
|
392
|
+
type: {
|
|
393
|
+
name: "Composite",
|
|
394
|
+
className: "SynapseRbacPermission",
|
|
395
|
+
modelProperties: {
|
|
396
|
+
actions: {
|
|
397
|
+
serializedName: "actions",
|
|
398
|
+
type: {
|
|
399
|
+
name: "Sequence",
|
|
400
|
+
element: {
|
|
401
|
+
type: {
|
|
402
|
+
name: "String",
|
|
403
|
+
},
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
notActions: {
|
|
408
|
+
serializedName: "notActions",
|
|
409
|
+
type: {
|
|
410
|
+
name: "Sequence",
|
|
411
|
+
element: {
|
|
412
|
+
type: {
|
|
413
|
+
name: "String",
|
|
414
|
+
},
|
|
415
|
+
},
|
|
416
|
+
},
|
|
417
|
+
},
|
|
418
|
+
dataActions: {
|
|
419
|
+
serializedName: "dataActions",
|
|
420
|
+
type: {
|
|
421
|
+
name: "Sequence",
|
|
422
|
+
element: {
|
|
423
|
+
type: {
|
|
424
|
+
name: "String",
|
|
425
|
+
},
|
|
426
|
+
},
|
|
427
|
+
},
|
|
428
|
+
},
|
|
429
|
+
notDataActions: {
|
|
430
|
+
serializedName: "notDataActions",
|
|
431
|
+
type: {
|
|
432
|
+
name: "Sequence",
|
|
433
|
+
element: {
|
|
434
|
+
type: {
|
|
435
|
+
name: "String",
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
},
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
},
|
|
442
|
+
};
|
|
443
|
+
export const RoleAssignmentsListRoleAssignmentsHeaders = {
|
|
444
|
+
type: {
|
|
445
|
+
name: "Composite",
|
|
446
|
+
className: "RoleAssignmentsListRoleAssignmentsHeaders",
|
|
447
|
+
modelProperties: {
|
|
448
|
+
xMsContinuation: {
|
|
449
|
+
serializedName: "x-ms-continuation",
|
|
450
|
+
type: {
|
|
451
|
+
name: "String",
|
|
452
|
+
},
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
};
|
|
457
|
+
//# 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,2BAA2B,GAA+B;IACrE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,6BAA6B;QACxC,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,aAAa;iBACzB;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,gBAAgB;yBAC5B;qBACF;iBACF;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GA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Ae,EAAE;YACf,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;YACD,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;YACD,cAAc,EAAE;gBACd,cAAc,EAAE,gBAAgB;gBAChC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAA+B;IACnF,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,2CAA2C;QACtD,eAAe,EAAE;YACf,eAAe,EAAE;gBACf,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type * as coreClient from \"@azure/core-client\";\n\nexport const CheckPrincipalAccessRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckPrincipalAccessRequest\",\n modelProperties: {\n subject: {\n serializedName: \"subject\",\n type: {\n name: \"Composite\",\n className: \"SubjectInfo\",\n },\n },\n actions: {\n serializedName: \"actions\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RequiredAction\",\n },\n },\n },\n },\n scope: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SubjectInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubjectInfo\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n groupIds: {\n serializedName: \"groupIds\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Uuid\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const RequiredAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RequiredAction\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n required: true,\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const CheckPrincipalAccessResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckPrincipalAccessResponse\",\n modelProperties: {\n accessDecisions: {\n serializedName: \"AccessDecisions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CheckAccessDecision\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const CheckAccessDecision: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckAccessDecision\",\n modelProperties: {\n accessDecision: {\n serializedName: \"accessDecision\",\n type: {\n name: \"String\",\n },\n },\n actionId: {\n serializedName: \"actionId\",\n type: {\n name: \"String\",\n },\n },\n roleAssignment: {\n serializedName: \"roleAssignment\",\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentDetails\",\n },\n },\n },\n },\n};\n\nexport const RoleAssignmentDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentDetails\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n roleDefinitionId: {\n serializedName: \"roleDefinitionId\",\n type: {\n name: \"Uuid\",\n },\n },\n principalId: {\n serializedName: \"principalId\",\n type: {\n name: \"Uuid\",\n },\n },\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"String\",\n },\n },\n principalType: {\n serializedName: \"principalType\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ErrorContract: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorContract\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n },\n },\n },\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n },\n },\n};\n\nexport const RoleAssignmentDetailsList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentDetailsList\",\n modelProperties: {\n count: {\n serializedName: \"count\",\n type: {\n name: \"Number\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentDetails\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const RoleAssignmentRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentRequest\",\n modelProperties: {\n roleId: {\n serializedName: \"roleId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n principalId: {\n serializedName: \"principalId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n scope: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n principalType: {\n serializedName: \"principalType\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SynapseRoleDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SynapseRoleDefinition\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"Uuid\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n isBuiltIn: {\n serializedName: \"isBuiltIn\",\n type: {\n name: \"Boolean\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n permissions: {\n serializedName: \"permissions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SynapseRbacPermission\",\n },\n },\n },\n },\n scopes: {\n serializedName: \"scopes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n availabilityStatus: {\n serializedName: \"availabilityStatus\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SynapseRbacPermission: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SynapseRbacPermission\",\n modelProperties: {\n actions: {\n serializedName: \"actions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n notActions: {\n serializedName: \"notActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n dataActions: {\n serializedName: \"dataActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n notDataActions: {\n serializedName: \"notDataActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const RoleAssignmentsListRoleAssignmentsHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentsListRoleAssignmentsHeaders\",\n modelProperties: {\n xMsContinuation: {\n serializedName: \"x-ms-continuation\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const contentType: OperationParameter;
|
|
3
|
+
export declare const accept: OperationParameter;
|
|
4
|
+
export declare const subject: OperationParameter;
|
|
5
|
+
export declare const actions: OperationParameter;
|
|
6
|
+
export declare const scope: OperationParameter;
|
|
7
|
+
export declare const endpoint: OperationURLParameter;
|
|
8
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
9
|
+
export declare const roleId: OperationQueryParameter;
|
|
10
|
+
export declare const principalId: OperationQueryParameter;
|
|
11
|
+
export declare const scope1: OperationQueryParameter;
|
|
12
|
+
export declare const continuationToken: OperationParameter;
|
|
13
|
+
export declare const roleId1: OperationParameter;
|
|
14
|
+
export declare const principalId1: OperationParameter;
|
|
15
|
+
export declare const scope2: OperationParameter;
|
|
16
|
+
export declare const principalType: OperationParameter;
|
|
17
|
+
export declare const roleAssignmentId: OperationURLParameter;
|
|
18
|
+
export declare const isBuiltIn: OperationQueryParameter;
|
|
19
|
+
export declare const roleDefinitionId: OperationURLParameter;
|
|
20
|
+
//# 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,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAM5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAGrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAGrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,uBAQpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,uBAQzB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,uBAQpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,kBAQ/B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAGrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAGpB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,qBAY9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,uBAQvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,qBAS9B,CAAC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
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 { CheckPrincipalAccessRequest as CheckPrincipalAccessRequestMapper, RoleAssignmentRequest as RoleAssignmentRequestMapper, } from "../models/mappers.js";
|
|
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 accept = {
|
|
21
|
+
parameterPath: "accept",
|
|
22
|
+
mapper: {
|
|
23
|
+
defaultValue: "application/json, text/json",
|
|
24
|
+
isConstant: true,
|
|
25
|
+
serializedName: "Accept",
|
|
26
|
+
type: {
|
|
27
|
+
name: "String",
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
export const subject = {
|
|
32
|
+
parameterPath: "subject",
|
|
33
|
+
mapper: CheckPrincipalAccessRequestMapper,
|
|
34
|
+
};
|
|
35
|
+
export const actions = {
|
|
36
|
+
parameterPath: "actions",
|
|
37
|
+
mapper: CheckPrincipalAccessRequestMapper,
|
|
38
|
+
};
|
|
39
|
+
export const scope = {
|
|
40
|
+
parameterPath: "scope",
|
|
41
|
+
mapper: CheckPrincipalAccessRequestMapper,
|
|
42
|
+
};
|
|
43
|
+
export const endpoint = {
|
|
44
|
+
parameterPath: "endpoint",
|
|
45
|
+
mapper: {
|
|
46
|
+
serializedName: "endpoint",
|
|
47
|
+
required: true,
|
|
48
|
+
type: {
|
|
49
|
+
name: "String",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
skipEncoding: true,
|
|
53
|
+
};
|
|
54
|
+
export const apiVersion = {
|
|
55
|
+
parameterPath: "apiVersion",
|
|
56
|
+
mapper: {
|
|
57
|
+
defaultValue: "2020-12-01",
|
|
58
|
+
isConstant: true,
|
|
59
|
+
serializedName: "api-version",
|
|
60
|
+
type: {
|
|
61
|
+
name: "String",
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
export const roleId = {
|
|
66
|
+
parameterPath: ["options", "roleId"],
|
|
67
|
+
mapper: {
|
|
68
|
+
serializedName: "roleId",
|
|
69
|
+
type: {
|
|
70
|
+
name: "String",
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
export const principalId = {
|
|
75
|
+
parameterPath: ["options", "principalId"],
|
|
76
|
+
mapper: {
|
|
77
|
+
serializedName: "principalId",
|
|
78
|
+
type: {
|
|
79
|
+
name: "String",
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
export const scope1 = {
|
|
84
|
+
parameterPath: ["options", "scope"],
|
|
85
|
+
mapper: {
|
|
86
|
+
serializedName: "scope",
|
|
87
|
+
type: {
|
|
88
|
+
name: "String",
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
export const continuationToken = {
|
|
93
|
+
parameterPath: ["options", "continuationToken"],
|
|
94
|
+
mapper: {
|
|
95
|
+
serializedName: "x-ms-continuation",
|
|
96
|
+
type: {
|
|
97
|
+
name: "String",
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
};
|
|
101
|
+
export const roleId1 = {
|
|
102
|
+
parameterPath: "roleId",
|
|
103
|
+
mapper: RoleAssignmentRequestMapper,
|
|
104
|
+
};
|
|
105
|
+
export const principalId1 = {
|
|
106
|
+
parameterPath: "principalId",
|
|
107
|
+
mapper: RoleAssignmentRequestMapper,
|
|
108
|
+
};
|
|
109
|
+
export const scope2 = {
|
|
110
|
+
parameterPath: "scope",
|
|
111
|
+
mapper: RoleAssignmentRequestMapper,
|
|
112
|
+
};
|
|
113
|
+
export const principalType = {
|
|
114
|
+
parameterPath: ["options", "principalType"],
|
|
115
|
+
mapper: RoleAssignmentRequestMapper,
|
|
116
|
+
};
|
|
117
|
+
export const roleAssignmentId = {
|
|
118
|
+
parameterPath: "roleAssignmentId",
|
|
119
|
+
mapper: {
|
|
120
|
+
constraints: {
|
|
121
|
+
MinLength: 1,
|
|
122
|
+
},
|
|
123
|
+
serializedName: "roleAssignmentId",
|
|
124
|
+
required: true,
|
|
125
|
+
type: {
|
|
126
|
+
name: "String",
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
export const isBuiltIn = {
|
|
131
|
+
parameterPath: ["options", "isBuiltIn"],
|
|
132
|
+
mapper: {
|
|
133
|
+
serializedName: "isBuiltIn",
|
|
134
|
+
type: {
|
|
135
|
+
name: "Boolean",
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
};
|
|
139
|
+
export const roleDefinitionId = {
|
|
140
|
+
parameterPath: "roleDefinitionId",
|
|
141
|
+
mapper: {
|
|
142
|
+
serializedName: "roleDefinitionId",
|
|
143
|
+
required: true,
|
|
144
|
+
type: {
|
|
145
|
+
name: "String",
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
//# 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,2BAA2B,IAAI,iCAAiC,EAChE,qBAAqB,IAAI,2BAA2B,GACrD,MAAM,sBAAsB,CAAC;AAE9B,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,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAA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B,IAAI,EAAE;YACJ,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA0B;IACrD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE;QACN,cAAc,EAAE,kBAAkB;QAClC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n CheckPrincipalAccessRequest as CheckPrincipalAccessRequestMapper,\n RoleAssignmentRequest as RoleAssignmentRequestMapper,\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json, text/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subject: OperationParameter = {\n parameterPath: \"subject\",\n mapper: CheckPrincipalAccessRequestMapper,\n};\n\nexport const actions: OperationParameter = {\n parameterPath: \"actions\",\n mapper: CheckPrincipalAccessRequestMapper,\n};\n\nexport const scope: OperationParameter = {\n parameterPath: \"scope\",\n mapper: CheckPrincipalAccessRequestMapper,\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2020-12-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const roleId: OperationQueryParameter = {\n parameterPath: [\"options\", \"roleId\"],\n mapper: {\n serializedName: \"roleId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const principalId: OperationQueryParameter = {\n parameterPath: [\"options\", \"principalId\"],\n mapper: {\n serializedName: \"principalId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const scope1: OperationQueryParameter = {\n parameterPath: [\"options\", \"scope\"],\n mapper: {\n serializedName: \"scope\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const continuationToken: OperationParameter = {\n parameterPath: [\"options\", \"continuationToken\"],\n mapper: {\n serializedName: \"x-ms-continuation\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const roleId1: OperationParameter = {\n parameterPath: \"roleId\",\n mapper: RoleAssignmentRequestMapper,\n};\n\nexport const principalId1: OperationParameter = {\n parameterPath: \"principalId\",\n mapper: RoleAssignmentRequestMapper,\n};\n\nexport const scope2: OperationParameter = {\n parameterPath: \"scope\",\n mapper: RoleAssignmentRequestMapper,\n};\n\nexport const principalType: OperationParameter = {\n parameterPath: [\"options\", \"principalType\"],\n mapper: RoleAssignmentRequestMapper,\n};\n\nexport const roleAssignmentId: OperationURLParameter = {\n parameterPath: \"roleAssignmentId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"roleAssignmentId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const isBuiltIn: OperationQueryParameter = {\n parameterPath: [\"options\", \"isBuiltIn\"],\n mapper: {\n serializedName: \"isBuiltIn\",\n type: {\n name: \"Boolean\",\n },\n },\n};\n\nexport const roleDefinitionId: OperationURLParameter = {\n parameterPath: \"roleDefinitionId\",\n mapper: {\n serializedName: \"roleDefinitionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|