Skip to content

Commit

Permalink
CodeGen from PR 21620 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge ac8ae1073af480d81969882debdf21d738d8511d into 99329717fcc0231dec9fdfd4a8551b8bafced1c5
  • Loading branch information
SDKAuto committed Dec 3, 2022
1 parent c381459 commit a92ea51
Show file tree
Hide file tree
Showing 202 changed files with 1,892 additions and 795 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2022-12-03)

- 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).

### Features Added

Expand Down
19 changes: 11 additions & 8 deletions sdk/healthcareapis/azure-resourcemanager-healthcareapis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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-2021-11. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
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).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-healthcareapis</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -83,13 +83,13 @@ See [API design][design] for general introduction on design and key concepts on

## Contributing

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

1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
1. Commit your changes (`git commit -am 'Add some feature'`)
1. Push to the branch (`git push origin my-new-feature`)
1. Create new Pull Request
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>.

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.

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 <opencode@microsoft.com> with any additional questions or comments.

<!-- LINKS -->
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
Expand All @@ -100,3 +100,6 @@ For details on contributing to this repository, see the [contributing guide](htt
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
102 changes: 54 additions & 48 deletions sdk/healthcareapis/azure-resourcemanager-healthcareapis/SAMPLE.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for HealthcareApis Management</name>
<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>
<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>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public HealthcareApisManager authenticate(TokenCredential credential, AzureProfi
.append("-")
.append("com.azure.resourcemanager.healthcareapis")
.append("/")
.append("1.0.0-beta.2");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -308,15 +308,23 @@ public HealthcareApisManager authenticate(TokenCredential credential, AzureProfi
}
}

/** @return Resource collection API of Services. */
/**
* Gets the resource collection API of Services. It manages ServicesDescription.
*
* @return Resource collection API of Services.
*/
public Services services() {
if (this.services == null) {
this.services = new ServicesImpl(clientObject.getServices(), this);
}
return services;
}

/** @return Resource collection API of PrivateEndpointConnections. */
/**
* Gets the resource collection API of PrivateEndpointConnections. It manages PrivateEndpointConnectionDescription.
*
* @return Resource collection API of PrivateEndpointConnections.
*/
public PrivateEndpointConnections privateEndpointConnections() {
if (this.privateEndpointConnections == null) {
this.privateEndpointConnections =
Expand All @@ -325,47 +333,71 @@ public PrivateEndpointConnections privateEndpointConnections() {
return privateEndpointConnections;
}

/** @return Resource collection API of PrivateLinkResources. */
/**
* Gets the resource collection API of PrivateLinkResources.
*
* @return Resource collection API of PrivateLinkResources.
*/
public PrivateLinkResources privateLinkResources() {
if (this.privateLinkResources == null) {
this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this);
}
return privateLinkResources;
}

/** @return Resource collection API of Workspaces. */
/**
* Gets the resource collection API of Workspaces. It manages Workspace.
*
* @return Resource collection API of Workspaces.
*/
public Workspaces workspaces() {
if (this.workspaces == null) {
this.workspaces = new WorkspacesImpl(clientObject.getWorkspaces(), this);
}
return workspaces;
}

/** @return Resource collection API of DicomServices. */
/**
* Gets the resource collection API of DicomServices. It manages DicomService.
*
* @return Resource collection API of DicomServices.
*/
public DicomServices dicomServices() {
if (this.dicomServices == null) {
this.dicomServices = new DicomServicesImpl(clientObject.getDicomServices(), this);
}
return dicomServices;
}

/** @return Resource collection API of IotConnectors. */
/**
* Gets the resource collection API of IotConnectors. It manages IotConnector.
*
* @return Resource collection API of IotConnectors.
*/
public IotConnectors iotConnectors() {
if (this.iotConnectors == null) {
this.iotConnectors = new IotConnectorsImpl(clientObject.getIotConnectors(), this);
}
return iotConnectors;
}

/** @return Resource collection API of FhirDestinations. */
/**
* Gets the resource collection API of FhirDestinations.
*
* @return Resource collection API of FhirDestinations.
*/
public FhirDestinations fhirDestinations() {
if (this.fhirDestinations == null) {
this.fhirDestinations = new FhirDestinationsImpl(clientObject.getFhirDestinations(), this);
}
return fhirDestinations;
}

/** @return Resource collection API of IotConnectorFhirDestinations. */
/**
* Gets the resource collection API of IotConnectorFhirDestinations. It manages IotFhirDestination.
*
* @return Resource collection API of IotConnectorFhirDestinations.
*/
public IotConnectorFhirDestinations iotConnectorFhirDestinations() {
if (this.iotConnectorFhirDestinations == null) {
this.iotConnectorFhirDestinations =
Expand All @@ -374,15 +406,23 @@ public IotConnectorFhirDestinations iotConnectorFhirDestinations() {
return iotConnectorFhirDestinations;
}

/** @return Resource collection API of FhirServices. */
/**
* Gets the resource collection API of FhirServices. It manages FhirService.
*
* @return Resource collection API of FhirServices.
*/
public FhirServices fhirServices() {
if (this.fhirServices == null) {
this.fhirServices = new FhirServicesImpl(clientObject.getFhirServices(), this);
}
return fhirServices;
}

/** @return Resource collection API of WorkspacePrivateEndpointConnections. */
/**
* Gets the resource collection API of WorkspacePrivateEndpointConnections.
*
* @return Resource collection API of WorkspacePrivateEndpointConnections.
*/
public WorkspacePrivateEndpointConnections workspacePrivateEndpointConnections() {
if (this.workspacePrivateEndpointConnections == null) {
this.workspacePrivateEndpointConnections =
Expand All @@ -392,7 +432,11 @@ public WorkspacePrivateEndpointConnections workspacePrivateEndpointConnections()
return workspacePrivateEndpointConnections;
}

/** @return Resource collection API of WorkspacePrivateLinkResources. */
/**
* Gets the resource collection API of WorkspacePrivateLinkResources.
*
* @return Resource collection API of WorkspacePrivateLinkResources.
*/
public WorkspacePrivateLinkResources workspacePrivateLinkResources() {
if (this.workspacePrivateLinkResources == null) {
this.workspacePrivateLinkResources =
Expand All @@ -401,15 +445,23 @@ public WorkspacePrivateLinkResources workspacePrivateLinkResources() {
return workspacePrivateLinkResources;
}

/** @return Resource collection API of Operations. */
/**
* Gets the resource collection API of Operations.
*
* @return Resource collection API of Operations.
*/
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
return operations;
}

/** @return Resource collection API of OperationResults. */
/**
* Gets the resource collection API of OperationResults.
*
* @return Resource collection API of OperationResults.
*/
public OperationResults operationResults() {
if (this.operationResults == null) {
this.operationResults = new OperationResultsImpl(clientObject.getOperationResults(), this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,29 +49,29 @@ public interface DicomServicesClient {
* @param resourceGroupName The name of the resource group that contains the service instance.
* @param workspaceName The name of workspace resource.
* @param dicomServiceName The name of DICOM Service resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the properties of the specified DICOM Service.
* @return the properties of the specified DICOM Service along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DicomServiceInner get(String resourceGroupName, String workspaceName, String dicomServiceName);
Response<DicomServiceInner> getWithResponse(
String resourceGroupName, String workspaceName, String dicomServiceName, Context context);

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

/**
* Creates or updates a DICOM Service resource with the specified parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,29 +49,29 @@ public interface FhirServicesClient {
* @param resourceGroupName The name of the resource group that contains the service instance.
* @param workspaceName The name of workspace resource.
* @param fhirServiceName The name of FHIR Service resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the properties of the specified FHIR Service.
* @return the properties of the specified FHIR Service along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
FhirServiceInner get(String resourceGroupName, String workspaceName, String fhirServiceName);
Response<FhirServiceInner> getWithResponse(
String resourceGroupName, String workspaceName, String fhirServiceName, Context context);

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

/**
* Creates or updates a FHIR Service resource with the specified parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/** The interface for HealthcareApisManagementClient class. */
public interface HealthcareApisManagementClient {
/**
* Gets The subscription identifier.
* Gets The ID of the target subscription.
*
* @return the subscriptionId value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,19 @@ public interface IotConnectorFhirDestinationsClient {
* @param workspaceName The name of workspace resource.
* @param iotConnectorName The name of IoT Connector resource.
* @param fhirDestinationName The name of IoT Connector FHIR destination resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the properties of the specified Iot Connector FHIR destination.
* @return the properties of the specified Iot Connector FHIR destination along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
IotFhirDestinationInner get(
String resourceGroupName, String workspaceName, String iotConnectorName, String fhirDestinationName);
Response<IotFhirDestinationInner> getWithResponse(
String resourceGroupName,
String workspaceName,
String iotConnectorName,
String fhirDestinationName,
Context context);

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

/**
* Creates or updates an IoT Connector FHIR destination resource with the specified parameters.
Expand Down
Loading

0 comments on commit a92ea51

Please sign in to comment.