diff --git a/sdk/orbital/azure-resourcemanager-orbital/CHANGELOG.md b/sdk/orbital/azure-resourcemanager-orbital/CHANGELOG.md
index 2f0af9811b7b..f0d63f927780 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/CHANGELOG.md
+++ b/sdk/orbital/azure-resourcemanager-orbital/CHANGELOG.md
@@ -1,6 +1,8 @@
# Release History
-## 1.0.0-beta.2 (Unreleased)
+## 1.0.0-beta.1 (2023-03-02)
+
+- Azure Resource Manager orbital client library for Java. This package contains Microsoft Azure SDK for orbital Management SDK. Azure Orbital service. Package tag package-2022-11-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Features Added
diff --git a/sdk/orbital/azure-resourcemanager-orbital/README.md b/sdk/orbital/azure-resourcemanager-orbital/README.md
index 1d3f9bfe894f..f48920bbdbbf 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/README.md
+++ b/sdk/orbital/azure-resourcemanager-orbital/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager orbital client library for Java.
-This package contains Microsoft Azure SDK for orbital Management SDK. Azure Orbital service. Package tag package-2022-03-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for orbital Management SDK. Azure Orbital service. Package tag package-2022-11-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanagerazure-resourcemanager-orbital
- 1.0.0-beta.1
+ 1.0.0-beta.2
```
[//]: # ({x-version-update-end})
@@ -41,19 +41,19 @@ Various documentation is available to help you get started
Azure Management Libraries require a `TokenCredential` implementation for authentication and an `HttpClient` implementation for HTTP client.
-[Azure Identity][azure_identity] package and [Azure Core Netty HTTP][azure_core_http_netty] package provide the default implementation.
+[Azure Identity][azure_identity] and [Azure Core Netty HTTP][azure_core_http_netty] packages provide the default implementation.
### Authentication
-By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
+By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.
- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
-In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
+In addition, Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.
-With above configuration, `azure` client can be authenticated by following code:
+With above configuration, `azure` client can be authenticated using the following code:
```java
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
@@ -83,13 +83,13 @@ See [API design][design] for general introduction on design and key concepts on
## Contributing
-For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md).
+For details on contributing to this repository, see the [contributing guide][cg].
-1. Fork it
-1. Create your feature branch (`git checkout -b my-new-feature`)
-1. Commit your changes (`git commit -am 'Add some feature'`)
-1. Push to the branch (`git push origin my-new-feature`)
-1. Create new Pull Request
+This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit .
+
+When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
+
+This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For more information see the [Code of Conduct FAQ][coc_faq] or contact with any additional questions or comments.
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
@@ -100,3 +100,6 @@ For details on contributing to this repository, see the [contributing guide](htt
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
+[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
+[coc]: https://opensource.microsoft.com/codeofconduct/
+[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
diff --git a/sdk/orbital/azure-resourcemanager-orbital/SAMPLE.md b/sdk/orbital/azure-resourcemanager-orbital/SAMPLE.md
index f1686511b593..3f3659cd710d 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/SAMPLE.md
+++ b/sdk/orbital/azure-resourcemanager-orbital/SAMPLE.md
@@ -3,7 +3,6 @@
## AvailableGroundStations
-- [Get](#availablegroundstations_get)
- [List](#availablegroundstations_list)
## ContactProfiles
@@ -39,37 +38,15 @@
- [ListAvailableContacts](#spacecrafts_listavailablecontacts)
- [ListByResourceGroup](#spacecrafts_listbyresourcegroup)
- [UpdateTags](#spacecrafts_updatetags)
-### AvailableGroundStations_Get
-
-```java
-import com.azure.core.util.Context;
-
-/** Samples for AvailableGroundStations Get. */
-public final class AvailableGroundStationsGetSamples {
- /*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/AvailableGroundStationGet.json
- */
- /**
- * Sample code: Get GroundStation.
- *
- * @param manager Entry point to OrbitalManager.
- */
- public static void getGroundStation(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.availableGroundStations().getWithResponse("EASTUS2_0", Context.NONE);
- }
-}
-```
-
### AvailableGroundStations_List
```java
-import com.azure.core.util.Context;
import com.azure.resourcemanager.orbital.models.CapabilityParameter;
/** Samples for AvailableGroundStations List. */
public final class AvailableGroundStationsListSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/AvailableGroundStationsByCapabilityList.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/AvailableGroundStationsByCapabilityList.json
*/
/**
* Sample code: List of Ground Stations by Capability.
@@ -77,7 +54,7 @@ public final class AvailableGroundStationsListSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void listOfGroundStationsByCapability(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.availableGroundStations().list(CapabilityParameter.EARTH_OBSERVATION, Context.NONE);
+ manager.availableGroundStations().list(CapabilityParameter.EARTH_OBSERVATION, com.azure.core.util.Context.NONE);
}
}
```
@@ -85,10 +62,21 @@ public final class AvailableGroundStationsListSamples {
### ContactProfiles_CreateOrUpdate
```java
+import com.azure.resourcemanager.orbital.models.AutoTrackingConfiguration;
+import com.azure.resourcemanager.orbital.models.ContactProfileLink;
+import com.azure.resourcemanager.orbital.models.ContactProfileLinkChannel;
+import com.azure.resourcemanager.orbital.models.ContactProfileThirdPartyConfiguration;
+import com.azure.resourcemanager.orbital.models.ContactProfilesPropertiesNetworkConfiguration;
+import com.azure.resourcemanager.orbital.models.Direction;
+import com.azure.resourcemanager.orbital.models.EndPoint;
+import com.azure.resourcemanager.orbital.models.Polarization;
+import com.azure.resourcemanager.orbital.models.Protocol;
+import java.util.Arrays;
+
/** Samples for ContactProfiles CreateOrUpdate. */
public final class ContactProfilesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileCreate.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/ContactProfileCreate.json
*/
/**
* Sample code: Create a contact profile.
@@ -101,6 +89,65 @@ public final class ContactProfilesCreateOrUpdateSamples {
.define("CONTOSO-CP")
.withRegion("eastus2")
.withExistingResourceGroup("contoso-Rgp")
+ .withNetworkConfiguration(
+ new ContactProfilesPropertiesNetworkConfiguration()
+ .withSubnetId(
+ "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Network/virtualNetworks/contoso-vnet/subnets/orbital-delegated-subnet"))
+ .withLinks(
+ Arrays
+ .asList(
+ new ContactProfileLink()
+ .withName("contoso-uplink")
+ .withPolarization(Polarization.LHCP)
+ .withDirection(Direction.UPLINK)
+ .withGainOverTemperature(0.0F)
+ .withEirpdBW(45.0F)
+ .withChannels(
+ Arrays
+ .asList(
+ new ContactProfileLinkChannel()
+ .withName("contoso-uplink-channel")
+ .withCenterFrequencyMHz(2250f)
+ .withBandwidthMHz(2f)
+ .withEndPoint(
+ new EndPoint()
+ .withIpAddress("10.1.0.4")
+ .withEndPointName("ContosoTest_Uplink")
+ .withPort("50000")
+ .withProtocol(Protocol.TCP)))),
+ new ContactProfileLink()
+ .withName("contoso-downlink")
+ .withPolarization(Polarization.RHCP)
+ .withDirection(Direction.DOWNLINK)
+ .withGainOverTemperature(25.0F)
+ .withEirpdBW(0.0F)
+ .withChannels(
+ Arrays
+ .asList(
+ new ContactProfileLinkChannel()
+ .withName("contoso-downlink-channel")
+ .withCenterFrequencyMHz(8160f)
+ .withBandwidthMHz(15f)
+ .withEndPoint(
+ new EndPoint()
+ .withIpAddress("10.1.0.5")
+ .withEndPointName("ContosoTest_Downlink")
+ .withPort("50001")
+ .withProtocol(Protocol.UDP))))))
+ .withMinimumViableContactDuration("PT1M")
+ .withMinimumElevationDegrees(5.0F)
+ .withAutoTrackingConfiguration(AutoTrackingConfiguration.DISABLED)
+ .withEventHubUri(
+ "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.EventHub/namespaces/contosoHub/eventhubs/contosoHub")
+ .withThirdPartyConfigurations(
+ Arrays
+ .asList(
+ new ContactProfileThirdPartyConfiguration()
+ .withProviderName("KSAT")
+ .withMissionConfiguration("Ksat_MissionConfiguration"),
+ new ContactProfileThirdPartyConfiguration()
+ .withProviderName("VIASAT")
+ .withMissionConfiguration("Viasat_Configuration")))
.create();
}
}
@@ -109,12 +156,10 @@ public final class ContactProfilesCreateOrUpdateSamples {
### ContactProfiles_Delete
```java
-import com.azure.core.util.Context;
-
/** Samples for ContactProfiles Delete. */
public final class ContactProfilesDeleteSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileDelete.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/ContactProfileDelete.json
*/
/**
* Sample code: Delete Contact Profile.
@@ -122,7 +167,7 @@ public final class ContactProfilesDeleteSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void deleteContactProfile(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.contactProfiles().delete("contoso-Rgp", "CONTOSO-CP", Context.NONE);
+ manager.contactProfiles().delete("contoso-Rgp", "CONTOSO-CP", com.azure.core.util.Context.NONE);
}
}
```
@@ -130,12 +175,10 @@ public final class ContactProfilesDeleteSamples {
### ContactProfiles_GetByResourceGroup
```java
-import com.azure.core.util.Context;
-
/** Samples for ContactProfiles GetByResourceGroup. */
public final class ContactProfilesGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileGet.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/ContactProfileGet.json
*/
/**
* Sample code: Get a contact profile.
@@ -143,7 +186,9 @@ public final class ContactProfilesGetByResourceGroupSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void getAContactProfile(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.contactProfiles().getByResourceGroupWithResponse("contoso-Rgp", "CONTOSO-CP", Context.NONE);
+ manager
+ .contactProfiles()
+ .getByResourceGroupWithResponse("contoso-Rgp", "CONTOSO-CP", com.azure.core.util.Context.NONE);
}
}
```
@@ -151,12 +196,10 @@ public final class ContactProfilesGetByResourceGroupSamples {
### ContactProfiles_List
```java
-import com.azure.core.util.Context;
-
/** Samples for ContactProfiles List. */
public final class ContactProfilesListSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfilesBySubscriptionList.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/ContactProfilesBySubscriptionList.json
*/
/**
* Sample code: List of Contact Profiles.
@@ -164,7 +207,7 @@ public final class ContactProfilesListSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void listOfContactProfiles(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.contactProfiles().list("opaqueString", Context.NONE);
+ manager.contactProfiles().list("opaqueString", com.azure.core.util.Context.NONE);
}
}
```
@@ -172,12 +215,10 @@ public final class ContactProfilesListSamples {
### ContactProfiles_ListByResourceGroup
```java
-import com.azure.core.util.Context;
-
/** Samples for ContactProfiles ListByResourceGroup. */
public final class ContactProfilesListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfilesByResourceGroupList.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/ContactProfilesByResourceGroupList.json
*/
/**
* Sample code: List of Contact Profiles by Resource Group.
@@ -185,7 +226,7 @@ public final class ContactProfilesListByResourceGroupSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void listOfContactProfilesByResourceGroup(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.contactProfiles().listByResourceGroup("contoso-Rgp", "opaqueString", Context.NONE);
+ manager.contactProfiles().listByResourceGroup("contoso-Rgp", "opaqueString", com.azure.core.util.Context.NONE);
}
}
```
@@ -193,7 +234,6 @@ public final class ContactProfilesListByResourceGroupSamples {
### ContactProfiles_UpdateTags
```java
-import com.azure.core.util.Context;
import com.azure.resourcemanager.orbital.models.ContactProfile;
import java.util.HashMap;
import java.util.Map;
@@ -201,7 +241,7 @@ import java.util.Map;
/** Samples for ContactProfiles UpdateTags. */
public final class ContactProfilesUpdateTagsSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileUpdateTag.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/ContactProfileUpdateTag.json
*/
/**
* Sample code: Update Contact Profile tags.
@@ -212,7 +252,7 @@ public final class ContactProfilesUpdateTagsSamples {
ContactProfile resource =
manager
.contactProfiles()
- .getByResourceGroupWithResponse("contoso-Rgp", "CONTOSO-CP", Context.NONE)
+ .getByResourceGroupWithResponse("contoso-Rgp", "CONTOSO-CP", com.azure.core.util.Context.NONE)
.getValue();
resource.update().withTags(mapOf("tag1", "value1", "tag2", "value2")).apply();
}
@@ -239,7 +279,7 @@ import java.time.OffsetDateTime;
/** Samples for Contacts Create. */
public final class ContactsCreateSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactCreate.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/ContactCreate.json
*/
/**
* Sample code: Create a contact.
@@ -251,8 +291,8 @@ public final class ContactsCreateSamples {
.contacts()
.define("contact1")
.withExistingSpacecraft("contoso-Rgp", "CONTOSO_SAT")
- .withReservationStartTime(OffsetDateTime.parse("2022-03-02T10:58:30Z"))
- .withReservationEndTime(OffsetDateTime.parse("2022-03-02T11:10:45Z"))
+ .withReservationStartTime(OffsetDateTime.parse("2023-02-22T10:58:30Z"))
+ .withReservationEndTime(OffsetDateTime.parse("2023-02-22T11:10:45Z"))
.withGroundStationName("EASTUS2_0")
.withContactProfile(
new ContactsPropertiesContactProfile()
@@ -266,12 +306,10 @@ public final class ContactsCreateSamples {
### Contacts_Delete
```java
-import com.azure.core.util.Context;
-
/** Samples for Contacts Delete. */
public final class ContactsDeleteSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactDelete.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/ContactDelete.json
*/
/**
* Sample code: Delete Contact.
@@ -279,7 +317,7 @@ public final class ContactsDeleteSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void deleteContact(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.contacts().delete("contoso-Rgp", "CONTOSO_SAT", "contact1", Context.NONE);
+ manager.contacts().delete("contoso-Rgp", "CONTOSO_SAT", "contact1", com.azure.core.util.Context.NONE);
}
}
```
@@ -287,12 +325,10 @@ public final class ContactsDeleteSamples {
### Contacts_Get
```java
-import com.azure.core.util.Context;
-
/** Samples for Contacts Get. */
public final class ContactsGetSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactGet.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/ContactGet.json
*/
/**
* Sample code: Get Contact.
@@ -300,7 +336,7 @@ public final class ContactsGetSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void getContact(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.contacts().getWithResponse("contoso-Rgp", "CONTOSO_SAT", "contact1", Context.NONE);
+ manager.contacts().getWithResponse("contoso-Rgp", "CONTOSO_SAT", "contact1", com.azure.core.util.Context.NONE);
}
}
```
@@ -308,12 +344,10 @@ public final class ContactsGetSamples {
### Contacts_List
```java
-import com.azure.core.util.Context;
-
/** Samples for Contacts List. */
public final class ContactsListSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactsBySpacecraftNameList.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/ContactsBySpacecraftNameList.json
*/
/**
* Sample code: List of Spacecraft.
@@ -321,7 +355,7 @@ public final class ContactsListSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void listOfSpacecraft(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.contacts().list("contoso-Rgp", "CONTOSO_SAT", "opaqueString", Context.NONE);
+ manager.contacts().list("contoso-Rgp", "CONTOSO_SAT", "opaqueString", com.azure.core.util.Context.NONE);
}
}
```
@@ -329,12 +363,10 @@ public final class ContactsListSamples {
### Operations_List
```java
-import com.azure.core.util.Context;
-
/** Samples for Operations List. */
public final class OperationsListSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/OperationsList.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/OperationsList.json
*/
/**
* Sample code: OperationsList.
@@ -342,7 +374,7 @@ public final class OperationsListSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void operationsList(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.operations().list(Context.NONE);
+ manager.operations().list(com.azure.core.util.Context.NONE);
}
}
```
@@ -350,12 +382,10 @@ public final class OperationsListSamples {
### OperationsResults_Get
```java
-import com.azure.core.util.Context;
-
/** Samples for OperationsResults Get. */
public final class OperationsResultsGetSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/OperationResultsGet.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/OperationResultsGet.json
*/
/**
* Sample code: KustoOperationResultsGet.
@@ -363,7 +393,9 @@ public final class OperationsResultsGetSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void kustoOperationResultsGet(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.operationsResults().get("eastus2", "30972f1b-b61d-4fd8-bd34-3dcfa24670f3", Context.NONE);
+ manager
+ .operationsResults()
+ .get("eastus2", "30972f1b-b61d-4fd8-bd34-3dcfa24670f3", com.azure.core.util.Context.NONE);
}
}
```
@@ -379,7 +411,7 @@ import java.util.Arrays;
/** Samples for Spacecrafts CreateOrUpdate. */
public final class SpacecraftsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftCreate.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/SpacecraftCreate.json
*/
/**
* Sample code: Create a spacecraft.
@@ -392,7 +424,6 @@ public final class SpacecraftsCreateOrUpdateSamples {
.define("CONTOSO_SAT")
.withRegion("eastus2")
.withExistingResourceGroup("contoso-Rgp")
- .withNoradId("36411")
.withTitleLine("CONTOSO_SAT")
.withTleLine1("1 27424U 02022A 22167.05119303 .00000638 00000+0 15103-3 0 9994")
.withTleLine2("2 27424 98.2477 108.9546 0000928 92.9194 327.0802 14.57300770 69982")
@@ -411,6 +442,7 @@ public final class SpacecraftsCreateOrUpdateSamples {
.withBandwidthMHz(15f)
.withDirection(Direction.DOWNLINK)
.withPolarization(Polarization.RHCP)))
+ .withNoradId("36411")
.create();
}
}
@@ -419,12 +451,10 @@ public final class SpacecraftsCreateOrUpdateSamples {
### Spacecrafts_Delete
```java
-import com.azure.core.util.Context;
-
/** Samples for Spacecrafts Delete. */
public final class SpacecraftsDeleteSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftDelete.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/SpacecraftDelete.json
*/
/**
* Sample code: Delete Spacecraft.
@@ -432,7 +462,7 @@ public final class SpacecraftsDeleteSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void deleteSpacecraft(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.spacecrafts().delete("contoso-Rgp", "CONTOSO_SAT", Context.NONE);
+ manager.spacecrafts().delete("contoso-Rgp", "CONTOSO_SAT", com.azure.core.util.Context.NONE);
}
}
```
@@ -440,12 +470,10 @@ public final class SpacecraftsDeleteSamples {
### Spacecrafts_GetByResourceGroup
```java
-import com.azure.core.util.Context;
-
/** Samples for Spacecrafts GetByResourceGroup. */
public final class SpacecraftsGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftGet.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/SpacecraftGet.json
*/
/**
* Sample code: Get Spacecraft.
@@ -453,7 +481,9 @@ public final class SpacecraftsGetByResourceGroupSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void getSpacecraft(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.spacecrafts().getByResourceGroupWithResponse("contoso-Rgp", "CONTOSO_SAT", Context.NONE);
+ manager
+ .spacecrafts()
+ .getByResourceGroupWithResponse("contoso-Rgp", "CONTOSO_SAT", com.azure.core.util.Context.NONE);
}
}
```
@@ -461,12 +491,10 @@ public final class SpacecraftsGetByResourceGroupSamples {
### Spacecrafts_List
```java
-import com.azure.core.util.Context;
-
/** Samples for Spacecrafts List. */
public final class SpacecraftsListSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftsBySubscriptionList.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/SpacecraftsBySubscriptionList.json
*/
/**
* Sample code: List of Spacecraft by Subscription.
@@ -474,7 +502,7 @@ public final class SpacecraftsListSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void listOfSpacecraftBySubscription(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.spacecrafts().list("opaqueString", Context.NONE);
+ manager.spacecrafts().list("opaqueString", com.azure.core.util.Context.NONE);
}
}
```
@@ -482,7 +510,6 @@ public final class SpacecraftsListSamples {
### Spacecrafts_ListAvailableContacts
```java
-import com.azure.core.util.Context;
import com.azure.resourcemanager.orbital.models.ContactParameters;
import com.azure.resourcemanager.orbital.models.ContactParametersContactProfile;
import java.time.OffsetDateTime;
@@ -490,7 +517,7 @@ import java.time.OffsetDateTime;
/** Samples for Spacecrafts ListAvailableContacts. */
public final class SpacecraftsListAvailableContactsSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/AvailableContactsList.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/AvailableContactsList.json
*/
/**
* Sample code: List of Contact.
@@ -509,9 +536,9 @@ public final class SpacecraftsListAvailableContactsSamples {
.withId(
"/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"))
.withGroundStationName("EASTUS2_0")
- .withStartTime(OffsetDateTime.parse("2022-03-01T11:30:00Z"))
- .withEndTime(OffsetDateTime.parse("2022-03-02T11:30:00Z")),
- Context.NONE);
+ .withStartTime(OffsetDateTime.parse("2022-11-01T11:30:00Z"))
+ .withEndTime(OffsetDateTime.parse("2022-11-02T11:30:00Z")),
+ com.azure.core.util.Context.NONE);
}
}
```
@@ -519,12 +546,10 @@ public final class SpacecraftsListAvailableContactsSamples {
### Spacecrafts_ListByResourceGroup
```java
-import com.azure.core.util.Context;
-
/** Samples for Spacecrafts ListByResourceGroup. */
public final class SpacecraftsListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftsByResourceGroupList.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/SpacecraftsByResourceGroupList.json
*/
/**
* Sample code: List of Spacecraft by Resource Group.
@@ -532,7 +557,7 @@ public final class SpacecraftsListByResourceGroupSamples {
* @param manager Entry point to OrbitalManager.
*/
public static void listOfSpacecraftByResourceGroup(com.azure.resourcemanager.orbital.OrbitalManager manager) {
- manager.spacecrafts().listByResourceGroup("contoso-Rgp", "opaqueString", Context.NONE);
+ manager.spacecrafts().listByResourceGroup("contoso-Rgp", "opaqueString", com.azure.core.util.Context.NONE);
}
}
```
@@ -540,7 +565,6 @@ public final class SpacecraftsListByResourceGroupSamples {
### Spacecrafts_UpdateTags
```java
-import com.azure.core.util.Context;
import com.azure.resourcemanager.orbital.models.Spacecraft;
import java.util.HashMap;
import java.util.Map;
@@ -548,7 +572,7 @@ import java.util.Map;
/** Samples for Spacecrafts UpdateTags. */
public final class SpacecraftsUpdateTagsSamples {
/*
- * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftUpdateTags.json
+ * x-ms-original-file: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/SpacecraftUpdateTags.json
*/
/**
* Sample code: Update Spacecraft tags.
@@ -557,7 +581,10 @@ public final class SpacecraftsUpdateTagsSamples {
*/
public static void updateSpacecraftTags(com.azure.resourcemanager.orbital.OrbitalManager manager) {
Spacecraft resource =
- manager.spacecrafts().getByResourceGroupWithResponse("contoso-Rgp", "CONTOSO_SAT", Context.NONE).getValue();
+ manager
+ .spacecrafts()
+ .getByResourceGroupWithResponse("contoso-Rgp", "CONTOSO_SAT", com.azure.core.util.Context.NONE)
+ .getValue();
resource.update().withTags(mapOf("tag1", "value1", "tag2", "value2")).apply();
}
diff --git a/sdk/orbital/azure-resourcemanager-orbital/pom.xml b/sdk/orbital/azure-resourcemanager-orbital/pom.xml
index c2c47f0e5740..7af1d8c8acf9 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/pom.xml
+++ b/sdk/orbital/azure-resourcemanager-orbital/pom.xml
@@ -1,3 +1,8 @@
+
4.0.0
@@ -13,7 +18,7 @@
jarMicrosoft Azure SDK for orbital Management
- This package contains Microsoft Azure SDK for orbital Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Orbital service. Package tag package-2022-03-01.
+ This package contains Microsoft Azure SDK for orbital Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Orbital service. Package tag package-2022-11-01.https://github.com/Azure/azure-sdk-for-java
@@ -38,7 +43,8 @@
UTF-8
- true
+ 0
+ 0
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/AvailableGroundStationsClient.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/AvailableGroundStationsClient.java
index 9f44a2f7bdb8..5df147249385 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/AvailableGroundStationsClient.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/AvailableGroundStationsClient.java
@@ -7,7 +7,6 @@
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.orbital.fluent.models.AvailableGroundStationInner;
import com.azure.resourcemanager.orbital.models.CapabilityParameter;
@@ -40,29 +39,4 @@ public interface AvailableGroundStationsClient {
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(CapabilityParameter capability, Context context);
-
- /**
- * Gets the specified available ground station.
- *
- * @param groundStationName Ground Station name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified available ground station.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- AvailableGroundStationInner get(String groundStationName);
-
- /**
- * Gets the specified available ground station.
- *
- * @param groundStationName Ground Station name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified available ground station along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String groundStationName, Context context);
}
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/ContactProfilesClient.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/ContactProfilesClient.java
index 7e1ea9db7d46..75494bbb4834 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/ContactProfilesClient.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/ContactProfilesClient.java
@@ -21,28 +21,28 @@ public interface ContactProfilesClient {
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param contactProfileName Contact Profile name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified contact Profile in a specified resource group.
+ * @return the specified contact Profile in a specified resource group along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContactProfileInner getByResourceGroup(String resourceGroupName, String contactProfileName);
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String contactProfileName, Context context);
/**
* Gets the specified contact Profile in a specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param contactProfileName Contact Profile name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified contact Profile in a specified resource group along with {@link Response}.
+ * @return the specified contact Profile in a specified resource group.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String contactProfileName, Context context);
+ ContactProfileInner getByResourceGroup(String resourceGroupName, String contactProfileName);
/**
* Creates or updates a contact profile.
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/ContactsClient.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/ContactsClient.java
index 74c9c48a1110..6025217ffc21 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/ContactsClient.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/ContactsClient.java
@@ -53,13 +53,15 @@ PagedIterable list(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param spacecraftName Spacecraft ID.
* @param contactName Contact name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified contact in a specified resource group.
+ * @return the specified contact in a specified resource group along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ContactInner get(String resourceGroupName, String spacecraftName, String contactName);
+ Response getWithResponse(
+ String resourceGroupName, String spacecraftName, String contactName, Context context);
/**
* Gets the specified contact in a specified resource group.
@@ -67,15 +69,13 @@ PagedIterable list(
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param spacecraftName Spacecraft ID.
* @param contactName Contact name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified contact in a specified resource group along with {@link Response}.
+ * @return the specified contact in a specified resource group.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(
- String resourceGroupName, String spacecraftName, String contactName, Context context);
+ ContactInner get(String resourceGroupName, String spacecraftName, String contactName);
/**
* Creates a contact.
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/SpacecraftsClient.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/SpacecraftsClient.java
index 8e64e6d17f00..04f981fd7c44 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/SpacecraftsClient.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/SpacecraftsClient.java
@@ -78,28 +78,28 @@ public interface SpacecraftsClient {
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param spacecraftName Spacecraft ID.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified spacecraft in a specified resource group.
+ * @return the specified spacecraft in a specified resource group along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SpacecraftInner getByResourceGroup(String resourceGroupName, String spacecraftName);
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String spacecraftName, Context context);
/**
* Gets the specified spacecraft in a specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param spacecraftName Spacecraft ID.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the specified spacecraft in a specified resource group along with {@link Response}.
+ * @return the specified spacecraft in a specified resource group.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(
- String resourceGroupName, String spacecraftName, Context context);
+ SpacecraftInner getByResourceGroup(String resourceGroupName, String spacecraftName);
/**
* Creates or updates a spacecraft resource.
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableContactsInner.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableContactsInner.java
index eac7cecadeb6..ca107eda08f5 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableContactsInner.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableContactsInner.java
@@ -7,6 +7,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.orbital.models.AvailableContactsSpacecraft;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.time.OffsetDateTime;
/**
* Customer retrieves list of Available Contacts for a spacecraft resource. Later, one of the available contact can be
@@ -32,6 +33,10 @@ public final class AvailableContactsInner {
@JsonProperty(value = "properties")
private AvailableContactsProperties innerProperties;
+ /** Creates an instance of AvailableContactsInner class. */
+ public AvailableContactsInner() {
+ }
+
/**
* Get the spacecraft property: The reference to the spacecraft resource.
*
@@ -70,6 +75,87 @@ private AvailableContactsProperties innerProperties() {
return this.innerProperties;
}
+ /**
+ * Get the maximumElevationDegrees property: Maximum elevation of the antenna during the contact in decimal degrees.
+ *
+ * @return the maximumElevationDegrees value.
+ */
+ public Float maximumElevationDegrees() {
+ return this.innerProperties() == null ? null : this.innerProperties().maximumElevationDegrees();
+ }
+
+ /**
+ * Get the txStartTime property: Time at which antenna transmit will be enabled (ISO 8601 UTC standard).
+ *
+ * @return the txStartTime value.
+ */
+ public OffsetDateTime txStartTime() {
+ return this.innerProperties() == null ? null : this.innerProperties().txStartTime();
+ }
+
+ /**
+ * Get the txEndTime property: Time at which antenna transmit will be disabled (ISO 8601 UTC standard).
+ *
+ * @return the txEndTime value.
+ */
+ public OffsetDateTime txEndTime() {
+ return this.innerProperties() == null ? null : this.innerProperties().txEndTime();
+ }
+
+ /**
+ * Get the rxStartTime property: Earliest time to receive a signal (ISO 8601 UTC standard).
+ *
+ * @return the rxStartTime value.
+ */
+ public OffsetDateTime rxStartTime() {
+ return this.innerProperties() == null ? null : this.innerProperties().rxStartTime();
+ }
+
+ /**
+ * Get the rxEndTime property: Time to lost receiving a signal (ISO 8601 UTC standard).
+ *
+ * @return the rxEndTime value.
+ */
+ public OffsetDateTime rxEndTime() {
+ return this.innerProperties() == null ? null : this.innerProperties().rxEndTime();
+ }
+
+ /**
+ * Get the startAzimuthDegrees property: Azimuth of the antenna at the start of the contact in decimal degrees.
+ *
+ * @return the startAzimuthDegrees value.
+ */
+ public Float startAzimuthDegrees() {
+ return this.innerProperties() == null ? null : this.innerProperties().startAzimuthDegrees();
+ }
+
+ /**
+ * Get the endAzimuthDegrees property: Azimuth of the antenna at the end of the contact in decimal degrees.
+ *
+ * @return the endAzimuthDegrees value.
+ */
+ public Float endAzimuthDegrees() {
+ return this.innerProperties() == null ? null : this.innerProperties().endAzimuthDegrees();
+ }
+
+ /**
+ * Get the startElevationDegrees property: Spacecraft elevation above the horizon at contact start.
+ *
+ * @return the startElevationDegrees value.
+ */
+ public Float startElevationDegrees() {
+ return this.innerProperties() == null ? null : this.innerProperties().startElevationDegrees();
+ }
+
+ /**
+ * Get the endElevationDegrees property: Spacecraft elevation above the horizon at contact end.
+ *
+ * @return the endElevationDegrees value.
+ */
+ public Float endElevationDegrees() {
+ return this.innerProperties() == null ? null : this.innerProperties().endElevationDegrees();
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableContactsProperties.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableContactsProperties.java
index 2d6671ad1437..07ab45f5e92e 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableContactsProperties.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableContactsProperties.java
@@ -10,6 +10,10 @@
/** Properties of Contact resource. */
@Immutable
public final class AvailableContactsProperties extends ContactInstanceProperties {
+ /** Creates an instance of AvailableContactsProperties class. */
+ public AvailableContactsProperties() {
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableGroundStationInner.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableGroundStationInner.java
index d26ecd5b5068..3eca327c58c4 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableGroundStationInner.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableGroundStationInner.java
@@ -5,6 +5,8 @@
package com.azure.resourcemanager.orbital.fluent.models;
import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.orbital.models.ReleaseMode;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Ground Stations available to schedule Contacts. */
@@ -37,8 +39,12 @@ public final class AvailableGroundStationInner {
/*
* The properties bag for this resource.
*/
- @JsonProperty(value = "properties")
- private AvailableGroundStationProperties innerProperties;
+ @JsonProperty(value = "properties", required = true)
+ private AvailableGroundStationProperties innerProperties = new AvailableGroundStationProperties();
+
+ /** Creates an instance of AvailableGroundStationInner class. */
+ public AvailableGroundStationInner() {
+ }
/**
* Get the id property: ID of groundStation.
@@ -96,14 +102,159 @@ private AvailableGroundStationProperties innerProperties() {
return this.innerProperties;
}
+ /**
+ * Get the city property: City of ground station.
+ *
+ * @return the city value.
+ */
+ public String city() {
+ return this.innerProperties() == null ? null : this.innerProperties().city();
+ }
+
+ /**
+ * Set the city property: City of ground station.
+ *
+ * @param city the city value to set.
+ * @return the AvailableGroundStationInner object itself.
+ */
+ public AvailableGroundStationInner withCity(String city) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AvailableGroundStationProperties();
+ }
+ this.innerProperties().withCity(city);
+ return this;
+ }
+
+ /**
+ * Get the providerName property: Ground station provider name.
+ *
+ * @return the providerName value.
+ */
+ public String providerName() {
+ return this.innerProperties() == null ? null : this.innerProperties().providerName();
+ }
+
+ /**
+ * Set the providerName property: Ground station provider name.
+ *
+ * @param providerName the providerName value to set.
+ * @return the AvailableGroundStationInner object itself.
+ */
+ public AvailableGroundStationInner withProviderName(String providerName) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AvailableGroundStationProperties();
+ }
+ this.innerProperties().withProviderName(providerName);
+ return this;
+ }
+
+ /**
+ * Get the longitudeDegrees property: Longitude of the ground station in decimal degrees.
+ *
+ * @return the longitudeDegrees value.
+ */
+ public Float longitudeDegrees() {
+ return this.innerProperties() == null ? null : this.innerProperties().longitudeDegrees();
+ }
+
+ /**
+ * Set the longitudeDegrees property: Longitude of the ground station in decimal degrees.
+ *
+ * @param longitudeDegrees the longitudeDegrees value to set.
+ * @return the AvailableGroundStationInner object itself.
+ */
+ public AvailableGroundStationInner withLongitudeDegrees(Float longitudeDegrees) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AvailableGroundStationProperties();
+ }
+ this.innerProperties().withLongitudeDegrees(longitudeDegrees);
+ return this;
+ }
+
+ /**
+ * Get the latitudeDegrees property: Latitude of the ground station in decimal degrees.
+ *
+ * @return the latitudeDegrees value.
+ */
+ public Float latitudeDegrees() {
+ return this.innerProperties() == null ? null : this.innerProperties().latitudeDegrees();
+ }
+
+ /**
+ * Set the latitudeDegrees property: Latitude of the ground station in decimal degrees.
+ *
+ * @param latitudeDegrees the latitudeDegrees value to set.
+ * @return the AvailableGroundStationInner object itself.
+ */
+ public AvailableGroundStationInner withLatitudeDegrees(Float latitudeDegrees) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AvailableGroundStationProperties();
+ }
+ this.innerProperties().withLatitudeDegrees(latitudeDegrees);
+ return this;
+ }
+
+ /**
+ * Get the altitudeMeters property: Altitude of the ground station.
+ *
+ * @return the altitudeMeters value.
+ */
+ public Float altitudeMeters() {
+ return this.innerProperties() == null ? null : this.innerProperties().altitudeMeters();
+ }
+
+ /**
+ * Set the altitudeMeters property: Altitude of the ground station.
+ *
+ * @param altitudeMeters the altitudeMeters value to set.
+ * @return the AvailableGroundStationInner object itself.
+ */
+ public AvailableGroundStationInner withAltitudeMeters(Float altitudeMeters) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AvailableGroundStationProperties();
+ }
+ this.innerProperties().withAltitudeMeters(altitudeMeters);
+ return this;
+ }
+
+ /**
+ * Get the releaseMode property: Release Status of a ground station.
+ *
+ * @return the releaseMode value.
+ */
+ public ReleaseMode releaseMode() {
+ return this.innerProperties() == null ? null : this.innerProperties().releaseMode();
+ }
+
+ /**
+ * Set the releaseMode property: Release Status of a ground station.
+ *
+ * @param releaseMode the releaseMode value to set.
+ * @return the AvailableGroundStationInner object itself.
+ */
+ public AvailableGroundStationInner withReleaseMode(ReleaseMode releaseMode) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AvailableGroundStationProperties();
+ }
+ this.innerProperties().withReleaseMode(releaseMode);
+ return this;
+ }
+
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
- if (innerProperties() != null) {
+ if (innerProperties() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property innerProperties in model AvailableGroundStationInner"));
+ } else {
innerProperties().validate();
}
}
+
+ private static final ClientLogger LOGGER = new ClientLogger(AvailableGroundStationInner.class);
}
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableGroundStationProperties.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableGroundStationProperties.java
index fee216dfc23d..5e56049c4edd 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableGroundStationProperties.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/AvailableGroundStationProperties.java
@@ -11,6 +11,10 @@
/** The properties bag for this resource. */
@Fluent
public final class AvailableGroundStationProperties extends AvailableGroundStationPropertiesAutoGenerated {
+ /** Creates an instance of AvailableGroundStationProperties class. */
+ public AvailableGroundStationProperties() {
+ }
+
/** {@inheritDoc} */
@Override
public AvailableGroundStationProperties withCity(String city) {
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactInner.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactInner.java
index 61f715efb2f8..3f6f5d5d22b3 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactInner.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactInner.java
@@ -6,6 +6,8 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.orbital.models.ContactsPropertiesAntennaConfiguration;
import com.azure.resourcemanager.orbital.models.ContactsPropertiesContactProfile;
import com.azure.resourcemanager.orbital.models.ContactsPropertiesProvisioningState;
@@ -19,14 +21,18 @@ public final class ContactInner extends ProxyResource {
/*
* Properties of the Contact Resource.
*/
- @JsonProperty(value = "properties")
- private ContactsProperties innerProperties;
+ @JsonProperty(value = "properties", required = true)
+ private ContactsProperties innerProperties = new ContactsProperties();
/*
- * A unique read-only string that changes whenever the resource is updated.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
- @JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
- private String etag;
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of ContactInner class. */
+ public ContactInner() {
+ }
/**
* Get the innerProperties property: Properties of the Contact Resource.
@@ -38,12 +44,12 @@ private ContactsProperties innerProperties() {
}
/**
- * Get the etag property: A unique read-only string that changes whenever the resource is updated.
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
- * @return the etag value.
+ * @return the systemData value.
*/
- public String etag() {
- return this.etag;
+ public SystemData systemData() {
+ return this.systemData;
}
/**
@@ -275,8 +281,14 @@ public ContactInner withContactProfile(ContactsPropertiesContactProfile contactP
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
- if (innerProperties() != null) {
+ if (innerProperties() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException("Missing required property innerProperties in model ContactInner"));
+ } else {
innerProperties().validate();
}
}
+
+ private static final ClientLogger LOGGER = new ClientLogger(ContactInner.class);
}
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactProfileInner.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactProfileInner.java
index 8a7205643357..b15e9c4ce73f 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactProfileInner.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactProfileInner.java
@@ -7,7 +7,14 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.orbital.models.AutoTrackingConfiguration;
+import com.azure.resourcemanager.orbital.models.ContactProfileLink;
+import com.azure.resourcemanager.orbital.models.ContactProfileThirdPartyConfiguration;
+import com.azure.resourcemanager.orbital.models.ContactProfilesPropertiesNetworkConfiguration;
+import com.azure.resourcemanager.orbital.models.ContactProfilesPropertiesProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
import java.util.Map;
/**
@@ -19,22 +26,19 @@ public final class ContactProfileInner extends Resource {
/*
* Properties of the contact profile resource.
*/
- @JsonProperty(value = "properties")
- private ContactProfileProperties innerProperties;
+ @JsonProperty(value = "properties", required = true)
+ private ContactProfileProperties innerProperties = new ContactProfileProperties();
/*
- * A unique read-only string that changes whenever the resource is updated.
- */
- @JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
- private String etag;
-
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;
+ /** Creates an instance of ContactProfileInner class. */
+ public ContactProfileInner() {
+ }
+
/**
* Get the innerProperties property: Properties of the contact profile resource.
*
@@ -44,15 +48,6 @@ private ContactProfileProperties innerProperties() {
return this.innerProperties;
}
- /**
- * Get the etag property: A unique read-only string that changes whenever the resource is updated.
- *
- * @return the etag value.
- */
- public String etag() {
- return this.etag;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -76,14 +71,215 @@ public ContactProfileInner withTags(Map tags) {
return this;
}
+ /**
+ * Get the provisioningState property: The current state of the resource's creation, deletion, or modification.
+ *
+ * @return the provisioningState value.
+ */
+ public ContactProfilesPropertiesProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Set the provisioningState property: The current state of the resource's creation, deletion, or modification.
+ *
+ * @param provisioningState the provisioningState value to set.
+ * @return the ContactProfileInner object itself.
+ */
+ public ContactProfileInner withProvisioningState(ContactProfilesPropertiesProvisioningState provisioningState) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ContactProfileProperties();
+ }
+ this.innerProperties().withProvisioningState(provisioningState);
+ return this;
+ }
+
+ /**
+ * Get the minimumViableContactDuration property: Minimum viable contact duration in ISO 8601 format. Used for
+ * listing the available contacts with a spacecraft at a given ground station.
+ *
+ * @return the minimumViableContactDuration value.
+ */
+ public String minimumViableContactDuration() {
+ return this.innerProperties() == null ? null : this.innerProperties().minimumViableContactDuration();
+ }
+
+ /**
+ * Set the minimumViableContactDuration property: Minimum viable contact duration in ISO 8601 format. Used for
+ * listing the available contacts with a spacecraft at a given ground station.
+ *
+ * @param minimumViableContactDuration the minimumViableContactDuration value to set.
+ * @return the ContactProfileInner object itself.
+ */
+ public ContactProfileInner withMinimumViableContactDuration(String minimumViableContactDuration) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ContactProfileProperties();
+ }
+ this.innerProperties().withMinimumViableContactDuration(minimumViableContactDuration);
+ return this;
+ }
+
+ /**
+ * Get the minimumElevationDegrees property: Minimum viable elevation for the contact in decimal degrees. Used for
+ * listing the available contacts with a spacecraft at a given ground station.
+ *
+ * @return the minimumElevationDegrees value.
+ */
+ public Float minimumElevationDegrees() {
+ return this.innerProperties() == null ? null : this.innerProperties().minimumElevationDegrees();
+ }
+
+ /**
+ * Set the minimumElevationDegrees property: Minimum viable elevation for the contact in decimal degrees. Used for
+ * listing the available contacts with a spacecraft at a given ground station.
+ *
+ * @param minimumElevationDegrees the minimumElevationDegrees value to set.
+ * @return the ContactProfileInner object itself.
+ */
+ public ContactProfileInner withMinimumElevationDegrees(Float minimumElevationDegrees) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ContactProfileProperties();
+ }
+ this.innerProperties().withMinimumElevationDegrees(minimumElevationDegrees);
+ return this;
+ }
+
+ /**
+ * Get the autoTrackingConfiguration property: Auto-tracking configuration.
+ *
+ * @return the autoTrackingConfiguration value.
+ */
+ public AutoTrackingConfiguration autoTrackingConfiguration() {
+ return this.innerProperties() == null ? null : this.innerProperties().autoTrackingConfiguration();
+ }
+
+ /**
+ * Set the autoTrackingConfiguration property: Auto-tracking configuration.
+ *
+ * @param autoTrackingConfiguration the autoTrackingConfiguration value to set.
+ * @return the ContactProfileInner object itself.
+ */
+ public ContactProfileInner withAutoTrackingConfiguration(AutoTrackingConfiguration autoTrackingConfiguration) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ContactProfileProperties();
+ }
+ this.innerProperties().withAutoTrackingConfiguration(autoTrackingConfiguration);
+ return this;
+ }
+
+ /**
+ * Get the eventHubUri property: ARM resource identifier of the Event Hub used for telemetry. Requires granting
+ * Orbital Resource Provider the rights to send telemetry into the hub.
+ *
+ * @return the eventHubUri value.
+ */
+ public String eventHubUri() {
+ return this.innerProperties() == null ? null : this.innerProperties().eventHubUri();
+ }
+
+ /**
+ * Set the eventHubUri property: ARM resource identifier of the Event Hub used for telemetry. Requires granting
+ * Orbital Resource Provider the rights to send telemetry into the hub.
+ *
+ * @param eventHubUri the eventHubUri value to set.
+ * @return the ContactProfileInner object itself.
+ */
+ public ContactProfileInner withEventHubUri(String eventHubUri) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ContactProfileProperties();
+ }
+ this.innerProperties().withEventHubUri(eventHubUri);
+ return this;
+ }
+
+ /**
+ * Get the networkConfiguration property: Network configuration of customer virtual network.
+ *
+ * @return the networkConfiguration value.
+ */
+ public ContactProfilesPropertiesNetworkConfiguration networkConfiguration() {
+ return this.innerProperties() == null ? null : this.innerProperties().networkConfiguration();
+ }
+
+ /**
+ * Set the networkConfiguration property: Network configuration of customer virtual network.
+ *
+ * @param networkConfiguration the networkConfiguration value to set.
+ * @return the ContactProfileInner object itself.
+ */
+ public ContactProfileInner withNetworkConfiguration(
+ ContactProfilesPropertiesNetworkConfiguration networkConfiguration) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ContactProfileProperties();
+ }
+ this.innerProperties().withNetworkConfiguration(networkConfiguration);
+ return this;
+ }
+
+ /**
+ * Get the thirdPartyConfigurations property: Third-party mission configuration of the Contact Profile. Describes RF
+ * links, modem processing, and IP endpoints.
+ *
+ * @return the thirdPartyConfigurations value.
+ */
+ public List thirdPartyConfigurations() {
+ return this.innerProperties() == null ? null : this.innerProperties().thirdPartyConfigurations();
+ }
+
+ /**
+ * Set the thirdPartyConfigurations property: Third-party mission configuration of the Contact Profile. Describes RF
+ * links, modem processing, and IP endpoints.
+ *
+ * @param thirdPartyConfigurations the thirdPartyConfigurations value to set.
+ * @return the ContactProfileInner object itself.
+ */
+ public ContactProfileInner withThirdPartyConfigurations(
+ List thirdPartyConfigurations) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ContactProfileProperties();
+ }
+ this.innerProperties().withThirdPartyConfigurations(thirdPartyConfigurations);
+ return this;
+ }
+
+ /**
+ * Get the links property: Links of the Contact Profile. Describes RF links, modem processing, and IP endpoints.
+ *
+ * @return the links value.
+ */
+ public List links() {
+ return this.innerProperties() == null ? null : this.innerProperties().links();
+ }
+
+ /**
+ * Set the links property: Links of the Contact Profile. Describes RF links, modem processing, and IP endpoints.
+ *
+ * @param links the links value to set.
+ * @return the ContactProfileInner object itself.
+ */
+ public ContactProfileInner withLinks(List links) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ContactProfileProperties();
+ }
+ this.innerProperties().withLinks(links);
+ return this;
+ }
+
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
- if (innerProperties() != null) {
+ if (innerProperties() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property innerProperties in model ContactProfileInner"));
+ } else {
innerProperties().validate();
}
}
+
+ private static final ClientLogger LOGGER = new ClientLogger(ContactProfileInner.class);
}
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactProfileProperties.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactProfileProperties.java
index 4b6813e8c4fb..3ba838d6795a 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactProfileProperties.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactProfileProperties.java
@@ -7,6 +7,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.orbital.models.AutoTrackingConfiguration;
import com.azure.resourcemanager.orbital.models.ContactProfileLink;
+import com.azure.resourcemanager.orbital.models.ContactProfileThirdPartyConfiguration;
import com.azure.resourcemanager.orbital.models.ContactProfilesProperties;
import com.azure.resourcemanager.orbital.models.ContactProfilesPropertiesNetworkConfiguration;
import com.azure.resourcemanager.orbital.models.ContactProfilesPropertiesProvisioningState;
@@ -15,6 +16,10 @@
/** Properties of the contact profile resource. */
@Fluent
public final class ContactProfileProperties extends ContactProfilesProperties {
+ /** Creates an instance of ContactProfileProperties class. */
+ public ContactProfileProperties() {
+ }
+
/** {@inheritDoc} */
@Override
public ContactProfileProperties withProvisioningState(
@@ -59,6 +64,14 @@ public ContactProfileProperties withNetworkConfiguration(
return this;
}
+ /** {@inheritDoc} */
+ @Override
+ public ContactProfileProperties withThirdPartyConfigurations(
+ List thirdPartyConfigurations) {
+ super.withThirdPartyConfigurations(thirdPartyConfigurations);
+ return this;
+ }
+
/** {@inheritDoc} */
@Override
public ContactProfileProperties withLinks(List links) {
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactsProperties.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactsProperties.java
index 23ad745e3b23..24e5ada43820 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactsProperties.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/ContactsProperties.java
@@ -118,6 +118,10 @@ public final class ContactsProperties {
@JsonProperty(value = "contactProfile", required = true)
private ContactsPropertiesContactProfile contactProfile;
+ /** Creates an instance of ContactsProperties class. */
+ public ContactsProperties() {
+ }
+
/**
* Get the provisioningState property: The current state of the resource's creation, deletion, or modification.
*
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/OperationInner.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/OperationInner.java
index 1dd02237882b..5debc08bd852 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/OperationInner.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/OperationInner.java
@@ -10,20 +10,23 @@
import com.azure.resourcemanager.orbital.models.Origin;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** REST API Operation Details of a REST API operation, returned from the Resource Provider Operations API. */
+/**
+ * REST API Operation
+ *
+ *
Details of a REST API operation, returned from the Resource Provider Operations API.
+ */
@Fluent
public final class OperationInner {
/*
- * The name of the operation, as per Resource-Based Access Control (RBAC).
- * Examples: "Microsoft.Compute/virtualMachines/write",
- * "Microsoft.Compute/virtualMachines/capture/action"
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
+ * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;
/*
- * Whether the operation applies to data-plane. This is "true" for
- * data-plane operations and "false" for ARM/control-plane operations.
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for
+ * ARM/control-plane operations.
*/
@JsonProperty(value = "isDataAction", access = JsonProperty.Access.WRITE_ONLY)
private Boolean isDataAction;
@@ -35,19 +38,22 @@ public final class OperationInner {
private OperationDisplay display;
/*
- * The intended executor of the operation; as in Resource Based Access
- * Control (RBAC) and audit logs UX. Default value is "user,system"
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default
+ * value is "user,system"
*/
@JsonProperty(value = "origin", access = JsonProperty.Access.WRITE_ONLY)
private Origin origin;
/*
- * Enum. Indicates the action type. "Internal" refers to actions that are
- * for internal only APIs.
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
*/
@JsonProperty(value = "actionType", access = JsonProperty.Access.WRITE_ONLY)
private ActionType actionType;
+ /** Creates an instance of OperationInner class. */
+ public OperationInner() {
+ }
+
/**
* Get the name property: The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
* "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action".
diff --git a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/OperationResultInner.java b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/OperationResultInner.java
index 9d40f139d82c..2e3c0dc5f5ca 100644
--- a/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/OperationResultInner.java
+++ b/sdk/orbital/azure-resourcemanager-orbital/src/main/java/com/azure/resourcemanager/orbital/fluent/models/OperationResultInner.java
@@ -9,6 +9,7 @@
import com.azure.resourcemanager.orbital.models.Status;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
+import java.util.List;
/** Operation Result Entity. */
@Fluent
@@ -49,6 +50,18 @@ public final class OperationResultInner {
@JsonProperty(value = "percentComplete", access = JsonProperty.Access.WRITE_ONLY)
private Double percentComplete;
+ /*
+ * A list of results when the operation returns multiple results.
+ */
+ @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY)
+ private List