|
29 | 29 | import com.azure.resourcemanager.iotoperations.implementation.BrokerAuthorizationsImpl; |
30 | 30 | import com.azure.resourcemanager.iotoperations.implementation.BrokerListenersImpl; |
31 | 31 | import com.azure.resourcemanager.iotoperations.implementation.BrokersImpl; |
| 32 | +import com.azure.resourcemanager.iotoperations.implementation.ConnectorInstancesImpl; |
| 33 | +import com.azure.resourcemanager.iotoperations.implementation.ConnectorTemplatesImpl; |
32 | 34 | import com.azure.resourcemanager.iotoperations.implementation.DataflowEndpointsImpl; |
| 35 | +import com.azure.resourcemanager.iotoperations.implementation.DataflowGraphsImpl; |
33 | 36 | import com.azure.resourcemanager.iotoperations.implementation.DataflowProfilesImpl; |
34 | 37 | import com.azure.resourcemanager.iotoperations.implementation.DataflowsImpl; |
| 38 | +import com.azure.resourcemanager.iotoperations.implementation.DiagnosticsImpl; |
| 39 | +import com.azure.resourcemanager.iotoperations.implementation.DiscoveryHandlersImpl; |
35 | 40 | import com.azure.resourcemanager.iotoperations.implementation.InstancesImpl; |
36 | 41 | import com.azure.resourcemanager.iotoperations.implementation.IoTOperationsManagementClientBuilder; |
37 | 42 | import com.azure.resourcemanager.iotoperations.implementation.OperationsImpl; |
| 43 | +import com.azure.resourcemanager.iotoperations.implementation.RegistryEndpointsImpl; |
38 | 44 | import com.azure.resourcemanager.iotoperations.models.BrokerAuthentications; |
39 | 45 | import com.azure.resourcemanager.iotoperations.models.BrokerAuthorizations; |
40 | 46 | import com.azure.resourcemanager.iotoperations.models.BrokerListeners; |
41 | 47 | import com.azure.resourcemanager.iotoperations.models.Brokers; |
| 48 | +import com.azure.resourcemanager.iotoperations.models.ConnectorInstances; |
| 49 | +import com.azure.resourcemanager.iotoperations.models.ConnectorTemplates; |
42 | 50 | import com.azure.resourcemanager.iotoperations.models.DataflowEndpoints; |
| 51 | +import com.azure.resourcemanager.iotoperations.models.DataflowGraphs; |
43 | 52 | import com.azure.resourcemanager.iotoperations.models.DataflowProfiles; |
44 | 53 | import com.azure.resourcemanager.iotoperations.models.Dataflows; |
| 54 | +import com.azure.resourcemanager.iotoperations.models.Diagnostics; |
| 55 | +import com.azure.resourcemanager.iotoperations.models.DiscoveryHandlers; |
45 | 56 | import com.azure.resourcemanager.iotoperations.models.Instances; |
46 | 57 | import com.azure.resourcemanager.iotoperations.models.Operations; |
| 58 | +import com.azure.resourcemanager.iotoperations.models.RegistryEndpoints; |
47 | 59 | import java.time.Duration; |
48 | 60 | import java.time.temporal.ChronoUnit; |
49 | 61 | import java.util.ArrayList; |
@@ -75,6 +87,18 @@ public final class IoTOperationsManager { |
75 | 87 |
|
76 | 88 | private DataflowEndpoints dataflowEndpoints; |
77 | 89 |
|
| 90 | + private DataflowGraphs dataflowGraphs; |
| 91 | + |
| 92 | + private RegistryEndpoints registryEndpoints; |
| 93 | + |
| 94 | + private Diagnostics diagnostics; |
| 95 | + |
| 96 | + private ConnectorTemplates connectorTemplates; |
| 97 | + |
| 98 | + private ConnectorInstances connectorInstances; |
| 99 | + |
| 100 | + private DiscoveryHandlers discoveryHandlers; |
| 101 | + |
78 | 102 | private final IoTOperationsManagementClient clientObject; |
79 | 103 |
|
80 | 104 | private IoTOperationsManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) { |
@@ -398,6 +422,78 @@ public DataflowEndpoints dataflowEndpoints() { |
398 | 422 | return dataflowEndpoints; |
399 | 423 | } |
400 | 424 |
|
| 425 | + /** |
| 426 | + * Gets the resource collection API of DataflowGraphs. It manages DataflowGraphResource. |
| 427 | + * |
| 428 | + * @return Resource collection API of DataflowGraphs. |
| 429 | + */ |
| 430 | + public DataflowGraphs dataflowGraphs() { |
| 431 | + if (this.dataflowGraphs == null) { |
| 432 | + this.dataflowGraphs = new DataflowGraphsImpl(clientObject.getDataflowGraphs(), this); |
| 433 | + } |
| 434 | + return dataflowGraphs; |
| 435 | + } |
| 436 | + |
| 437 | + /** |
| 438 | + * Gets the resource collection API of RegistryEndpoints. It manages RegistryEndpointResource. |
| 439 | + * |
| 440 | + * @return Resource collection API of RegistryEndpoints. |
| 441 | + */ |
| 442 | + public RegistryEndpoints registryEndpoints() { |
| 443 | + if (this.registryEndpoints == null) { |
| 444 | + this.registryEndpoints = new RegistryEndpointsImpl(clientObject.getRegistryEndpoints(), this); |
| 445 | + } |
| 446 | + return registryEndpoints; |
| 447 | + } |
| 448 | + |
| 449 | + /** |
| 450 | + * Gets the resource collection API of Diagnostics. It manages DiagnosticResource. |
| 451 | + * |
| 452 | + * @return Resource collection API of Diagnostics. |
| 453 | + */ |
| 454 | + public Diagnostics diagnostics() { |
| 455 | + if (this.diagnostics == null) { |
| 456 | + this.diagnostics = new DiagnosticsImpl(clientObject.getDiagnostics(), this); |
| 457 | + } |
| 458 | + return diagnostics; |
| 459 | + } |
| 460 | + |
| 461 | + /** |
| 462 | + * Gets the resource collection API of ConnectorTemplates. It manages ConnectorTemplateResource. |
| 463 | + * |
| 464 | + * @return Resource collection API of ConnectorTemplates. |
| 465 | + */ |
| 466 | + public ConnectorTemplates connectorTemplates() { |
| 467 | + if (this.connectorTemplates == null) { |
| 468 | + this.connectorTemplates = new ConnectorTemplatesImpl(clientObject.getConnectorTemplates(), this); |
| 469 | + } |
| 470 | + return connectorTemplates; |
| 471 | + } |
| 472 | + |
| 473 | + /** |
| 474 | + * Gets the resource collection API of ConnectorInstances. It manages ConnectorInstanceResource. |
| 475 | + * |
| 476 | + * @return Resource collection API of ConnectorInstances. |
| 477 | + */ |
| 478 | + public ConnectorInstances connectorInstances() { |
| 479 | + if (this.connectorInstances == null) { |
| 480 | + this.connectorInstances = new ConnectorInstancesImpl(clientObject.getConnectorInstances(), this); |
| 481 | + } |
| 482 | + return connectorInstances; |
| 483 | + } |
| 484 | + |
| 485 | + /** |
| 486 | + * Gets the resource collection API of DiscoveryHandlers. It manages DiscoveryHandlerResource. |
| 487 | + * |
| 488 | + * @return Resource collection API of DiscoveryHandlers. |
| 489 | + */ |
| 490 | + public DiscoveryHandlers discoveryHandlers() { |
| 491 | + if (this.discoveryHandlers == null) { |
| 492 | + this.discoveryHandlers = new DiscoveryHandlersImpl(clientObject.getDiscoveryHandlers(), this); |
| 493 | + } |
| 494 | + return discoveryHandlers; |
| 495 | + } |
| 496 | + |
401 | 497 | /** |
402 | 498 | * Gets wrapped service client IoTOperationsManagementClient providing direct access to the underlying |
403 | 499 | * auto-generated API implementation, based on Azure REST API. |
|
0 commit comments