Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
c08b774
[Automation] Generate SDK based on TypeSpec 0.32.0
azure-sdk Aug 8, 2025
1d7dc55
revert azure-ai-projects
weidongxu-microsoft Aug 8, 2025
b3d9361
revert azure-resourcemanager-connectedcache
weidongxu-microsoft Aug 8, 2025
00c3385
revert azure-resourcemanager-connectedcache
weidongxu-microsoft Aug 8, 2025
6966d54
revert azure-resourcemanager-connectedcache
weidongxu-microsoft Aug 8, 2025
8f80ee5
revert azure-ai-documentintelligence
weidongxu-microsoft Aug 8, 2025
b144fbd
update commit ID for azure-ai-documentintelligence
weidongxu-microsoft Aug 8, 2025
034f28e
revert azure-resourcemanager-hybridconnectivity
weidongxu-microsoft Aug 8, 2025
a408201
revert azure-resourcemanager-iotoperations
weidongxu-microsoft Aug 8, 2025
8e59d73
revert azure-resourcemanager-neonpostgres
weidongxu-microsoft Aug 8, 2025
e99a16b
revert azure-resourcemanager-onlineexperimentation
weidongxu-microsoft Aug 8, 2025
72afc38
revert azure-resourcemanager-onlineexperimentatio
weidongxu-microsoft Aug 8, 2025
bf4105c
revert azure-resourcemanager-sitemanager
weidongxu-microsoft Aug 8, 2025
ffd6b66
revert azure-resourcemanager-sitemanager
weidongxu-microsoft Aug 8, 2025
5d1ce8c
sync deleted files
weidongxu-microsoft Aug 8, 2025
1a3c2e8
revert azure-developer-loadtesting
weidongxu-microsoft Aug 8, 2025
45fc7e1
revert azure-ai-documentintelligence
weidongxu-microsoft Aug 8, 2025
4a5dcef
revert azure-resourcemanager-impactreporting
weidongxu-microsoft Aug 8, 2025
57f225e
revert azure-resourcemanager-secretsstoreextension
weidongxu-microsoft Aug 8, 2025
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
Prev Previous commit
Next Next commit
revert azure-resourcemanager-iotoperations
  • Loading branch information
weidongxu-microsoft committed Aug 8, 2025
commit a4082012aead24e8573d0a29758081949cee3cd7
Original file line number Diff line number Diff line change
Expand Up @@ -25,33 +25,25 @@
import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.iotoperations.fluent.IoTOperationsManagementClient;
import com.azure.resourcemanager.iotoperations.implementation.AkriConnectorTemplatesImpl;
import com.azure.resourcemanager.iotoperations.implementation.AkriConnectorsImpl;
import com.azure.resourcemanager.iotoperations.implementation.BrokerAuthenticationsImpl;
import com.azure.resourcemanager.iotoperations.implementation.BrokerAuthorizationsImpl;
import com.azure.resourcemanager.iotoperations.implementation.BrokerListenersImpl;
import com.azure.resourcemanager.iotoperations.implementation.BrokersImpl;
import com.azure.resourcemanager.iotoperations.implementation.DataflowEndpointsImpl;
import com.azure.resourcemanager.iotoperations.implementation.DataflowGraphsImpl;
import com.azure.resourcemanager.iotoperations.implementation.DataflowProfilesImpl;
import com.azure.resourcemanager.iotoperations.implementation.DataflowsImpl;
import com.azure.resourcemanager.iotoperations.implementation.InstancesImpl;
import com.azure.resourcemanager.iotoperations.implementation.IoTOperationsManagementClientBuilder;
import com.azure.resourcemanager.iotoperations.implementation.OperationsImpl;
import com.azure.resourcemanager.iotoperations.implementation.RegistryEndpointsImpl;
import com.azure.resourcemanager.iotoperations.models.AkriConnectorTemplates;
import com.azure.resourcemanager.iotoperations.models.AkriConnectors;
import com.azure.resourcemanager.iotoperations.models.BrokerAuthentications;
import com.azure.resourcemanager.iotoperations.models.BrokerAuthorizations;
import com.azure.resourcemanager.iotoperations.models.BrokerListeners;
import com.azure.resourcemanager.iotoperations.models.Brokers;
import com.azure.resourcemanager.iotoperations.models.DataflowEndpoints;
import com.azure.resourcemanager.iotoperations.models.DataflowGraphs;
import com.azure.resourcemanager.iotoperations.models.DataflowProfiles;
import com.azure.resourcemanager.iotoperations.models.Dataflows;
import com.azure.resourcemanager.iotoperations.models.Instances;
import com.azure.resourcemanager.iotoperations.models.Operations;
import com.azure.resourcemanager.iotoperations.models.RegistryEndpoints;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
Expand Down Expand Up @@ -83,14 +75,6 @@ public final class IoTOperationsManager {

private DataflowEndpoints dataflowEndpoints;

private DataflowGraphs dataflowGraphs;

private RegistryEndpoints registryEndpoints;

private AkriConnectorTemplates akriConnectorTemplates;

private AkriConnectors akriConnectors;

private final IoTOperationsManagementClient clientObject;

private IoTOperationsManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Expand Down Expand Up @@ -414,55 +398,6 @@ public DataflowEndpoints dataflowEndpoints() {
return dataflowEndpoints;
}

/**
* Gets the resource collection API of DataflowGraphs. It manages DataflowGraphResource.
*
* @return Resource collection API of DataflowGraphs.
*/
public DataflowGraphs dataflowGraphs() {
if (this.dataflowGraphs == null) {
this.dataflowGraphs = new DataflowGraphsImpl(clientObject.getDataflowGraphs(), this);
}
return dataflowGraphs;
}

/**
* Gets the resource collection API of RegistryEndpoints. It manages RegistryEndpointResource.
*
* @return Resource collection API of RegistryEndpoints.
*/
public RegistryEndpoints registryEndpoints() {
if (this.registryEndpoints == null) {
this.registryEndpoints = new RegistryEndpointsImpl(clientObject.getRegistryEndpoints(), this);
}
return registryEndpoints;
}

/**
* Gets the resource collection API of AkriConnectorTemplates. It manages AkriConnectorTemplateResource.
*
* @return Resource collection API of AkriConnectorTemplates.
*/
public AkriConnectorTemplates akriConnectorTemplates() {
if (this.akriConnectorTemplates == null) {
this.akriConnectorTemplates
= new AkriConnectorTemplatesImpl(clientObject.getAkriConnectorTemplates(), this);
}
return akriConnectorTemplates;
}

/**
* Gets the resource collection API of AkriConnectors. It manages AkriConnectorResource.
*
* @return Resource collection API of AkriConnectors.
*/
public AkriConnectors akriConnectors() {
if (this.akriConnectors == null) {
this.akriConnectors = new AkriConnectorsImpl(clientObject.getAkriConnectors(), this);
}
return akriConnectors;
}

/**
* Gets wrapped service client IoTOperationsManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,32 +108,4 @@ public interface IoTOperationsManagementClient {
* @return the DataflowEndpointsClient object.
*/
DataflowEndpointsClient getDataflowEndpoints();

/**
* Gets the DataflowGraphsClient object to access its operations.
*
* @return the DataflowGraphsClient object.
*/
DataflowGraphsClient getDataflowGraphs();

/**
* Gets the RegistryEndpointsClient object to access its operations.
*
* @return the RegistryEndpointsClient object.
*/
RegistryEndpointsClient getRegistryEndpoints();

/**
* Gets the AkriConnectorTemplatesClient object to access its operations.
*
* @return the AkriConnectorTemplatesClient object.
*/
AkriConnectorTemplatesClient getAkriConnectorTemplates();

/**
* Gets the AkriConnectorsClient object to access its operations.
*
* @return the AkriConnectorsClient object.
*/
AkriConnectorsClient getAkriConnectors();
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
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.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -143,19 +144,25 @@ public void validate() {
if (properties() != null) {
properties().validate();
}
if (extendedLocation() != null) {
if (extendedLocation() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property extendedLocation in model BrokerAuthenticationResourceInner"));
} else {
extendedLocation().validate();
}
}

private static final ClientLogger LOGGER = new ClientLogger(BrokerAuthenticationResourceInner.class);

/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeJsonField("properties", this.properties);
jsonWriter.writeJsonField("extendedLocation", this.extendedLocation);
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}

Expand All @@ -182,11 +189,11 @@ public static BrokerAuthenticationResourceInner fromJson(JsonReader jsonReader)
deserializedBrokerAuthenticationResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedBrokerAuthenticationResourceInner.type = reader.getString();
} else if ("extendedLocation".equals(fieldName)) {
deserializedBrokerAuthenticationResourceInner.extendedLocation = ExtendedLocation.fromJson(reader);
} else if ("properties".equals(fieldName)) {
deserializedBrokerAuthenticationResourceInner.properties
= BrokerAuthenticationProperties.fromJson(reader);
} else if ("extendedLocation".equals(fieldName)) {
deserializedBrokerAuthenticationResourceInner.extendedLocation = ExtendedLocation.fromJson(reader);
} else if ("systemData".equals(fieldName)) {
deserializedBrokerAuthenticationResourceInner.systemData = SystemData.fromJson(reader);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
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.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -143,19 +144,25 @@ public void validate() {
if (properties() != null) {
properties().validate();
}
if (extendedLocation() != null) {
if (extendedLocation() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property extendedLocation in model BrokerAuthorizationResourceInner"));
} else {
extendedLocation().validate();
}
}

private static final ClientLogger LOGGER = new ClientLogger(BrokerAuthorizationResourceInner.class);

/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeJsonField("properties", this.properties);
jsonWriter.writeJsonField("extendedLocation", this.extendedLocation);
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}

Expand All @@ -182,11 +189,11 @@ public static BrokerAuthorizationResourceInner fromJson(JsonReader jsonReader) t
deserializedBrokerAuthorizationResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedBrokerAuthorizationResourceInner.type = reader.getString();
} else if ("extendedLocation".equals(fieldName)) {
deserializedBrokerAuthorizationResourceInner.extendedLocation = ExtendedLocation.fromJson(reader);
} else if ("properties".equals(fieldName)) {
deserializedBrokerAuthorizationResourceInner.properties
= BrokerAuthorizationProperties.fromJson(reader);
} else if ("extendedLocation".equals(fieldName)) {
deserializedBrokerAuthorizationResourceInner.extendedLocation = ExtendedLocation.fromJson(reader);
} else if ("systemData".equals(fieldName)) {
deserializedBrokerAuthorizationResourceInner.systemData = SystemData.fromJson(reader);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
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.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -143,19 +144,25 @@ public void validate() {
if (properties() != null) {
properties().validate();
}
if (extendedLocation() != null) {
if (extendedLocation() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property extendedLocation in model BrokerListenerResourceInner"));
} else {
extendedLocation().validate();
}
}

private static final ClientLogger LOGGER = new ClientLogger(BrokerListenerResourceInner.class);

/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeJsonField("properties", this.properties);
jsonWriter.writeJsonField("extendedLocation", this.extendedLocation);
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}

Expand All @@ -181,10 +188,10 @@ public static BrokerListenerResourceInner fromJson(JsonReader jsonReader) throws
deserializedBrokerListenerResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedBrokerListenerResourceInner.type = reader.getString();
} else if ("properties".equals(fieldName)) {
deserializedBrokerListenerResourceInner.properties = BrokerListenerProperties.fromJson(reader);
} else if ("extendedLocation".equals(fieldName)) {
deserializedBrokerListenerResourceInner.extendedLocation = ExtendedLocation.fromJson(reader);
} else if ("properties".equals(fieldName)) {
deserializedBrokerListenerResourceInner.properties = BrokerListenerProperties.fromJson(reader);
} else if ("systemData".equals(fieldName)) {
deserializedBrokerListenerResourceInner.systemData = SystemData.fromJson(reader);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
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.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -143,19 +144,25 @@ public void validate() {
if (properties() != null) {
properties().validate();
}
if (extendedLocation() != null) {
if (extendedLocation() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property extendedLocation in model BrokerResourceInner"));
} else {
extendedLocation().validate();
}
}

private static final ClientLogger LOGGER = new ClientLogger(BrokerResourceInner.class);

/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeJsonField("properties", this.properties);
jsonWriter.writeJsonField("extendedLocation", this.extendedLocation);
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}

Expand All @@ -181,10 +188,10 @@ public static BrokerResourceInner fromJson(JsonReader jsonReader) throws IOExcep
deserializedBrokerResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedBrokerResourceInner.type = reader.getString();
} else if ("properties".equals(fieldName)) {
deserializedBrokerResourceInner.properties = BrokerProperties.fromJson(reader);
} else if ("extendedLocation".equals(fieldName)) {
deserializedBrokerResourceInner.extendedLocation = ExtendedLocation.fromJson(reader);
} else if ("properties".equals(fieldName)) {
deserializedBrokerResourceInner.properties = BrokerProperties.fromJson(reader);
} else if ("systemData".equals(fieldName)) {
deserializedBrokerResourceInner.systemData = SystemData.fromJson(reader);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
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.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -143,19 +144,25 @@ public void validate() {
if (properties() != null) {
properties().validate();
}
if (extendedLocation() != null) {
if (extendedLocation() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property extendedLocation in model DataflowEndpointResourceInner"));
} else {
extendedLocation().validate();
}
}

private static final ClientLogger LOGGER = new ClientLogger(DataflowEndpointResourceInner.class);

/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeJsonField("properties", this.properties);
jsonWriter.writeJsonField("extendedLocation", this.extendedLocation);
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}

Expand All @@ -182,10 +189,10 @@ public static DataflowEndpointResourceInner fromJson(JsonReader jsonReader) thro
deserializedDataflowEndpointResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedDataflowEndpointResourceInner.type = reader.getString();
} else if ("properties".equals(fieldName)) {
deserializedDataflowEndpointResourceInner.properties = DataflowEndpointProperties.fromJson(reader);
} else if ("extendedLocation".equals(fieldName)) {
deserializedDataflowEndpointResourceInner.extendedLocation = ExtendedLocation.fromJson(reader);
} else if ("properties".equals(fieldName)) {
deserializedDataflowEndpointResourceInner.properties = DataflowEndpointProperties.fromJson(reader);
} else if ("systemData".equals(fieldName)) {
deserializedDataflowEndpointResourceInner.systemData = SystemData.fromJson(reader);
} else {
Expand Down
Loading