Skip to content

Commit 2ecde94

Browse files
author
SDKAuto
committed
CodeGen from PR 32538 in Azure/azure-rest-api-specs
Merge d2e2ca6f6e47405e1e3c741cec296f2ebccddb69 into 9ab61572efcab66bf8ad836aac27d02839ea0139
1 parent 225e34b commit 2ecde94

20 files changed

+34
-50
lines changed

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

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

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.1.0-beta.1 (2025-02-18)
44

5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
5+
- Azure Resource Manager Health Data AI Services client library for Java. This package contains Microsoft Azure SDK for Health Data AI Services Management SDK. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
126

137
## 1.0.0 (2024-11-21)
148

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-healthdataaiservices</artifactId>
35-
<version>1.0.0</version>
35+
<version>1.1.0-beta.1</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -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
HealthDataAIServicesManager manager = HealthDataAIServicesManager
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/healthdataaiservices/azure-resourcemanager-healthdataaiservices/src/test/java/com/azure/resourcemanager/healthdataaiservices/generated/DeidServiceInnerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public final class DeidServiceInnerTests {
1919
@org.junit.jupiter.api.Test
2020
public void testDeserialize() throws Exception {
2121
DeidServiceInner model = BinaryData.fromString(
22-
"{\"properties\":{\"provisioningState\":\"Succeeded\",\"serviceUrl\":\"pzvgnwzsymglzufc\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"bihanuf\",\"fcbjysagithxqha\",\"ifpikxwczby\",\"cnpqxuhivyqniwby\"],\"privateEndpoint\":{\"id\":\"xvd\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"rtfw\",\"actionsRequired\":\"k\"},\"provisioningState\":\"Deleting\"},\"id\":\"dcc\",\"name\":\"nhsjcnyej\",\"type\":\"kryhtnapczwlokj\"},{\"properties\":{\"groupIds\":[\"kvnipjoxz\",\"nchgej\",\"podmailzydehojwy\"],\"privateEndpoint\":{\"id\":\"xinpmqnjaq\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"sprozvcput\",\"actionsRequired\":\"jvwmfda\"},\"provisioningState\":\"Succeeded\"},\"id\":\"dvpjhulsuuvmk\",\"name\":\"ozkrwfndiodjpslw\",\"type\":\"jdpvwryo\"}],\"publicNetworkAccess\":\"Disabled\"},\"identity\":{\"principalId\":\"cctazakljlahbc\",\"tenantId\":\"ffdfdosygexpa\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"qtrgqjbpfzfsinzg\":{\"principalId\":\"msbzjhcrz\",\"clientId\":\"dphlxaolt\"},\"ofpdvh\":{\"principalId\":\"cjrwzoxxjtfellu\",\"clientId\":\"zitonpeqfpjkjl\"}}},\"location\":\"xxypininmay\",\"tags\":{\"oginuvamiheognar\":\"bbkpodep\"},\"id\":\"zxtheotusivyevcc\",\"name\":\"qi\",\"type\":\"nhungbw\"}")
22+
"{\"properties\":{\"provisioningState\":\"Succeeded\",\"serviceUrl\":\"pzvgnwzsymglzufc\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"bihanuf\",\"fcbjysagithxqha\",\"ifpikxwczby\",\"cnpqxuhivyqniwby\"],\"privateEndpoint\":{\"id\":\"xvd\"},\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"rtfw\",\"actionsRequired\":\"k\"},\"provisioningState\":\"Deleting\"},\"id\":\"dcc\",\"name\":\"nhsjcnyej\",\"type\":\"kryhtnapczwlokj\"},{\"properties\":{\"groupIds\":[\"kvnipjoxz\",\"nchgej\",\"podmailzydehojwy\"],\"privateEndpoint\":{\"id\":\"xinpmqnjaq\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"sprozvcput\",\"actionsRequired\":\"jvwmfda\"},\"provisioningState\":\"Succeeded\"},\"id\":\"dvpjhulsuuvmk\",\"name\":\"ozkrwfndiodjpslw\",\"type\":\"jdpvwryo\"}],\"publicNetworkAccess\":\"Disabled\"},\"identity\":{\"principalId\":\"cctazakljlahbc\",\"tenantId\":\"ffdfdosygexpa\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"qtrgqjbpfzfsinzg\":{\"clientId\":\"msbzjhcrz\",\"principalId\":\"dphlxaolt\"},\"ofpdvh\":{\"clientId\":\"cjrwzoxxjtfellu\",\"principalId\":\"zitonpeqfpjkjl\"}}},\"location\":\"xxypininmay\",\"tags\":{\"oginuvamiheognar\":\"bbkpodep\"},\"id\":\"zxtheotusivyevcc\",\"name\":\"qi\",\"type\":\"nhungbw\"}")
2323
.toObject(DeidServiceInner.class);
2424
Assertions.assertEquals("xxypininmay", model.location());
2525
Assertions.assertEquals("bbkpodep", model.tags().get("oginuvamiheognar"));

sdk/healthdataaiservices/azure-resourcemanager-healthdataaiservices/src/test/java/com/azure/resourcemanager/healthdataaiservices/generated/DeidServiceListResultTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public final class DeidServiceListResultTests {
1414
@org.junit.jupiter.api.Test
1515
public void testDeserialize() throws Exception {
1616
DeidServiceListResult model = BinaryData.fromString(
17-
"{\"value\":[{\"properties\":{\"provisioningState\":\"Provisioning\",\"serviceUrl\":\"vkmijcmmxdcuf\",\"privateEndpointConnections\":[{\"properties\":{\"privateLinkServiceConnectionState\":{}},\"id\":\"ymzidn\",\"name\":\"ezcxtbzsgfyccsne\",\"type\":\"mdwzjeiachboo\"}],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"principalId\":\"osfqpteehzzv\",\"tenantId\":\"yqrimzin\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"dsoifiyipj\":{\"principalId\":\"dkirsoodqxhcr\",\"clientId\":\"ohjtckw\"}}},\"location\":\"qwpgrjbzn\",\"tags\":{\"ocpcy\":\"jxvsnbyxqabn\",\"gpbtoqcjmklj\":\"hurzafblj\",\"qajzyulpkudjkr\":\"vbqid\"},\"id\":\"khbzhfepgzg\",\"name\":\"e\",\"type\":\"zloc\"}],\"nextLink\":\"c\"}")
17+
"{\"value\":[{\"properties\":{\"provisioningState\":\"Provisioning\",\"serviceUrl\":\"vkmijcmmxdcuf\",\"privateEndpointConnections\":[{\"properties\":{\"privateLinkServiceConnectionState\":{}},\"id\":\"ymzidn\",\"name\":\"ezcxtbzsgfyccsne\",\"type\":\"mdwzjeiachboo\"}],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"principalId\":\"osfqpteehzzv\",\"tenantId\":\"yqrimzin\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"dsoifiyipj\":{\"clientId\":\"dkirsoodqxhcr\",\"principalId\":\"ohjtckw\"}}},\"location\":\"qwpgrjbzn\",\"tags\":{\"ocpcy\":\"jxvsnbyxqabn\",\"gpbtoqcjmklj\":\"hurzafblj\",\"qajzyulpkudjkr\":\"vbqid\"},\"id\":\"khbzhfepgzg\",\"name\":\"e\",\"type\":\"zloc\"}],\"nextLink\":\"c\"}")
1818
.toObject(DeidServiceListResult.class);
1919
Assertions.assertEquals("qwpgrjbzn", model.value().get(0).location());
2020
Assertions.assertEquals("jxvsnbyxqabn", model.value().get(0).tags().get("ocpcy"));

sdk/healthdataaiservices/azure-resourcemanager-healthdataaiservices/src/test/java/com/azure/resourcemanager/healthdataaiservices/generated/DeidServicesCreateMockTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
import com.azure.core.credential.AccessToken;
88
import com.azure.core.http.HttpClient;
9-
import com.azure.core.management.AzureEnvironment;
109
import com.azure.core.management.profile.AzureProfile;
10+
import com.azure.core.models.AzureCloud;
1111
import com.azure.core.test.http.MockHttpResponse;
1212
import com.azure.resourcemanager.healthdataaiservices.HealthDataAIServicesManager;
1313
import com.azure.resourcemanager.healthdataaiservices.models.DeidService;
@@ -28,14 +28,14 @@ public final class DeidServicesCreateMockTests {
2828
@Test
2929
public void testCreate() throws Exception {
3030
String responseStr
31-
= "{\"properties\":{\"provisioningState\":\"Succeeded\",\"serviceUrl\":\"ivkrtsw\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"zjf\",\"uvjfdxxive\",\"vtcqaqtdo\",\"mcbxvwvxysl\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Creating\"},\"id\":\"xoblytkbl\",\"name\":\"pe\",\"type\":\"wwfbkrvrnsvshq\"},{\"properties\":{\"groupIds\":[\"crsbfovasr\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"hsqfsubcgjbirxbp\",\"name\":\"bsrfbj\",\"type\":\"dtws\"}],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"principalId\":\"pvjzbe\",\"tenantId\":\"l\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"ruoujmk\":{\"principalId\":\"q\",\"clientId\":\"wpmqt\"},\"ewgdrjervn\":{\"principalId\":\"hwqytj\",\"clientId\":\"bnw\"},\"mifthnzdnd\":{\"principalId\":\"nqpeh\",\"clientId\":\"doy\"},\"bgycduiertgccym\":{\"principalId\":\"gnayqigynduh\",\"clientId\":\"hqlkthumaqo\"}}},\"location\":\"olpsslqlf\",\"tags\":{\"bglzpswi\":\"n\",\"cwyhzdxssa\":\"d\",\"od\":\"bzmnvdfznud\"},\"id\":\"xzb\",\"name\":\"cblylpstdbhhxsr\",\"type\":\"dzu\"}";
31+
= "{\"properties\":{\"provisioningState\":\"Succeeded\",\"serviceUrl\":\"ivkrtsw\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"zjf\",\"uvjfdxxive\",\"vtcqaqtdo\",\"mcbxvwvxysl\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Creating\"},\"id\":\"xoblytkbl\",\"name\":\"pe\",\"type\":\"wwfbkrvrnsvshq\"},{\"properties\":{\"groupIds\":[\"crsbfovasr\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"hsqfsubcgjbirxbp\",\"name\":\"bsrfbj\",\"type\":\"dtws\"}],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"principalId\":\"pvjzbe\",\"tenantId\":\"l\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"ruoujmk\":{\"clientId\":\"q\",\"principalId\":\"wpmqt\"},\"ewgdrjervn\":{\"clientId\":\"hwqytj\",\"principalId\":\"bnw\"},\"mifthnzdnd\":{\"clientId\":\"nqpeh\",\"principalId\":\"doy\"},\"bgycduiertgccym\":{\"clientId\":\"gnayqigynduh\",\"principalId\":\"hqlkthumaqo\"}}},\"location\":\"olpsslqlf\",\"tags\":{\"bglzpswi\":\"n\",\"cwyhzdxssa\":\"d\",\"od\":\"bzmnvdfznud\"},\"id\":\"xzb\",\"name\":\"cblylpstdbhhxsr\",\"type\":\"dzu\"}";
3232

3333
HttpClient httpClient
3434
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
3535
HealthDataAIServicesManager manager = HealthDataAIServicesManager.configure()
3636
.withHttpClient(httpClient)
3737
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
38-
new AzureProfile("", "", AzureEnvironment.AZURE));
38+
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
3939

4040
DeidService response = manager.deidServices()
4141
.define("it")

sdk/healthdataaiservices/azure-resourcemanager-healthdataaiservices/src/test/java/com/azure/resourcemanager/healthdataaiservices/generated/DeidServicesGetByResourceGroupWithResponseMockTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
import com.azure.core.credential.AccessToken;
88
import com.azure.core.http.HttpClient;
9-
import com.azure.core.management.AzureEnvironment;
109
import com.azure.core.management.profile.AzureProfile;
10+
import com.azure.core.models.AzureCloud;
1111
import com.azure.core.test.http.MockHttpResponse;
1212
import com.azure.resourcemanager.healthdataaiservices.HealthDataAIServicesManager;
1313
import com.azure.resourcemanager.healthdataaiservices.models.DeidService;
@@ -23,14 +23,14 @@ public final class DeidServicesGetByResourceGroupWithResponseMockTests {
2323
@Test
2424
public void testGetByResourceGroupWithResponse() throws Exception {
2525
String responseStr
26-
= "{\"properties\":{\"provisioningState\":\"Succeeded\",\"serviceUrl\":\"u\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"x\",\"ffeii\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Creating\"},\"id\":\"ez\",\"name\":\"v\",\"type\":\"hxmzsbbzoggig\"},{\"properties\":{\"groupIds\":[\"ur\",\"jx\",\"jnspydp\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"kouknvudwtiu\",\"name\":\"bldngkpoc\",\"type\":\"pazyxoegukg\"},{\"properties\":{\"groupIds\":[\"ucgygevqz\",\"typmrbpizcdrqjsd\",\"ydnfyhxdeoejz\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Failed\"},\"id\":\"sjttgzfbish\",\"name\":\"bkh\",\"type\":\"jdeyeamdpha\"},{\"properties\":{\"groupIds\":[\"buxwgip\",\"honowkgshwank\",\"xzbinjeputt\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Failed\"},\"id\":\"uzoqft\",\"name\":\"yqzrnkcqvyxlw\",\"type\":\"zlsico\"}],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"principalId\":\"wvl\",\"tenantId\":\"avwhheunm\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"szfkbe\":{\"principalId\":\"xzko\",\"clientId\":\"cukoklyaxuconu\"},\"frzpwvlqdqgb\":{\"principalId\":\"ewrmjmwvvjektc\",\"clientId\":\"enhwlrs\"}}},\"location\":\"ylihkaetckt\",\"tags\":{\"m\":\"ivfsnk\",\"jf\":\"ctq\",\"fuwutttxf\":\"ebrjcxe\",\"hfnljkyq\":\"jrbirphxepcyv\"},\"id\":\"j\",\"name\":\"uujqgidokgjljyo\",\"type\":\"gvcl\"}";
26+
= "{\"properties\":{\"provisioningState\":\"Succeeded\",\"serviceUrl\":\"u\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"x\",\"ffeii\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Creating\"},\"id\":\"ez\",\"name\":\"v\",\"type\":\"hxmzsbbzoggig\"},{\"properties\":{\"groupIds\":[\"ur\",\"jx\",\"jnspydp\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"kouknvudwtiu\",\"name\":\"bldngkpoc\",\"type\":\"pazyxoegukg\"},{\"properties\":{\"groupIds\":[\"ucgygevqz\",\"typmrbpizcdrqjsd\",\"ydnfyhxdeoejz\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Failed\"},\"id\":\"sjttgzfbish\",\"name\":\"bkh\",\"type\":\"jdeyeamdpha\"},{\"properties\":{\"groupIds\":[\"buxwgip\",\"honowkgshwank\",\"xzbinjeputt\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Failed\"},\"id\":\"uzoqft\",\"name\":\"yqzrnkcqvyxlw\",\"type\":\"zlsico\"}],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"principalId\":\"wvl\",\"tenantId\":\"avwhheunm\",\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"szfkbe\":{\"clientId\":\"xzko\",\"principalId\":\"cukoklyaxuconu\"},\"frzpwvlqdqgb\":{\"clientId\":\"ewrmjmwvvjektc\",\"principalId\":\"enhwlrs\"}}},\"location\":\"ylihkaetckt\",\"tags\":{\"m\":\"ivfsnk\",\"jf\":\"ctq\",\"fuwutttxf\":\"ebrjcxe\",\"hfnljkyq\":\"jrbirphxepcyv\"},\"id\":\"j\",\"name\":\"uujqgidokgjljyo\",\"type\":\"gvcl\"}";
2727

2828
HttpClient httpClient
2929
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
3030
HealthDataAIServicesManager manager = HealthDataAIServicesManager.configure()
3131
.withHttpClient(httpClient)
3232
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
33-
new AzureProfile("", "", AzureEnvironment.AZURE));
33+
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
3434

3535
DeidService response = manager.deidServices()
3636
.getByResourceGroupWithResponse("sonpclhocohs", "kevle", com.azure.core.util.Context.NONE)

sdk/healthdataaiservices/azure-resourcemanager-healthdataaiservices/src/test/java/com/azure/resourcemanager/healthdataaiservices/generated/DeidServicesListByResourceGroupMockTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
import com.azure.core.credential.AccessToken;
88
import com.azure.core.http.HttpClient;
99
import com.azure.core.http.rest.PagedIterable;
10-
import com.azure.core.management.AzureEnvironment;
1110
import com.azure.core.management.profile.AzureProfile;
11+
import com.azure.core.models.AzureCloud;
1212
import com.azure.core.test.http.MockHttpResponse;
1313
import com.azure.resourcemanager.healthdataaiservices.HealthDataAIServicesManager;
1414
import com.azure.resourcemanager.healthdataaiservices.models.DeidService;
@@ -24,14 +24,14 @@ public final class DeidServicesListByResourceGroupMockTests {
2424
@Test
2525
public void testListByResourceGroup() throws Exception {
2626
String responseStr
27-
= "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"serviceUrl\":\"fvgxbfsmxneh\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"godebfqkkrbmpu\",\"gr\",\"wflzlfbxzpuzy\",\"ispnqzahmgkbrp\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"bnuqqkpik\",\"name\":\"drgvtqagn\",\"type\":\"uynhijg\"},{\"properties\":{\"groupIds\":[\"fsiarbutr\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Succeeded\"},\"id\":\"zzmhjrunmpxttd\",\"name\":\"hrbnlankxmyskpbh\",\"type\":\"nbtkcxywnytnr\"},{\"properties\":{\"groupIds\":[\"qidybyx\",\"zfcl\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"babphlwrqlfk\",\"name\":\"sthsu\",\"type\":\"ocmnyyazttbtwwrq\"},{\"properties\":{\"groupIds\":[\"ckzywbiexzfeyue\",\"xibxujwbhqwalm\",\"zyoxaepdkzjan\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"d\",\"name\":\"bavxbniwdjswzt\",\"type\":\"dbpgnxytxhp\"}],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"principalId\":\"fzab\",\"tenantId\":\"cuh\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"gu\":{\"principalId\":\"yqiklbbovplwzb\",\"clientId\":\"gy\"},\"mg\":{\"principalId\":\"vmkfssxqu\",\"clientId\":\"fpl\"}}},\"location\":\"nkjzkdeslpvlop\",\"tags\":{\"wzbaiue\":\"ighxpk\",\"a\":\"baumnyqupedeoj\"},\"id\":\"ckhsmtxpsieb\",\"name\":\"fhvpesaps\",\"type\":\"rdqmhjjdhtldwkyz\"}]}";
27+
= "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"serviceUrl\":\"fvgxbfsmxneh\",\"privateEndpointConnections\":[{\"properties\":{\"groupIds\":[\"godebfqkkrbmpu\",\"gr\",\"wflzlfbxzpuzy\",\"ispnqzahmgkbrp\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"bnuqqkpik\",\"name\":\"drgvtqagn\",\"type\":\"uynhijg\"},{\"properties\":{\"groupIds\":[\"fsiarbutr\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Succeeded\"},\"id\":\"zzmhjrunmpxttd\",\"name\":\"hrbnlankxmyskpbh\",\"type\":\"nbtkcxywnytnr\"},{\"properties\":{\"groupIds\":[\"qidybyx\",\"zfcl\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"babphlwrqlfk\",\"name\":\"sthsu\",\"type\":\"ocmnyyazttbtwwrq\"},{\"properties\":{\"groupIds\":[\"ckzywbiexzfeyue\",\"xibxujwbhqwalm\",\"zyoxaepdkzjan\"],\"privateEndpoint\":{},\"privateLinkServiceConnectionState\":{},\"provisioningState\":\"Deleting\"},\"id\":\"d\",\"name\":\"bavxbniwdjswzt\",\"type\":\"dbpgnxytxhp\"}],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"principalId\":\"fzab\",\"tenantId\":\"cuh\",\"type\":\"SystemAssigned\",\"userAssignedIdentities\":{\"gu\":{\"clientId\":\"yqiklbbovplwzb\",\"principalId\":\"gy\"},\"mg\":{\"clientId\":\"vmkfssxqu\",\"principalId\":\"fpl\"}}},\"location\":\"nkjzkdeslpvlop\",\"tags\":{\"wzbaiue\":\"ighxpk\",\"a\":\"baumnyqupedeoj\"},\"id\":\"ckhsmtxpsieb\",\"name\":\"fhvpesaps\",\"type\":\"rdqmhjjdhtldwkyz\"}]}";
2828

2929
HttpClient httpClient
3030
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
3131
HealthDataAIServicesManager manager = HealthDataAIServicesManager.configure()
3232
.withHttpClient(httpClient)
3333
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
34-
new AzureProfile("", "", AzureEnvironment.AZURE));
34+
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
3535

3636
PagedIterable<DeidService> response
3737
= manager.deidServices().listByResourceGroup("bgsncghkjeszzhb", com.azure.core.util.Context.NONE);

0 commit comments

Comments
 (0)