Skip to content

Commit 447788b

Browse files
author
SDKAuto
committed
CodeGen from PR 21620 in Azure/azure-rest-api-specs
Merge 0960efa139c7585c6b8ef5dcded6aced4f98dc66 into 6e290d0b310e87d56cfa98cababea00b489d2c07
1 parent df28e8f commit 447788b

File tree

203 files changed

+2354
-1057
lines changed

Some content is hidden

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

203 files changed

+2354
-1057
lines changed

sdk/healthcareapis/azure-resourcemanager-healthcareapis/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.0.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.1 (2023-01-27)
4+
5+
- Azure Resource Manager HealthcareApis client library for Java. This package contains Microsoft Azure SDK for HealthcareApis Management SDK. Azure Healthcare APIs Client. Package tag package-2022-12. 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/healthcareapis/azure-resourcemanager-healthcareapis/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager HealthcareApis client library for Java.
44

5-
This package contains Microsoft Azure SDK for HealthcareApis Management SDK. Azure Healthcare APIs Client. Package tag package-2021-11. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
5+
This package contains Microsoft Azure SDK for HealthcareApis Management SDK. Azure Healthcare APIs Client. Package tag package-2022-12. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
## We'd love to hear your feedback
88

@@ -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-healthcareapis</artifactId>
35-
<version>1.0.0-beta.2</version>
35+
<version>1.0.0-beta.3</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -83,13 +83,13 @@ See [API design][design] for general introduction on design and key concepts on
8383

8484
## Contributing
8585

86-
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md).
86+
For details on contributing to this repository, see the [contributing guide][cg].
8787

88-
1. Fork it
89-
1. Create your feature branch (`git checkout -b my-new-feature`)
90-
1. Commit your changes (`git commit -am 'Add some feature'`)
91-
1. Push to the branch (`git push origin my-new-feature`)
92-
1. Create new Pull Request
88+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit <https://cla.microsoft.com>.
89+
90+
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
91+
92+
This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For more information see the [Code of Conduct FAQ][coc_faq] or contact <[email protected]> with any additional questions or comments.
9393

9494
<!-- LINKS -->
9595
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
@@ -100,3 +100,6 @@ For details on contributing to this repository, see the [contributing guide](htt
100100
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
101101
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
102102
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
103+
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
104+
[coc]: https://opensource.microsoft.com/codeofconduct/
105+
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

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

Lines changed: 128 additions & 158 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<packaging>jar</packaging>
1414

1515
<name>Microsoft Azure SDK for HealthcareApis Management</name>
16-
<description>This package contains Microsoft Azure SDK for HealthcareApis Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Healthcare APIs Client. Package tag package-2021-11.</description>
16+
<description>This package contains Microsoft Azure SDK for HealthcareApis Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Healthcare APIs Client. Package tag package-2022-12.</description>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/HealthcareApisManager.java

Lines changed: 66 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public HealthcareApisManager authenticate(TokenCredential credential, AzureProfi
251251
.append("-")
252252
.append("com.azure.resourcemanager.healthcareapis")
253253
.append("/")
254-
.append("1.0.0-beta.2");
254+
.append("1.0.0-beta.1");
255255
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
256256
userAgentBuilder
257257
.append(" (")
@@ -308,15 +308,23 @@ public HealthcareApisManager authenticate(TokenCredential credential, AzureProfi
308308
}
309309
}
310310

311-
/** @return Resource collection API of Services. */
311+
/**
312+
* Gets the resource collection API of Services. It manages ServicesDescription.
313+
*
314+
* @return Resource collection API of Services.
315+
*/
312316
public Services services() {
313317
if (this.services == null) {
314318
this.services = new ServicesImpl(clientObject.getServices(), this);
315319
}
316320
return services;
317321
}
318322

319-
/** @return Resource collection API of PrivateEndpointConnections. */
323+
/**
324+
* Gets the resource collection API of PrivateEndpointConnections. It manages PrivateEndpointConnectionDescription.
325+
*
326+
* @return Resource collection API of PrivateEndpointConnections.
327+
*/
320328
public PrivateEndpointConnections privateEndpointConnections() {
321329
if (this.privateEndpointConnections == null) {
322330
this.privateEndpointConnections =
@@ -325,47 +333,71 @@ public PrivateEndpointConnections privateEndpointConnections() {
325333
return privateEndpointConnections;
326334
}
327335

328-
/** @return Resource collection API of PrivateLinkResources. */
336+
/**
337+
* Gets the resource collection API of PrivateLinkResources.
338+
*
339+
* @return Resource collection API of PrivateLinkResources.
340+
*/
329341
public PrivateLinkResources privateLinkResources() {
330342
if (this.privateLinkResources == null) {
331343
this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this);
332344
}
333345
return privateLinkResources;
334346
}
335347

336-
/** @return Resource collection API of Workspaces. */
348+
/**
349+
* Gets the resource collection API of Workspaces. It manages Workspace.
350+
*
351+
* @return Resource collection API of Workspaces.
352+
*/
337353
public Workspaces workspaces() {
338354
if (this.workspaces == null) {
339355
this.workspaces = new WorkspacesImpl(clientObject.getWorkspaces(), this);
340356
}
341357
return workspaces;
342358
}
343359

344-
/** @return Resource collection API of DicomServices. */
360+
/**
361+
* Gets the resource collection API of DicomServices. It manages DicomService.
362+
*
363+
* @return Resource collection API of DicomServices.
364+
*/
345365
public DicomServices dicomServices() {
346366
if (this.dicomServices == null) {
347367
this.dicomServices = new DicomServicesImpl(clientObject.getDicomServices(), this);
348368
}
349369
return dicomServices;
350370
}
351371

352-
/** @return Resource collection API of IotConnectors. */
372+
/**
373+
* Gets the resource collection API of IotConnectors. It manages IotConnector.
374+
*
375+
* @return Resource collection API of IotConnectors.
376+
*/
353377
public IotConnectors iotConnectors() {
354378
if (this.iotConnectors == null) {
355379
this.iotConnectors = new IotConnectorsImpl(clientObject.getIotConnectors(), this);
356380
}
357381
return iotConnectors;
358382
}
359383

360-
/** @return Resource collection API of FhirDestinations. */
384+
/**
385+
* Gets the resource collection API of FhirDestinations.
386+
*
387+
* @return Resource collection API of FhirDestinations.
388+
*/
361389
public FhirDestinations fhirDestinations() {
362390
if (this.fhirDestinations == null) {
363391
this.fhirDestinations = new FhirDestinationsImpl(clientObject.getFhirDestinations(), this);
364392
}
365393
return fhirDestinations;
366394
}
367395

368-
/** @return Resource collection API of IotConnectorFhirDestinations. */
396+
/**
397+
* Gets the resource collection API of IotConnectorFhirDestinations. It manages IotFhirDestination.
398+
*
399+
* @return Resource collection API of IotConnectorFhirDestinations.
400+
*/
369401
public IotConnectorFhirDestinations iotConnectorFhirDestinations() {
370402
if (this.iotConnectorFhirDestinations == null) {
371403
this.iotConnectorFhirDestinations =
@@ -374,15 +406,23 @@ public IotConnectorFhirDestinations iotConnectorFhirDestinations() {
374406
return iotConnectorFhirDestinations;
375407
}
376408

377-
/** @return Resource collection API of FhirServices. */
409+
/**
410+
* Gets the resource collection API of FhirServices. It manages FhirService.
411+
*
412+
* @return Resource collection API of FhirServices.
413+
*/
378414
public FhirServices fhirServices() {
379415
if (this.fhirServices == null) {
380416
this.fhirServices = new FhirServicesImpl(clientObject.getFhirServices(), this);
381417
}
382418
return fhirServices;
383419
}
384420

385-
/** @return Resource collection API of WorkspacePrivateEndpointConnections. */
421+
/**
422+
* Gets the resource collection API of WorkspacePrivateEndpointConnections.
423+
*
424+
* @return Resource collection API of WorkspacePrivateEndpointConnections.
425+
*/
386426
public WorkspacePrivateEndpointConnections workspacePrivateEndpointConnections() {
387427
if (this.workspacePrivateEndpointConnections == null) {
388428
this.workspacePrivateEndpointConnections =
@@ -392,7 +432,11 @@ public WorkspacePrivateEndpointConnections workspacePrivateEndpointConnections()
392432
return workspacePrivateEndpointConnections;
393433
}
394434

395-
/** @return Resource collection API of WorkspacePrivateLinkResources. */
435+
/**
436+
* Gets the resource collection API of WorkspacePrivateLinkResources.
437+
*
438+
* @return Resource collection API of WorkspacePrivateLinkResources.
439+
*/
396440
public WorkspacePrivateLinkResources workspacePrivateLinkResources() {
397441
if (this.workspacePrivateLinkResources == null) {
398442
this.workspacePrivateLinkResources =
@@ -401,15 +445,23 @@ public WorkspacePrivateLinkResources workspacePrivateLinkResources() {
401445
return workspacePrivateLinkResources;
402446
}
403447

404-
/** @return Resource collection API of Operations. */
448+
/**
449+
* Gets the resource collection API of Operations.
450+
*
451+
* @return Resource collection API of Operations.
452+
*/
405453
public Operations operations() {
406454
if (this.operations == null) {
407455
this.operations = new OperationsImpl(clientObject.getOperations(), this);
408456
}
409457
return operations;
410458
}
411459

412-
/** @return Resource collection API of OperationResults. */
460+
/**
461+
* Gets the resource collection API of OperationResults.
462+
*
463+
* @return Resource collection API of OperationResults.
464+
*/
413465
public OperationResults operationResults() {
414466
if (this.operationResults == null) {
415467
this.operationResults = new OperationResultsImpl(clientObject.getOperationResults(), this);

sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/DicomServicesClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,29 +49,29 @@ public interface DicomServicesClient {
4949
* @param resourceGroupName The name of the resource group that contains the service instance.
5050
* @param workspaceName The name of workspace resource.
5151
* @param dicomServiceName The name of DICOM Service resource.
52+
* @param context The context to associate with this operation.
5253
* @throws IllegalArgumentException thrown if parameters fail the validation.
5354
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
5455
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
55-
* @return the properties of the specified DICOM Service.
56+
* @return the properties of the specified DICOM Service along with {@link Response}.
5657
*/
5758
@ServiceMethod(returns = ReturnType.SINGLE)
58-
DicomServiceInner get(String resourceGroupName, String workspaceName, String dicomServiceName);
59+
Response<DicomServiceInner> getWithResponse(
60+
String resourceGroupName, String workspaceName, String dicomServiceName, Context context);
5961

6062
/**
6163
* Gets the properties of the specified DICOM Service.
6264
*
6365
* @param resourceGroupName The name of the resource group that contains the service instance.
6466
* @param workspaceName The name of workspace resource.
6567
* @param dicomServiceName The name of DICOM Service resource.
66-
* @param context The context to associate with this operation.
6768
* @throws IllegalArgumentException thrown if parameters fail the validation.
6869
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
6970
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
70-
* @return the properties of the specified DICOM Service along with {@link Response}.
71+
* @return the properties of the specified DICOM Service.
7172
*/
7273
@ServiceMethod(returns = ReturnType.SINGLE)
73-
Response<DicomServiceInner> getWithResponse(
74-
String resourceGroupName, String workspaceName, String dicomServiceName, Context context);
74+
DicomServiceInner get(String resourceGroupName, String workspaceName, String dicomServiceName);
7575

7676
/**
7777
* Creates or updates a DICOM Service resource with the specified parameters.

sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/FhirServicesClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,29 +49,29 @@ public interface FhirServicesClient {
4949
* @param resourceGroupName The name of the resource group that contains the service instance.
5050
* @param workspaceName The name of workspace resource.
5151
* @param fhirServiceName The name of FHIR Service resource.
52+
* @param context The context to associate with this operation.
5253
* @throws IllegalArgumentException thrown if parameters fail the validation.
5354
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
5455
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
55-
* @return the properties of the specified FHIR Service.
56+
* @return the properties of the specified FHIR Service along with {@link Response}.
5657
*/
5758
@ServiceMethod(returns = ReturnType.SINGLE)
58-
FhirServiceInner get(String resourceGroupName, String workspaceName, String fhirServiceName);
59+
Response<FhirServiceInner> getWithResponse(
60+
String resourceGroupName, String workspaceName, String fhirServiceName, Context context);
5961

6062
/**
6163
* Gets the properties of the specified FHIR Service.
6264
*
6365
* @param resourceGroupName The name of the resource group that contains the service instance.
6466
* @param workspaceName The name of workspace resource.
6567
* @param fhirServiceName The name of FHIR Service resource.
66-
* @param context The context to associate with this operation.
6768
* @throws IllegalArgumentException thrown if parameters fail the validation.
6869
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
6970
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
70-
* @return the properties of the specified FHIR Service along with {@link Response}.
71+
* @return the properties of the specified FHIR Service.
7172
*/
7273
@ServiceMethod(returns = ReturnType.SINGLE)
73-
Response<FhirServiceInner> getWithResponse(
74-
String resourceGroupName, String workspaceName, String fhirServiceName, Context context);
74+
FhirServiceInner get(String resourceGroupName, String workspaceName, String fhirServiceName);
7575

7676
/**
7777
* Creates or updates a FHIR Service resource with the specified parameters.

sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/HealthcareApisManagementClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/** The interface for HealthcareApisManagementClient class. */
1111
public interface HealthcareApisManagementClient {
1212
/**
13-
* Gets The subscription identifier.
13+
* Gets The ID of the target subscription.
1414
*
1515
* @return the subscriptionId value.
1616
*/

sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/IotConnectorFhirDestinationsClient.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,19 @@ public interface IotConnectorFhirDestinationsClient {
2121
* @param workspaceName The name of workspace resource.
2222
* @param iotConnectorName The name of IoT Connector resource.
2323
* @param fhirDestinationName The name of IoT Connector FHIR destination resource.
24+
* @param context The context to associate with this operation.
2425
* @throws IllegalArgumentException thrown if parameters fail the validation.
2526
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
2627
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
27-
* @return the properties of the specified Iot Connector FHIR destination.
28+
* @return the properties of the specified Iot Connector FHIR destination along with {@link Response}.
2829
*/
2930
@ServiceMethod(returns = ReturnType.SINGLE)
30-
IotFhirDestinationInner get(
31-
String resourceGroupName, String workspaceName, String iotConnectorName, String fhirDestinationName);
31+
Response<IotFhirDestinationInner> getWithResponse(
32+
String resourceGroupName,
33+
String workspaceName,
34+
String iotConnectorName,
35+
String fhirDestinationName,
36+
Context context);
3237

3338
/**
3439
* Gets the properties of the specified Iot Connector FHIR destination.
@@ -37,19 +42,14 @@ IotFhirDestinationInner get(
3742
* @param workspaceName The name of workspace resource.
3843
* @param iotConnectorName The name of IoT Connector resource.
3944
* @param fhirDestinationName The name of IoT Connector FHIR destination resource.
40-
* @param context The context to associate with this operation.
4145
* @throws IllegalArgumentException thrown if parameters fail the validation.
4246
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
4347
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
44-
* @return the properties of the specified Iot Connector FHIR destination along with {@link Response}.
48+
* @return the properties of the specified Iot Connector FHIR destination.
4549
*/
4650
@ServiceMethod(returns = ReturnType.SINGLE)
47-
Response<IotFhirDestinationInner> getWithResponse(
48-
String resourceGroupName,
49-
String workspaceName,
50-
String iotConnectorName,
51-
String fhirDestinationName,
52-
Context context);
51+
IotFhirDestinationInner get(
52+
String resourceGroupName, String workspaceName, String iotConnectorName, String fhirDestinationName);
5353

5454
/**
5555
* Creates or updates an IoT Connector FHIR destination resource with the specified parameters.

0 commit comments

Comments
 (0)