Skip to content

Commit f84a940

Browse files
authored
api-version 2022-11-01 orbital (#22080)
* first commit-2022-03-1 version copied as is and named 2022-11-01 * introduced new api-version changes * ran prettier check * updated default values * addressed comments * addressed comments and fix model validation error for contacts * fixed model validation * added description of the value field * added empty x-ms-identifier array for xms validation error * updated swagger specs as per sdk teams' ask * fixed description * addressed comments * added proxy type for available ground stations * removed x-ms-azure-resource as per comment * clearing the allOf tag for swagger lint error due to proxy resource being idenitified as tracked * updated to use common types definition of apiversionParameter * addressed comments * fixed description * fix date on example * fixed casing of enums * removing available ground stations point GET after confirming with the ARM team
1 parent 4b899f1 commit f84a940

22 files changed

+3590
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01",
4+
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
5+
"resourceGroupName": "contoso-Rgp",
6+
"spacecraftName": "CONTOSO_SAT",
7+
"parameters": {
8+
"contactProfile": {
9+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
10+
},
11+
"groundStationName": "EASTUS2_0",
12+
"startTime": "2022-11-01T11:30:00Z",
13+
"endTime": "2022-11-02T11:30:00Z"
14+
}
15+
},
16+
"responses": {
17+
"202": {
18+
"headers": {
19+
"Location": "https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01"
20+
}
21+
},
22+
"200": {
23+
"body": {
24+
"value": [
25+
{
26+
"spacecraft": {
27+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT"
28+
},
29+
"groundStationName": "EASTUS2_0",
30+
"properties": {
31+
"maximumElevationDegrees": 26.617297,
32+
"txStartTime": "2022-11-01T11:55:01Z",
33+
"txEndTime": "2022-11-01T12:05:25Z",
34+
"rxStartTime": "2022-11-01T11:55:01Z",
35+
"rxEndTime": "2022-11-01T12:05:25Z",
36+
"startAzimuthDegrees": 201.340472,
37+
"endAzimuthDegrees": 330.489627,
38+
"startElevationDegrees": 5.0,
39+
"endElevationDegrees": 5.040625
40+
}
41+
},
42+
{
43+
"spacecraft": {
44+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT"
45+
},
46+
"groundStationName": "EASTUS2_0",
47+
"properties": {
48+
"maximumElevationDegrees": 85.9796,
49+
"txStartTime": "2022-11-02T10:58:30Z",
50+
"txEndTime": "2022-11-02T11:10:45Z",
51+
"rxStartTime": "2022-11-02T10:58:30Z",
52+
"rxEndTime": "2022-11-02T11:10:45Z",
53+
"startAzimuthDegrees": 165.758896,
54+
"endAzimuthDegrees": 345.848482,
55+
"startElevationDegrees": 5.0,
56+
"endElevationDegrees": 5.048656
57+
}
58+
}
59+
],
60+
"nextLink": "https://management.azure.com/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/listAvailableContacts?api-version=2022-11-01&$skiptoken=opaqueString"
61+
}
62+
}
63+
}
64+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01",
4+
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
5+
"capability": "EarthObservation"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"location": "eastus2",
13+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/providers/Microsoft.Orbital/availableGroundStations/EASTUS2_0",
14+
"name": "EASTUS2_0",
15+
"type": "Microsoft.Orbital/availableGroundStations",
16+
"properties": {
17+
"city": "Atlanta",
18+
"providerName": "Microsoft",
19+
"longitudeDegrees": -84.39111,
20+
"latitudeDegrees": 33.74831,
21+
"altitudeMeters": 1641.0
22+
}
23+
},
24+
{
25+
"location": "eastus2",
26+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/providers/Microsoft.Orbital/availableGroundStations/EASTUS_1",
27+
"name": "EASTUS_1",
28+
"type": "Microsoft.Orbital/availableGroundStations",
29+
"properties": {
30+
"city": "Reston",
31+
"providerName": "Microsoft",
32+
"longitudeDegrees": -77.357002,
33+
"latitudeDegrees": 38.9586307,
34+
"altitudeMeters": 128.0
35+
}
36+
}
37+
],
38+
"nextLink": "string"
39+
}
40+
}
41+
}
42+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01",
4+
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
5+
"resourceGroupName": "contoso-Rgp",
6+
"contactName": "contact1",
7+
"spacecraftName": "CONTOSO_SAT",
8+
"parameters": {
9+
"properties": {
10+
"reservationStartTime": "2023-02-22T10:58:30Z",
11+
"reservationEndTime": "2023-02-22T11:10:45Z",
12+
"groundStationName": "EASTUS2_0",
13+
"contactProfile": {
14+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
15+
}
16+
}
17+
}
18+
},
19+
"responses": {
20+
"200": {
21+
"headers": {
22+
"Azure-AsyncOperation": "https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01"
23+
},
24+
"body": {
25+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/contacts/contact1",
26+
"name": "contact1",
27+
"type": "Microsoft.Orbital/spacecrafts/contacts",
28+
"properties": {
29+
"status": "scheduled",
30+
"reservationStartTime": "2023-02-22T10:58:30Z",
31+
"reservationEndTime": "2023-02-22T11:10:45Z",
32+
"errorMessage": null,
33+
"groundStationName": "EASTUS2_0",
34+
"contactProfile": {
35+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
36+
},
37+
"antennaConfiguration": null,
38+
"maximumElevationDegrees": 85.9796,
39+
"txStartTime": "2023-02-22T10:58:30Z",
40+
"txEndTime": "2023-02-22T11:10:45Z",
41+
"rxStartTime": "2023-02-22T10:58:30Z",
42+
"rxEndTime": "2023-02-22T11:10:45Z",
43+
"startAzimuthDegrees": 165.758896,
44+
"endAzimuthDegrees": 345.848482,
45+
"startElevationDegrees": 5.0,
46+
"endElevationDegrees": 5.048656
47+
}
48+
}
49+
},
50+
"201": {
51+
"headers": {
52+
"Azure-AsyncOperation": "https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01"
53+
},
54+
"body": {
55+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/contacts/contact1",
56+
"name": "contact1",
57+
"type": "Microsoft.Orbital/spacecrafts/contacts",
58+
"properties": {
59+
"status": "scheduled",
60+
"reservationStartTime": "2023-02-22T10:58:30Z",
61+
"reservationEndTime": "2023-02-22T11:10:45Z",
62+
"errorMessage": null,
63+
"groundStationName": "EASTUS2_0",
64+
"contactProfile": {
65+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
66+
},
67+
"antennaConfiguration": null,
68+
"maximumElevationDegrees": 0.0,
69+
"txStartTime": null,
70+
"txEndTime": null,
71+
"rxStartTime": null,
72+
"rxEndTime": null,
73+
"startAzimuthDegrees": 0.0,
74+
"endAzimuthDegrees": 0.0,
75+
"startElevationDegrees": 0.0,
76+
"endElevationDegrees": 0.0
77+
}
78+
}
79+
}
80+
}
81+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01",
4+
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
5+
"resourceGroupName": "contoso-Rgp",
6+
"spacecraftName": "CONTOSO_SAT",
7+
"contactName": "contact1"
8+
},
9+
"responses": {
10+
"200": {
11+
"headers": {
12+
"Location": "https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01"
13+
}
14+
},
15+
"202": {
16+
"headers": {
17+
"Location": "https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01"
18+
}
19+
},
20+
"204": {}
21+
}
22+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01",
4+
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
5+
"resourceGroupName": "contoso-Rgp",
6+
"spacecraftName": "CONTOSO_SAT",
7+
"contactName": "contact1"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/contacts/contact1",
13+
"name": "contact1",
14+
"type": "Microsoft.Orbital/spacecrafts/contacts",
15+
"properties": {
16+
"status": "scheduled",
17+
"provisioningState": "succeeded",
18+
"reservationStartTime": "2022-03-02T10:58:30Z",
19+
"reservationEndTime": "2022-03-02T11:10:45Z",
20+
"errorMessage": null,
21+
"groundStationName": "EASTUS2_0",
22+
"contactProfile": {
23+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
24+
},
25+
"antennaConfiguration": {
26+
"destinationIp": "10.1.1.171",
27+
"sourceIps": [
28+
"10.1.1.4",
29+
"10.1.1.5"
30+
]
31+
},
32+
"maximumElevationDegrees": 85.9796,
33+
"txStartTime": "2022-03-02T10:58:30Z",
34+
"txEndTime": "2022-03-02T11:10:45Z",
35+
"rxStartTime": "2022-03-02T10:58:30Z",
36+
"rxEndTime": "2022-03-02T11:10:45Z",
37+
"startAzimuthDegrees": 165.758896,
38+
"endAzimuthDegrees": 345.848482,
39+
"startElevationDegrees": 5.0,
40+
"endElevationDegrees": 5.048656
41+
}
42+
}
43+
}
44+
}
45+
}

0 commit comments

Comments
 (0)