Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
72685f0
first commit-2022-03-1 version copied as is and named 2022-11-01
stuti-1807 Jan 5, 2023
3165dd4
introduced new api-version changes
stuti-1807 Jan 5, 2023
e3dd9cb
ran prettier check
stuti-1807 Jan 5, 2023
24da405
updated default values
stuti-1807 Jan 9, 2023
b5c4f3e
addressed comments
stuti-1807 Jan 11, 2023
d435156
addressed comments and fix model validation error for contacts
stuti-1807 Jan 11, 2023
2448223
fixed model validation
stuti-1807 Jan 11, 2023
aac8f92
added description of the value field
stuti-1807 Jan 11, 2023
06fca79
added empty x-ms-identifier array for xms validation error
stuti-1807 Jan 12, 2023
fe48c27
updated swagger specs as per sdk teams' ask
stuti-1807 Jan 12, 2023
4c86906
fixed description
stuti-1807 Jan 12, 2023
bed370b
addressed comments
stuti-1807 Jan 12, 2023
c966f3d
added proxy type for available ground stations
stuti-1807 Jan 17, 2023
66a5a93
removed x-ms-azure-resource as per comment
stuti-1807 Jan 17, 2023
221c601
clearing the allOf tag for swagger lint error due to proxy resource b…
stuti-1807 Jan 25, 2023
c0d9f4a
updated to use common types definition of apiversionParameter
stuti-1807 Jan 25, 2023
5571167
addressed comments
stuti-1807 Jan 26, 2023
a5b42c3
fixed description
stuti-1807 Jan 30, 2023
91a0131
fix date on example
stuti-1807 Feb 14, 2023
a937d49
fixed casing of enums
stuti-1807 Feb 14, 2023
454bba9
removing available ground stations point GET after confirming with th…
stuti-1807 Mar 1, 2023
8100942
Merge branch 'main' of https://github.com/stuti-1807/azure-rest-api-s…
stuti-1807 Mar 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"parameters": {
"api-version": "2022-11-01",
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
"resourceGroupName": "contoso-Rgp",
"spacecraftName": "CONTOSO_SAT",
"parameters": {
"contactProfile": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
},
"groundStationName": "EASTUS2_0",
"startTime": "2022-11-01T11:30:00Z",
"endTime": "2022-03-02T11:30:00Z"
}
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01"
}
},
"200": {
"body": {
"value": [
{
"spacecraft": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT"
},
"groundStationName": "EASTUS2_0",
"properties": {
"maximumElevationDegrees": 26.617297,
"txStartTime": "2022-11-01T11:55:01Z",
"txEndTime": "2022-11-01T12:05:25Z",
"rxStartTime": "2022-11-01T11:55:01Z",
"rxEndTime": "2022-11-01T12:05:25Z",
"startAzimuthDegrees": 201.340472,
"endAzimuthDegrees": 330.489627,
"startElevationDegrees": 5.0,
"endElevationDegrees": 5.040625
}
},
{
"spacecraft": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT"
},
"groundStationName": "EASTUS2_0",
"properties": {
"maximumElevationDegrees": 85.9796,
"txStartTime": "2022-11-02T10:58:30Z",
"txEndTime": "2022-11-02T11:10:45Z",
"rxStartTime": "2022-11-02T10:58:30Z",
"rxEndTime": "2022-11-02T11:10:45Z",
"startAzimuthDegrees": 165.758896,
"endAzimuthDegrees": 345.848482,
"startElevationDegrees": 5.0,
"endElevationDegrees": 5.048656
}
}
],
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2022-11-01",
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
"groundStationName": "EASTUS2_0"
},
"responses": {
"200": {
"body": {
"location": "eastus2",
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/providers/Microsoft.Orbital/availableGroundStations/EASTUS2_0",
"name": "EASTUS2_0",
"type": "Microsoft.Orbital/availableGroundStations",
"properties": {
"city": "Atlanta",
"providerName": "Microsoft",
"longitudeDegrees": -84.39111,
"latitudeDegrees": 33.74831,
"altitudeMeters": 1641.0
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"api-version": "2022-11-01",
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
"capability": "EarthObservation"
},
"responses": {
"200": {
"body": {
"value": [
{
"location": "eastus2",
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/providers/Microsoft.Orbital/availableGroundStations/EASTUS2_0",
"name": "EASTUS2_0",
"type": "Microsoft.Orbital/availableGroundStations",
"properties": {
"city": "Atlanta",
"providerName": "Microsoft",
"longitudeDegrees": -84.39111,
"latitudeDegrees": 33.74831,
"altitudeMeters": 1641.0
}
},
{
"location": "eastus2",
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/providers/Microsoft.Orbital/availableGroundStations/EASTUS_1",
"name": "EASTUS_1",
"type": "Microsoft.Orbital/availableGroundStations",
"properties": {
"city": "Reston",
"providerName": "Microsoft",
"longitudeDegrees": -77.357002,
"latitudeDegrees": 38.9586307,
"altitudeMeters": 128.0
}
}
],
"nextLink": "string"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"parameters": {
"api-version": "2022-11-01",
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
"resourceGroupName": "contoso-Rgp",
"contactName": "contact1",
"spacecraftName": "CONTOSO_SAT",
"parameters": {
"properties": {
"reservationStartTime": "2022-03-02T10:58:30Z",
"reservationEndTime": "2022-03-02T11:10:45Z",
"groundStationName": "EASTUS2_0",
"contactProfile": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
}
}
}
},
"responses": {
"200": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01"
},
"body": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/contacts/contact1",
"name": "contact1",
"type": "Microsoft.Orbital/spacecrafts/contacts",
"properties": {
"status": "scheduled",
"reservationStartTime": "2022-03-02T10:58:30Z",
"reservationEndTime": "2022-03-02T11:10:45Z",
"errorMessage": null,
"groundStationName": "EASTUS2_0",
"contactProfile": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
},
"antennaConfiguration": null,
"maximumElevationDegrees": 85.9796,
"txStartTime": "2022-03-02T10:58:30Z",
"txEndTime": "2022-03-02T11:10:45Z",
"rxStartTime": "2022-03-02T10:58:30Z",
"rxEndTime": "2022-03-02T11:10:45Z",
"startAzimuthDegrees": 165.758896,
"endAzimuthDegrees": 345.848482,
"startElevationDegrees": 5.0,
"endElevationDegrees": 5.048656
}
}
},
"201": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01"
},
"body": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/contacts/contact1",
"name": "contact1",
"type": "Microsoft.Orbital/spacecrafts/contacts",
"properties": {
"status": "scheduled",
"reservationStartTime": "2022-03-02T10:58:30Z",
"reservationEndTime": "2022-03-02T11:10:45Z",
"errorMessage": null,
"groundStationName": "EASTUS2_0",
"contactProfile": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
},
"antennaConfiguration": null,
"maximumElevationDegrees": 0.0,
"txStartTime": null,
"txEndTime": null,
"rxStartTime": null,
"rxEndTime": null,
"startAzimuthDegrees": 0.0,
"endAzimuthDegrees": 0.0,
"startElevationDegrees": 0.0,
"endElevationDegrees": 0.0
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2022-11-01",
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
"resourceGroupName": "contoso-Rgp",
"spacecraftName": "CONTOSO_SAT",
"contactName": "contact1"
},
"responses": {
"200": {
"headers": {
"Location": "https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01"
}
},
"202": {
"headers": {
"Location": "https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"api-version": "2022-11-01",
"subscriptionId": "c1be1141-a7c9-4aac-9608-3c2e2f1152c3",
"resourceGroupName": "contoso-Rgp",
"spacecraftName": "CONTOSO_SAT",
"contactName": "contact1"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/contacts/contact1",
"name": "contact1",
"type": "Microsoft.Orbital/spacecrafts/contacts",
"properties": {
"status": "scheduled",
"provisioningState": "Succeeded",
"reservationStartTime": "2022-03-02T10:58:30Z",
"reservationEndTime": "2022-03-02T11:10:45Z",
"errorMessage": null,
"groundStationName": "EASTUS2_0",
"contactProfile": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
},
"antennaConfiguration": {
"destinationIp": "10.1.1.171",
"sourceIps": [
"10.1.1.4",
"10.1.1.5"
]
},
"maximumElevationDegrees": 85.9796,
"txStartTime": "2022-03-02T10:58:30Z",
"txEndTime": "2022-03-02T11:10:45Z",
"rxStartTime": "2022-03-02T10:58:30Z",
"rxEndTime": "2022-03-02T11:10:45Z",
"startAzimuthDegrees": 165.758896,
"endAzimuthDegrees": 345.848482,
"startElevationDegrees": 5.0,
"endElevationDegrees": 5.048656
}
}
}
}
}
Loading