@azure/arm-orbital 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 +5 -0
- package/LICENSE +21 -0
- package/README.md +98 -0
- package/dist/index.js +2783 -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/azureOrbital.d.ts +19 -0
- package/dist-esm/src/azureOrbital.d.ts.map +1 -0
- package/dist-esm/src/azureOrbital.js +26 -0
- package/dist-esm/src/azureOrbital.js.map +1 -0
- package/dist-esm/src/azureOrbitalContext.d.ts +16 -0
- package/dist-esm/src/azureOrbitalContext.d.ts.map +1 -0
- package/dist-esm/src/azureOrbitalContext.js +49 -0
- package/dist-esm/src/azureOrbitalContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +757 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +61 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +30 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1041 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +33 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +218 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/availableGroundStations.d.ts +41 -0
- package/dist-esm/src/operations/availableGroundStations.d.ts.map +1 -0
- package/dist-esm/src/operations/availableGroundStations.js +155 -0
- package/dist-esm/src/operations/availableGroundStations.js.map +1 -0
- package/dist-esm/src/operations/contactProfiles.d.ts +86 -0
- package/dist-esm/src/operations/contactProfiles.d.ts.map +1 -0
- package/dist-esm/src/operations/contactProfiles.js +392 -0
- package/dist-esm/src/operations/contactProfiles.js.map +1 -0
- package/dist-esm/src/operations/contacts.d.ts +73 -0
- package/dist-esm/src/operations/contacts.d.ts.map +1 -0
- package/dist-esm/src/operations/contacts.js +295 -0
- package/dist-esm/src/operations/contacts.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +6 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +13 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/spacecrafts.d.ts +108 -0
- package/dist-esm/src/operations/spacecrafts.d.ts.map +1 -0
- package/dist-esm/src/operations/spacecrafts.js +499 -0
- package/dist-esm/src/operations/spacecrafts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availableGroundStations.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/availableGroundStations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/availableGroundStations.js +9 -0
- package/dist-esm/src/operationsInterfaces/availableGroundStations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/contactProfiles.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/contactProfiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/contactProfiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/contactProfiles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/contacts.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/contacts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/contacts.js +9 -0
- package/dist-esm/src/operationsInterfaces/contacts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -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/spacecrafts.d.ts +85 -0
- package/dist-esm/src/operationsInterfaces/spacecrafts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/spacecrafts.js +9 -0
- package/dist-esm/src/operationsInterfaces/spacecrafts.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +92 -0
- package/review/arm-orbital.api.md +600 -0
- package/rollup.config.js +188 -0
- package/src/azureOrbital.ts +52 -0
- package/src/azureOrbitalContext.ts +70 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +853 -0
- package/src/models/mappers.ts +1111 -0
- package/src/models/parameters.ts +260 -0
- package/src/operations/availableGroundStations.ts +199 -0
- package/src/operations/contactProfiles.ts +510 -0
- package/src/operations/contacts.ts +412 -0
- package/src/operations/index.ts +13 -0
- package/src/operations/operations.ts +98 -0
- package/src/operations/spacecrafts.ts +669 -0
- package/src/operationsInterfaces/availableGroundStations.ts +39 -0
- package/src/operationsInterfaces/contactProfiles.ts +121 -0
- package/src/operationsInterfaces/contacts.ts +109 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/spacecrafts.ts +167 -0
- package/tsconfig.json +19 -0
- package/types/arm-orbital.d.ts +1097 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,392 @@
|
|
|
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing ContactProfiles operations. */
|
|
16
|
+
export class ContactProfilesImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class ContactProfiles class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns list of contact profiles
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listBySubscription(options) {
|
|
29
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listBySubscriptionPagingPage(options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listBySubscriptionPagingPage(options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._listBySubscription(options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
listBySubscriptionPagingAll(options) {
|
|
49
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
50
|
+
var e_1, _a;
|
|
51
|
+
try {
|
|
52
|
+
for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
53
|
+
const page = _c.value;
|
|
54
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
58
|
+
finally {
|
|
59
|
+
try {
|
|
60
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
61
|
+
}
|
|
62
|
+
finally { if (e_1) throw e_1.error; }
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns list of contact profiles
|
|
68
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
list(resourceGroupName, options) {
|
|
72
|
+
const iter = this.listPagingAll(resourceGroupName, options);
|
|
73
|
+
return {
|
|
74
|
+
next() {
|
|
75
|
+
return iter.next();
|
|
76
|
+
},
|
|
77
|
+
[Symbol.asyncIterator]() {
|
|
78
|
+
return this;
|
|
79
|
+
},
|
|
80
|
+
byPage: () => {
|
|
81
|
+
return this.listPagingPage(resourceGroupName, options);
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
listPagingPage(resourceGroupName, options) {
|
|
86
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
87
|
+
let result = yield __await(this._list(resourceGroupName, options));
|
|
88
|
+
yield yield __await(result.value || []);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
listPagingAll(resourceGroupName, options) {
|
|
92
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
93
|
+
var e_2, _a;
|
|
94
|
+
try {
|
|
95
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
96
|
+
const page = _c.value;
|
|
97
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
101
|
+
finally {
|
|
102
|
+
try {
|
|
103
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
104
|
+
}
|
|
105
|
+
finally { if (e_2) throw e_2.error; }
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Gets the specified contact Profile in a specified resource group
|
|
111
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
112
|
+
* @param contactProfileName Contact Profile Name
|
|
113
|
+
* @param options The options parameters.
|
|
114
|
+
*/
|
|
115
|
+
get(resourceGroupName, contactProfileName, options) {
|
|
116
|
+
return this.client.sendOperationRequest({ resourceGroupName, contactProfileName, options }, getOperationSpec);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Creates or updates a contact profile
|
|
120
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
121
|
+
* @param contactProfileName Contact Profile Name
|
|
122
|
+
* @param location The geo-location where the resource lives
|
|
123
|
+
* @param options The options parameters.
|
|
124
|
+
*/
|
|
125
|
+
beginCreateOrUpdate(resourceGroupName, contactProfileName, location, options) {
|
|
126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
128
|
+
return this.client.sendOperationRequest(args, spec);
|
|
129
|
+
});
|
|
130
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
131
|
+
var _a;
|
|
132
|
+
let currentRawResponse = undefined;
|
|
133
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
134
|
+
const callback = (rawResponse, flatResponse) => {
|
|
135
|
+
currentRawResponse = rawResponse;
|
|
136
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
137
|
+
};
|
|
138
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
139
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
140
|
+
return {
|
|
141
|
+
flatResponse,
|
|
142
|
+
rawResponse: {
|
|
143
|
+
statusCode: currentRawResponse.status,
|
|
144
|
+
body: currentRawResponse.parsedBody,
|
|
145
|
+
headers: currentRawResponse.headers.toJSON()
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
});
|
|
149
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, contactProfileName, location, options }, createOrUpdateOperationSpec);
|
|
150
|
+
return new LroEngine(lro, {
|
|
151
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
152
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
153
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
154
|
+
});
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Creates or updates a contact profile
|
|
159
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
160
|
+
* @param contactProfileName Contact Profile Name
|
|
161
|
+
* @param location The geo-location where the resource lives
|
|
162
|
+
* @param options The options parameters.
|
|
163
|
+
*/
|
|
164
|
+
beginCreateOrUpdateAndWait(resourceGroupName, contactProfileName, location, options) {
|
|
165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, contactProfileName, location, options);
|
|
167
|
+
return poller.pollUntilDone();
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Deletes a specified contact profile resource.
|
|
172
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
173
|
+
* @param contactProfileName Contact Profile Name
|
|
174
|
+
* @param options The options parameters.
|
|
175
|
+
*/
|
|
176
|
+
beginDelete(resourceGroupName, contactProfileName, options) {
|
|
177
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
178
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
179
|
+
return this.client.sendOperationRequest(args, spec);
|
|
180
|
+
});
|
|
181
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
var _a;
|
|
183
|
+
let currentRawResponse = undefined;
|
|
184
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
185
|
+
const callback = (rawResponse, flatResponse) => {
|
|
186
|
+
currentRawResponse = rawResponse;
|
|
187
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
188
|
+
};
|
|
189
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
190
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
191
|
+
return {
|
|
192
|
+
flatResponse,
|
|
193
|
+
rawResponse: {
|
|
194
|
+
statusCode: currentRawResponse.status,
|
|
195
|
+
body: currentRawResponse.parsedBody,
|
|
196
|
+
headers: currentRawResponse.headers.toJSON()
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
});
|
|
200
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, contactProfileName, options }, deleteOperationSpec);
|
|
201
|
+
return new LroEngine(lro, {
|
|
202
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
203
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
204
|
+
lroResourceLocationConfig: "location"
|
|
205
|
+
});
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Deletes a specified contact profile resource.
|
|
210
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
211
|
+
* @param contactProfileName Contact Profile Name
|
|
212
|
+
* @param options The options parameters.
|
|
213
|
+
*/
|
|
214
|
+
beginDeleteAndWait(resourceGroupName, contactProfileName, options) {
|
|
215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
216
|
+
const poller = yield this.beginDelete(resourceGroupName, contactProfileName, options);
|
|
217
|
+
return poller.pollUntilDone();
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Updates the specified contact profile tags.
|
|
222
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
223
|
+
* @param contactProfileName Contact Profile Name
|
|
224
|
+
* @param parameters Parameters supplied to update contact profile tags.
|
|
225
|
+
* @param options The options parameters.
|
|
226
|
+
*/
|
|
227
|
+
updateTags(resourceGroupName, contactProfileName, parameters, options) {
|
|
228
|
+
return this.client.sendOperationRequest({ resourceGroupName, contactProfileName, parameters, options }, updateTagsOperationSpec);
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Returns list of contact profiles
|
|
232
|
+
* @param options The options parameters.
|
|
233
|
+
*/
|
|
234
|
+
_listBySubscription(options) {
|
|
235
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Returns list of contact profiles
|
|
239
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
240
|
+
* @param options The options parameters.
|
|
241
|
+
*/
|
|
242
|
+
_list(resourceGroupName, options) {
|
|
243
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
// Operation Specifications
|
|
247
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
248
|
+
const getOperationSpec = {
|
|
249
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}",
|
|
250
|
+
httpMethod: "GET",
|
|
251
|
+
responses: {
|
|
252
|
+
200: {
|
|
253
|
+
bodyMapper: Mappers.ContactProfile
|
|
254
|
+
},
|
|
255
|
+
default: {
|
|
256
|
+
bodyMapper: Mappers.CloudError
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
queryParameters: [Parameters.apiVersion],
|
|
260
|
+
urlParameters: [
|
|
261
|
+
Parameters.$host,
|
|
262
|
+
Parameters.subscriptionId,
|
|
263
|
+
Parameters.resourceGroupName,
|
|
264
|
+
Parameters.contactProfileName
|
|
265
|
+
],
|
|
266
|
+
headerParameters: [Parameters.accept],
|
|
267
|
+
serializer
|
|
268
|
+
};
|
|
269
|
+
const createOrUpdateOperationSpec = {
|
|
270
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}",
|
|
271
|
+
httpMethod: "PUT",
|
|
272
|
+
responses: {
|
|
273
|
+
200: {
|
|
274
|
+
bodyMapper: Mappers.ContactProfile
|
|
275
|
+
},
|
|
276
|
+
201: {
|
|
277
|
+
bodyMapper: Mappers.ContactProfile
|
|
278
|
+
},
|
|
279
|
+
202: {
|
|
280
|
+
bodyMapper: Mappers.ContactProfile
|
|
281
|
+
},
|
|
282
|
+
204: {
|
|
283
|
+
bodyMapper: Mappers.ContactProfile
|
|
284
|
+
},
|
|
285
|
+
default: {
|
|
286
|
+
bodyMapper: Mappers.CloudError
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
requestBody: {
|
|
290
|
+
parameterPath: {
|
|
291
|
+
tags: ["options", "tags"],
|
|
292
|
+
location: ["location"],
|
|
293
|
+
minimumViableContactDuration: ["options", "minimumViableContactDuration"],
|
|
294
|
+
minimumElevationDegrees: ["options", "minimumElevationDegrees"],
|
|
295
|
+
autoTrackingConfiguration: ["options", "autoTrackingConfiguration"],
|
|
296
|
+
links: ["options", "links"]
|
|
297
|
+
},
|
|
298
|
+
mapper: Object.assign(Object.assign({}, Mappers.ContactProfile), { required: true })
|
|
299
|
+
},
|
|
300
|
+
queryParameters: [Parameters.apiVersion],
|
|
301
|
+
urlParameters: [
|
|
302
|
+
Parameters.$host,
|
|
303
|
+
Parameters.subscriptionId,
|
|
304
|
+
Parameters.resourceGroupName,
|
|
305
|
+
Parameters.contactProfileName
|
|
306
|
+
],
|
|
307
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
308
|
+
mediaType: "json",
|
|
309
|
+
serializer
|
|
310
|
+
};
|
|
311
|
+
const deleteOperationSpec = {
|
|
312
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}",
|
|
313
|
+
httpMethod: "DELETE",
|
|
314
|
+
responses: {
|
|
315
|
+
200: {},
|
|
316
|
+
201: {},
|
|
317
|
+
202: {},
|
|
318
|
+
204: {},
|
|
319
|
+
default: {
|
|
320
|
+
bodyMapper: Mappers.CloudError
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
queryParameters: [Parameters.apiVersion],
|
|
324
|
+
urlParameters: [
|
|
325
|
+
Parameters.$host,
|
|
326
|
+
Parameters.subscriptionId,
|
|
327
|
+
Parameters.resourceGroupName,
|
|
328
|
+
Parameters.contactProfileName
|
|
329
|
+
],
|
|
330
|
+
headerParameters: [Parameters.accept],
|
|
331
|
+
serializer
|
|
332
|
+
};
|
|
333
|
+
const updateTagsOperationSpec = {
|
|
334
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}",
|
|
335
|
+
httpMethod: "PATCH",
|
|
336
|
+
responses: {
|
|
337
|
+
200: {
|
|
338
|
+
bodyMapper: Mappers.ContactProfile
|
|
339
|
+
},
|
|
340
|
+
default: {
|
|
341
|
+
bodyMapper: Mappers.CloudError
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
requestBody: Parameters.parameters1,
|
|
345
|
+
queryParameters: [Parameters.apiVersion],
|
|
346
|
+
urlParameters: [
|
|
347
|
+
Parameters.$host,
|
|
348
|
+
Parameters.subscriptionId,
|
|
349
|
+
Parameters.resourceGroupName,
|
|
350
|
+
Parameters.contactProfileName
|
|
351
|
+
],
|
|
352
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
353
|
+
mediaType: "json",
|
|
354
|
+
serializer
|
|
355
|
+
};
|
|
356
|
+
const listBySubscriptionOperationSpec = {
|
|
357
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Orbital/contactProfiles",
|
|
358
|
+
httpMethod: "GET",
|
|
359
|
+
responses: {
|
|
360
|
+
200: {
|
|
361
|
+
bodyMapper: Mappers.ContactProfileListResult
|
|
362
|
+
},
|
|
363
|
+
default: {
|
|
364
|
+
bodyMapper: Mappers.CloudError
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
queryParameters: [Parameters.apiVersion],
|
|
368
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
369
|
+
headerParameters: [Parameters.accept],
|
|
370
|
+
serializer
|
|
371
|
+
};
|
|
372
|
+
const listOperationSpec = {
|
|
373
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles",
|
|
374
|
+
httpMethod: "GET",
|
|
375
|
+
responses: {
|
|
376
|
+
200: {
|
|
377
|
+
bodyMapper: Mappers.ContactProfileListResult
|
|
378
|
+
},
|
|
379
|
+
default: {
|
|
380
|
+
bodyMapper: Mappers.CloudError
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
queryParameters: [Parameters.apiVersion],
|
|
384
|
+
urlParameters: [
|
|
385
|
+
Parameters.$host,
|
|
386
|
+
Parameters.subscriptionId,
|
|
387
|
+
Parameters.resourceGroupName
|
|
388
|
+
],
|
|
389
|
+
headerParameters: [Parameters.accept],
|
|
390
|
+
serializer
|
|
391
|
+
};
|
|
392
|
+
//# sourceMappingURL=contactProfiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contactProfiles.js","sourceRoot":"","sources":["../../../src/operations/contactProfiles.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAiBrC,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC;YACpD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,4BAA4B,CACzC,OAAyD;;YAEzD,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAA,CAAC;YACrD,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,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UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Contacts } from "../operationsInterfaces";
|
|
3
|
+
import { AzureOrbitalContext } from "../azureOrbitalContext";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { Contact, ContactsListOptionalParams, ContactsGetOptionalParams, ContactsGetResponse, ContactsCreateOptionalParams, ContactsCreateResponse, ContactsDeleteOptionalParams } from "../models";
|
|
6
|
+
/** Class containing Contacts operations. */
|
|
7
|
+
export declare class ContactsImpl implements Contacts {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class Contacts class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: AzureOrbitalContext);
|
|
14
|
+
/**
|
|
15
|
+
* Returns list of contacts by spacecraftName
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param spacecraftName Spacecraft ID
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(resourceGroupName: string, spacecraftName: string, options?: ContactsListOptionalParams): PagedAsyncIterableIterator<Contact>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Returns list of contacts by spacecraftName
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param spacecraftName Spacecraft ID
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _list;
|
|
30
|
+
/**
|
|
31
|
+
* Gets the specified contact in a specified resource group
|
|
32
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
+
* @param spacecraftName Spacecraft ID
|
|
34
|
+
* @param contactName Contact Name
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
get(resourceGroupName: string, spacecraftName: string, contactName: string, options?: ContactsGetOptionalParams): Promise<ContactsGetResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Creates a contact.
|
|
40
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
41
|
+
* @param spacecraftName Spacecraft ID
|
|
42
|
+
* @param contactName Contact Name
|
|
43
|
+
* @param parameters The parameters to provide for the created contact.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginCreate(resourceGroupName: string, spacecraftName: string, contactName: string, parameters: Contact, options?: ContactsCreateOptionalParams): Promise<PollerLike<PollOperationState<ContactsCreateResponse>, ContactsCreateResponse>>;
|
|
47
|
+
/**
|
|
48
|
+
* Creates a contact.
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
|
+
* @param spacecraftName Spacecraft ID
|
|
51
|
+
* @param contactName Contact Name
|
|
52
|
+
* @param parameters The parameters to provide for the created contact.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
beginCreateAndWait(resourceGroupName: string, spacecraftName: string, contactName: string, parameters: Contact, options?: ContactsCreateOptionalParams): Promise<ContactsCreateResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Deletes a specified contact
|
|
58
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
|
+
* @param spacecraftName Spacecraft ID
|
|
60
|
+
* @param contactName Contact Name
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginDelete(resourceGroupName: string, spacecraftName: string, contactName: string, options?: ContactsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
64
|
+
/**
|
|
65
|
+
* Deletes a specified contact
|
|
66
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
|
+
* @param spacecraftName Spacecraft ID
|
|
68
|
+
* @param contactName Contact Name
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
beginDeleteAndWait(resourceGroupName: string, spacecraftName: string, contactName: string, options?: ContactsDeleteOptionalParams): Promise<void>;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=contacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../../src/operations/contacts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,OAAO,EACP,0BAA0B,EAE1B,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC7B,MAAM,WAAW,CAAC;AAGnB,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C;;;OAGG;gBACS,MAAM,EAAE,mBAAmB;IAIvC;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,OAAO,CAAC;YAevB,cAAc;YASd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,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