@azure/arm-managedapplications 1.0.2 → 2.0.0-alpha.20211011.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 +16 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +66 -72
- package/dist/index.js +2896 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/esm/applicationClient.d.ts +50 -0
- package/esm/applicationClient.d.ts.map +1 -0
- package/esm/applicationClient.js +190 -0
- package/esm/applicationClient.js.map +1 -0
- package/esm/applicationClientContext.d.ts +16 -0
- package/esm/applicationClientContext.d.ts.map +1 -0
- package/esm/applicationClientContext.js +49 -0
- package/esm/applicationClientContext.js.map +1 -0
- package/esm/coreClientLro.d.ts +26 -0
- package/esm/coreClientLro.d.ts.map +1 -0
- package/esm/coreClientLro.js +186 -0
- package/esm/coreClientLro.js.map +1 -0
- package/esm/index.d.ts +770 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +13 -0
- package/esm/index.js.map +1 -0
- package/esm/lro/azureAsyncPolling.d.ts +3 -0
- package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
- package/esm/lro/azureAsyncPolling.js +67 -0
- package/esm/lro/azureAsyncPolling.js.map +1 -0
- package/esm/lro/bodyPolling.d.ts +8 -0
- package/esm/lro/bodyPolling.d.ts.map +1 -0
- package/esm/lro/bodyPolling.js +37 -0
- package/esm/lro/bodyPolling.js.map +1 -0
- package/esm/lro/index.d.ts +4 -0
- package/esm/lro/index.d.ts.map +1 -0
- package/esm/lro/index.js +12 -0
- package/esm/lro/index.js.map +1 -0
- package/esm/lro/locationPolling.d.ts +3 -0
- package/esm/lro/locationPolling.d.ts.map +1 -0
- package/esm/lro/locationPolling.js +19 -0
- package/esm/lro/locationPolling.js.map +1 -0
- package/esm/lro/lroEngine.d.ts +14 -0
- package/esm/lro/lroEngine.d.ts.map +1 -0
- package/esm/lro/lroEngine.js +41 -0
- package/esm/lro/lroEngine.js.map +1 -0
- package/esm/lro/models.d.ts +138 -0
- package/esm/lro/models.d.ts.map +1 -0
- package/esm/lro/models.js +14 -0
- package/esm/lro/models.js.map +1 -0
- package/esm/lro/operation.d.ts +36 -0
- package/esm/lro/operation.d.ts.map +1 -0
- package/esm/lro/operation.js +82 -0
- package/esm/lro/operation.js.map +1 -0
- package/esm/lro/passthrough.d.ts +3 -0
- package/esm/lro/passthrough.d.ts.map +1 -0
- package/esm/lro/passthrough.js +15 -0
- package/esm/lro/passthrough.js.map +1 -0
- package/esm/lro/requestUtils.d.ts +16 -0
- package/esm/lro/requestUtils.d.ts.map +1 -0
- package/esm/lro/requestUtils.js +73 -0
- package/esm/lro/requestUtils.js.map +1 -0
- package/esm/lro/stateMachine.d.ts +18 -0
- package/esm/lro/stateMachine.d.ts.map +1 -0
- package/esm/lro/stateMachine.js +84 -0
- package/esm/lro/stateMachine.js.map +1 -0
- package/esm/models/index.d.ts +360 -762
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +17 -2
- package/esm/models/index.js.map +1 -1
- package/esm/models/mappers.d.ts +18 -20
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +296 -318
- package/esm/models/mappers.js.map +1 -1
- package/esm/models/parameters.d.ts +15 -10
- package/esm/models/parameters.d.ts.map +1 -1
- package/esm/models/parameters.js +77 -49
- package/esm/models/parameters.js.map +1 -1
- package/esm/operations/applicationDefinitions.d.ts +128 -0
- package/esm/operations/applicationDefinitions.d.ts.map +1 -0
- package/esm/operations/applicationDefinitions.js +574 -0
- package/esm/operations/applicationDefinitions.js.map +1 -0
- package/esm/operations/applications.d.ts +182 -0
- package/esm/operations/applications.d.ts.map +1 -0
- package/esm/operations/applications.js +802 -0
- package/esm/operations/applications.js.map +1 -0
- package/esm/operations/index.d.ts +2 -2
- package/esm/operations/index.d.ts.map +1 -1
- package/esm/operations/index.js +5 -7
- package/esm/operations/index.js.map +1 -1
- package/esm/operationsInterfaces/applicationDefinitions.d.ts +95 -0
- package/esm/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
- package/esm/operationsInterfaces/applicationDefinitions.js +9 -0
- package/esm/operationsInterfaces/applicationDefinitions.js.map +1 -0
- package/esm/operationsInterfaces/applications.d.ts +128 -0
- package/esm/operationsInterfaces/applications.d.ts.map +1 -0
- package/esm/operationsInterfaces/applications.js +9 -0
- package/esm/operationsInterfaces/applications.js.map +1 -0
- package/esm/operationsInterfaces/index.d.ts +3 -0
- package/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/esm/operationsInterfaces/index.js +10 -0
- package/esm/operationsInterfaces/index.js.map +1 -0
- package/package.json +56 -16
- package/review/arm-managedapplications.api.md +443 -0
- package/rollup.config.js +181 -30
- package/src/applicationClient.ts +222 -0
- package/src/applicationClientContext.ts +70 -0
- package/src/coreClientLro.ts +323 -0
- package/src/index.ts +13 -0
- package/src/lro/azureAsyncPolling.ts +96 -0
- package/src/lro/bodyPolling.ts +54 -0
- package/src/lro/index.ts +26 -0
- package/src/lro/locationPolling.ts +30 -0
- package/src/lro/lroEngine.ts +61 -0
- package/src/lro/models.ts +173 -0
- package/src/lro/operation.ts +120 -0
- package/src/lro/passthrough.ts +23 -0
- package/src/lro/requestUtils.ts +105 -0
- package/src/lro/stateMachine.ts +138 -0
- package/src/models/index.ts +402 -794
- package/src/models/mappers.ts +290 -311
- package/src/models/parameters.ts +99 -50
- package/src/operations/applicationDefinitions.ts +810 -0
- package/src/operations/applications.ts +1069 -0
- package/src/operations/index.ts +5 -7
- package/src/operationsInterfaces/applicationDefinitions.ts +179 -0
- package/src/operationsInterfaces/applications.ts +225 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/tsconfig.json +3 -2
- package/dist/arm-managedapplications.js +0 -1855
- package/dist/arm-managedapplications.js.map +0 -1
- package/dist/arm-managedapplications.min.js +0 -1
- package/dist/arm-managedapplications.min.js.map +0 -1
- package/esm/managedApplicationClient.d.ts +0 -52
- package/esm/managedApplicationClient.d.ts.map +0 -1
- package/esm/managedApplicationClient.js +0 -87
- package/esm/managedApplicationClient.js.map +0 -1
- package/esm/managedApplicationClientContext.d.ts +0 -16
- package/esm/managedApplicationClientContext.d.ts.map +0 -1
- package/esm/managedApplicationClientContext.js +0 -56
- package/esm/managedApplicationClientContext.js.map +0 -1
- package/esm/models/applianceDefinitionsMappers.d.ts +0 -2
- package/esm/models/applianceDefinitionsMappers.d.ts.map +0 -1
- package/esm/models/applianceDefinitionsMappers.js +0 -9
- package/esm/models/applianceDefinitionsMappers.js.map +0 -1
- package/esm/models/appliancesMappers.d.ts +0 -2
- package/esm/models/appliancesMappers.d.ts.map +0 -1
- package/esm/models/appliancesMappers.js +0 -9
- package/esm/models/appliancesMappers.js.map +0 -1
- package/esm/operations/applianceDefinitions.d.ts +0 -167
- package/esm/operations/applianceDefinitions.d.ts.map +0 -1
- package/esm/operations/applianceDefinitions.js +0 -358
- package/esm/operations/applianceDefinitions.js.map +0 -1
- package/esm/operations/appliances.d.ts +0 -247
- package/esm/operations/appliances.d.ts.map +0 -1
- package/esm/operations/appliances.js +0 -482
- package/esm/operations/appliances.js.map +0 -1
- package/src/managedApplicationClient.ts +0 -138
- package/src/managedApplicationClientContext.ts +0 -62
- package/src/models/applianceDefinitionsMappers.ts +0 -24
- package/src/models/appliancesMappers.ts +0 -24
- package/src/operations/applianceDefinitions.ts +0 -492
- package/src/operations/appliances.ts +0 -716
package/src/models/parameters.ts
CHANGED
|
@@ -1,118 +1,167 @@
|
|
|
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
|
+
Application as ApplicationMapper,
|
|
16
|
+
ApplicationPatchable as ApplicationPatchableMapper,
|
|
17
|
+
ApplicationDefinition as ApplicationDefinitionMapper
|
|
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: "2018-06-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 nextLink: OperationURLParameter = {
|
|
57
|
+
parameterPath: "nextLink",
|
|
35
58
|
mapper: {
|
|
59
|
+
serializedName: "nextLink",
|
|
36
60
|
required: true,
|
|
37
|
-
serializedName: "applianceDefinitionId",
|
|
38
61
|
type: {
|
|
39
62
|
name: "String"
|
|
40
63
|
}
|
|
41
64
|
},
|
|
42
65
|
skipEncoding: true
|
|
43
66
|
};
|
|
44
|
-
|
|
45
|
-
|
|
67
|
+
|
|
68
|
+
export const resourceGroupName: OperationURLParameter = {
|
|
69
|
+
parameterPath: "resourceGroupName",
|
|
46
70
|
mapper: {
|
|
71
|
+
constraints: {
|
|
72
|
+
Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
|
|
73
|
+
MaxLength: 90,
|
|
74
|
+
MinLength: 1
|
|
75
|
+
},
|
|
76
|
+
serializedName: "resourceGroupName",
|
|
47
77
|
required: true,
|
|
48
|
-
|
|
78
|
+
type: {
|
|
79
|
+
name: "String"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export const applicationName: OperationURLParameter = {
|
|
85
|
+
parameterPath: "applicationName",
|
|
86
|
+
mapper: {
|
|
49
87
|
constraints: {
|
|
50
88
|
MaxLength: 64,
|
|
51
89
|
MinLength: 3
|
|
52
90
|
},
|
|
91
|
+
serializedName: "applicationName",
|
|
92
|
+
required: true,
|
|
53
93
|
type: {
|
|
54
94
|
name: "String"
|
|
55
95
|
}
|
|
56
96
|
}
|
|
57
97
|
};
|
|
58
|
-
|
|
59
|
-
|
|
98
|
+
|
|
99
|
+
export const subscriptionId: OperationURLParameter = {
|
|
100
|
+
parameterPath: "subscriptionId",
|
|
60
101
|
mapper: {
|
|
102
|
+
serializedName: "subscriptionId",
|
|
61
103
|
required: true,
|
|
62
|
-
serializedName: "applianceId",
|
|
63
104
|
type: {
|
|
64
105
|
name: "String"
|
|
65
106
|
}
|
|
66
|
-
}
|
|
67
|
-
skipEncoding: true
|
|
107
|
+
}
|
|
68
108
|
};
|
|
69
|
-
|
|
70
|
-
|
|
109
|
+
|
|
110
|
+
export const contentType: OperationParameter = {
|
|
111
|
+
parameterPath: ["options", "contentType"],
|
|
71
112
|
mapper: {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
MaxLength: 64,
|
|
76
|
-
MinLength: 3
|
|
77
|
-
},
|
|
113
|
+
defaultValue: "application/json",
|
|
114
|
+
isConstant: true,
|
|
115
|
+
serializedName: "Content-Type",
|
|
78
116
|
type: {
|
|
79
117
|
name: "String"
|
|
80
118
|
}
|
|
81
119
|
}
|
|
82
120
|
};
|
|
83
|
-
|
|
84
|
-
|
|
121
|
+
|
|
122
|
+
export const parameters: OperationParameter = {
|
|
123
|
+
parameterPath: "parameters",
|
|
124
|
+
mapper: ApplicationMapper
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
export const parameters1: OperationParameter = {
|
|
128
|
+
parameterPath: ["options", "parameters"],
|
|
129
|
+
mapper: ApplicationPatchableMapper
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
export const applicationId: OperationURLParameter = {
|
|
133
|
+
parameterPath: "applicationId",
|
|
85
134
|
mapper: {
|
|
135
|
+
serializedName: "applicationId",
|
|
86
136
|
required: true,
|
|
87
|
-
serializedName: "nextLink",
|
|
88
137
|
type: {
|
|
89
138
|
name: "String"
|
|
90
139
|
}
|
|
91
140
|
},
|
|
92
141
|
skipEncoding: true
|
|
93
142
|
};
|
|
94
|
-
|
|
95
|
-
|
|
143
|
+
|
|
144
|
+
export const parameters2: OperationParameter = {
|
|
145
|
+
parameterPath: ["options", "parameters"],
|
|
146
|
+
mapper: ApplicationMapper
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
export const applicationDefinitionName: OperationURLParameter = {
|
|
150
|
+
parameterPath: "applicationDefinitionName",
|
|
96
151
|
mapper: {
|
|
97
|
-
required: true,
|
|
98
|
-
serializedName: "resourceGroupName",
|
|
99
152
|
constraints: {
|
|
100
|
-
MaxLength:
|
|
101
|
-
MinLength:
|
|
102
|
-
Pattern: /^[-\w\._\(\)]+$/
|
|
153
|
+
MaxLength: 64,
|
|
154
|
+
MinLength: 3
|
|
103
155
|
},
|
|
104
|
-
|
|
105
|
-
name: "String"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
export const subscriptionId: msRest.OperationURLParameter = {
|
|
110
|
-
parameterPath: "subscriptionId",
|
|
111
|
-
mapper: {
|
|
156
|
+
serializedName: "applicationDefinitionName",
|
|
112
157
|
required: true,
|
|
113
|
-
serializedName: "subscriptionId",
|
|
114
158
|
type: {
|
|
115
159
|
name: "String"
|
|
116
160
|
}
|
|
117
161
|
}
|
|
118
162
|
};
|
|
163
|
+
|
|
164
|
+
export const parameters3: OperationParameter = {
|
|
165
|
+
parameterPath: "parameters",
|
|
166
|
+
mapper: ApplicationDefinitionMapper
|
|
167
|
+
};
|