Skip to content

Commit 84891f6

Browse files
author
SDKAuto
committed
CodeGen from PR 33810 in Azure/azure-rest-api-specs
Merge 67e61104dc35d55c9dc8e58e6bc9c527d8a68f97 into a9f11bb14e3cc48c5c0a49e03a14eb95d5f336d4
1 parent 82065d9 commit 84891f6

File tree

374 files changed

+34409
-2033
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

374 files changed

+34409
-2033
lines changed

sdk/iotoperations/azure-resourcemanager-iotoperations/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.1.0-beta.1 (2025-04-28)
4+
5+
- Azure Resource Manager IoT Operations client library for Java. This package contains Microsoft Azure SDK for IoT Operations Management SDK. Microsoft.IoTOperations Resource Provider management API. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

sdk/iotoperations/azure-resourcemanager-iotoperations/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
5252
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5353

5454
```java
55-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
55+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5656
TokenCredential credential = new DefaultAzureCredentialBuilder()
5757
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
5858
.build();
5959
IoTOperationsManager manager = IoTOperationsManager
6060
.authenticate(credential, profile);
6161
```
6262

63-
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
63+
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
6464

6565
See [Authentication][authenticate] for more options.
6666

@@ -100,5 +100,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
100100
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
101101
[coc]: https://opensource.microsoft.com/codeofconduct/
102102
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
103-
104-

sdk/iotoperations/azure-resourcemanager-iotoperations/SAMPLE.md

Lines changed: 1773 additions & 1019 deletions
Large diffs are not rendered by default.

sdk/iotoperations/azure-resourcemanager-iotoperations/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
4747
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
4848
<revapi.skip>true</revapi.skip>
49-
<spotless.skip>false</spotless.skip>
5049
</properties>
5150
<dependencies>
5251
<dependency>

sdk/iotoperations/azure-resourcemanager-iotoperations/src/main/java/com/azure/resourcemanager/iotoperations/IoTOperationsManager.java

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,33 @@
2929
import com.azure.resourcemanager.iotoperations.implementation.BrokerAuthorizationsImpl;
3030
import com.azure.resourcemanager.iotoperations.implementation.BrokerListenersImpl;
3131
import com.azure.resourcemanager.iotoperations.implementation.BrokersImpl;
32+
import com.azure.resourcemanager.iotoperations.implementation.ConnectorInstancesImpl;
33+
import com.azure.resourcemanager.iotoperations.implementation.ConnectorTemplatesImpl;
3234
import com.azure.resourcemanager.iotoperations.implementation.DataflowEndpointsImpl;
35+
import com.azure.resourcemanager.iotoperations.implementation.DataflowGraphsImpl;
3336
import com.azure.resourcemanager.iotoperations.implementation.DataflowProfilesImpl;
3437
import com.azure.resourcemanager.iotoperations.implementation.DataflowsImpl;
38+
import com.azure.resourcemanager.iotoperations.implementation.DiagnosticsImpl;
39+
import com.azure.resourcemanager.iotoperations.implementation.DiscoveryHandlersImpl;
3540
import com.azure.resourcemanager.iotoperations.implementation.InstancesImpl;
3641
import com.azure.resourcemanager.iotoperations.implementation.IoTOperationsManagementClientBuilder;
3742
import com.azure.resourcemanager.iotoperations.implementation.OperationsImpl;
43+
import com.azure.resourcemanager.iotoperations.implementation.RegistryEndpointsImpl;
3844
import com.azure.resourcemanager.iotoperations.models.BrokerAuthentications;
3945
import com.azure.resourcemanager.iotoperations.models.BrokerAuthorizations;
4046
import com.azure.resourcemanager.iotoperations.models.BrokerListeners;
4147
import com.azure.resourcemanager.iotoperations.models.Brokers;
48+
import com.azure.resourcemanager.iotoperations.models.ConnectorInstances;
49+
import com.azure.resourcemanager.iotoperations.models.ConnectorTemplates;
4250
import com.azure.resourcemanager.iotoperations.models.DataflowEndpoints;
51+
import com.azure.resourcemanager.iotoperations.models.DataflowGraphs;
4352
import com.azure.resourcemanager.iotoperations.models.DataflowProfiles;
4453
import com.azure.resourcemanager.iotoperations.models.Dataflows;
54+
import com.azure.resourcemanager.iotoperations.models.Diagnostics;
55+
import com.azure.resourcemanager.iotoperations.models.DiscoveryHandlers;
4556
import com.azure.resourcemanager.iotoperations.models.Instances;
4657
import com.azure.resourcemanager.iotoperations.models.Operations;
58+
import com.azure.resourcemanager.iotoperations.models.RegistryEndpoints;
4759
import java.time.Duration;
4860
import java.time.temporal.ChronoUnit;
4961
import java.util.ArrayList;
@@ -75,6 +87,18 @@ public final class IoTOperationsManager {
7587

7688
private DataflowEndpoints dataflowEndpoints;
7789

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+
78102
private final IoTOperationsManagementClient clientObject;
79103

80104
private IoTOperationsManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -398,6 +422,78 @@ public DataflowEndpoints dataflowEndpoints() {
398422
return dataflowEndpoints;
399423
}
400424

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+
401497
/**
402498
* Gets wrapped service client IoTOperationsManagementClient providing direct access to the underlying
403499
* auto-generated API implementation, based on Azure REST API.

0 commit comments

Comments
 (0)