Skip to content

Commit 98b0e2e

Browse files
author
SDKAuto
committed
CodeGen from PR 33810 in Azure/azure-rest-api-specs
Merge 515b3c68980aac105c41a5c579beb32194c93627 into bb7865f018eb4e908ab17744a04f8a455c083730
1 parent cc66e78 commit 98b0e2e

File tree

41 files changed

+1417
-1415
lines changed

Some content is hidden

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

41 files changed

+1417
-1415
lines changed

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.1.0-beta.1 (2025-04-08)
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

7-
### Breaking Changes
9+
* `models.InstanceFeature` was added
10+
11+
* `models.InstanceFeatureMode` was added
812

9-
### Bugs Fixed
13+
#### `models.InstanceProperties` was modified
1014

11-
### Other Changes
15+
* `withFeatures(java.util.Map)` was added
16+
* `features()` was added
1217

1318
## 1.0.0 (2024-12-16)
1419

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: 1345 additions & 1345 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/implementation/IoTOperationsManagementClientImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public DataflowEndpointsClient getDataflowEndpoints() {
274274
this.defaultPollInterval = defaultPollInterval;
275275
this.endpoint = endpoint;
276276
this.subscriptionId = subscriptionId;
277-
this.apiVersion = "2025-04-01";
277+
this.apiVersion = "2025-07-01-preview";
278278
this.operations = new OperationsClientImpl(this);
279279
this.instances = new InstancesClientImpl(this);
280280
this.brokers = new BrokersClientImpl(this);

sdk/iotoperations/azure-resourcemanager-iotoperations/src/samples/java/com/azure/resourcemanager/iotoperations/generated/BrokerAuthenticationCreateOrUpdateSamples.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
public final class BrokerAuthenticationCreateOrUpdateSamples {
2626
/*
27-
* x-ms-original-file: 2025-04-01/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json
27+
* x-ms-original-file: 2025-07-01-preview/BrokerAuthentication_CreateOrUpdate_MaximumSet_Gen.json
2828
*/
2929
/**
3030
* Sample code: BrokerAuthentication_CreateOrUpdate.
@@ -61,7 +61,7 @@ public final class BrokerAuthenticationCreateOrUpdateSamples {
6161
}
6262

6363
/*
64-
* x-ms-original-file: 2025-04-01/BrokerAuthentication_CreateOrUpdate_Complex.json
64+
* x-ms-original-file: 2025-07-01-preview/BrokerAuthentication_CreateOrUpdate_Complex.json
6565
*/
6666
/**
6767
* Sample code: BrokerAuthentication_CreateOrUpdate_Complex.

sdk/iotoperations/azure-resourcemanager-iotoperations/src/samples/java/com/azure/resourcemanager/iotoperations/generated/BrokerAuthenticationDeleteSamples.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
public final class BrokerAuthenticationDeleteSamples {
1111
/*
12-
* x-ms-original-file: 2025-04-01/BrokerAuthentication_Delete_MaximumSet_Gen.json
12+
* x-ms-original-file: 2025-07-01-preview/BrokerAuthentication_Delete_MaximumSet_Gen.json
1313
*/
1414
/**
1515
* Sample code: BrokerAuthentication_Delete.

sdk/iotoperations/azure-resourcemanager-iotoperations/src/samples/java/com/azure/resourcemanager/iotoperations/generated/BrokerAuthenticationGetSamples.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
public final class BrokerAuthenticationGetSamples {
1111
/*
12-
* x-ms-original-file: 2025-04-01/BrokerAuthentication_Get_MaximumSet_Gen.json
12+
* x-ms-original-file: 2025-07-01-preview/BrokerAuthentication_Get_MaximumSet_Gen.json
1313
*/
1414
/**
1515
* Sample code: BrokerAuthentication_Get.

sdk/iotoperations/azure-resourcemanager-iotoperations/src/samples/java/com/azure/resourcemanager/iotoperations/generated/BrokerAuthenticationListByResourceGroupSamples.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
public final class BrokerAuthenticationListByResourceGroupSamples {
1111
/*
12-
* x-ms-original-file: 2025-04-01/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json
12+
* x-ms-original-file: 2025-07-01-preview/BrokerAuthentication_ListByResourceGroup_MaximumSet_Gen.json
1313
*/
1414
/**
1515
* Sample code: BrokerAuthentication_ListByResourceGroup.

sdk/iotoperations/azure-resourcemanager-iotoperations/src/samples/java/com/azure/resourcemanager/iotoperations/generated/BrokerAuthorizationCreateOrUpdateSamples.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626
public final class BrokerAuthorizationCreateOrUpdateSamples {
2727
/*
28-
* x-ms-original-file: 2025-04-01/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json
28+
* x-ms-original-file: 2025-07-01-preview/BrokerAuthorization_CreateOrUpdate_MaximumSet_Gen.json
2929
*/
3030
/**
3131
* Sample code: BrokerAuthorization_CreateOrUpdate.
@@ -58,7 +58,7 @@ public final class BrokerAuthorizationCreateOrUpdateSamples {
5858
}
5959

6060
/*
61-
* x-ms-original-file: 2025-04-01/BrokerAuthorization_CreateOrUpdate_Simple.json
61+
* x-ms-original-file: 2025-07-01-preview/BrokerAuthorization_CreateOrUpdate_Simple.json
6262
*/
6363
/**
6464
* Sample code: BrokerAuthorization_CreateOrUpdate_Simple.
@@ -90,7 +90,7 @@ public final class BrokerAuthorizationCreateOrUpdateSamples {
9090
}
9191

9292
/*
93-
* x-ms-original-file: 2025-04-01/BrokerAuthorization_CreateOrUpdate_Complex.json
93+
* x-ms-original-file: 2025-07-01-preview/BrokerAuthorization_CreateOrUpdate_Complex.json
9494
*/
9595
/**
9696
* Sample code: BrokerAuthorization_CreateOrUpdate_Complex.

0 commit comments

Comments
 (0)