Skip to content

Commit

Permalink
CodeGen from PR 19948 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge b3f0ba445450b159721ba80b6bfb884c1d5c5ae6 into d42f392d787bb49e0899393cc687c300c6534a8f
  • Loading branch information
SDKAuto committed Jul 27, 2022
1 parent 992d070 commit 83a5343
Show file tree
Hide file tree
Showing 129 changed files with 5,618 additions and 242 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-07-27)

- 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-preview-2022-10. 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
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-preview-2022-10. 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
286 changes: 239 additions & 47 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-preview-2022-10.</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 @@ -24,6 +24,8 @@
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.healthcareapis.fluent.HealthcareApisManagementClient;
import com.azure.resourcemanager.healthcareapis.implementation.AnalyticsConnectorOperationsImpl;
import com.azure.resourcemanager.healthcareapis.implementation.AnalyticsConnectorsImpl;
import com.azure.resourcemanager.healthcareapis.implementation.DicomServicesImpl;
import com.azure.resourcemanager.healthcareapis.implementation.FhirDestinationsImpl;
import com.azure.resourcemanager.healthcareapis.implementation.FhirServicesImpl;
Expand All @@ -38,6 +40,8 @@
import com.azure.resourcemanager.healthcareapis.implementation.WorkspacePrivateEndpointConnectionsImpl;
import com.azure.resourcemanager.healthcareapis.implementation.WorkspacePrivateLinkResourcesImpl;
import com.azure.resourcemanager.healthcareapis.implementation.WorkspacesImpl;
import com.azure.resourcemanager.healthcareapis.models.AnalyticsConnectorOperations;
import com.azure.resourcemanager.healthcareapis.models.AnalyticsConnectors;
import com.azure.resourcemanager.healthcareapis.models.DicomServices;
import com.azure.resourcemanager.healthcareapis.models.FhirDestinations;
import com.azure.resourcemanager.healthcareapis.models.FhirServices;
Expand Down Expand Up @@ -82,6 +86,10 @@ public final class HealthcareApisManager {

private WorkspacePrivateLinkResources workspacePrivateLinkResources;

private AnalyticsConnectors analyticsConnectors;

private AnalyticsConnectorOperations analyticsConnectorOperations;

private Operations operations;

private OperationResults operationResults;
Expand Down Expand Up @@ -251,7 +259,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 +316,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 +341,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 +414,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 +440,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 +453,48 @@ public WorkspacePrivateLinkResources workspacePrivateLinkResources() {
return workspacePrivateLinkResources;
}

/** @return Resource collection API of Operations. */
/**
* Gets the resource collection API of AnalyticsConnectors. It manages AnalyticsConnector.
*
* @return Resource collection API of AnalyticsConnectors.
*/
public AnalyticsConnectors analyticsConnectors() {
if (this.analyticsConnectors == null) {
this.analyticsConnectors = new AnalyticsConnectorsImpl(clientObject.getAnalyticsConnectors(), this);
}
return analyticsConnectors;
}

/**
* Gets the resource collection API of AnalyticsConnectorOperations.
*
* @return Resource collection API of AnalyticsConnectorOperations.
*/
public AnalyticsConnectorOperations analyticsConnectorOperations() {
if (this.analyticsConnectorOperations == null) {
this.analyticsConnectorOperations =
new AnalyticsConnectorOperationsImpl(clientObject.getAnalyticsConnectorOperations(), this);
}
return analyticsConnectorOperations;
}

/**
* 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
@@ -0,0 +1,96 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.healthcareapis.fluent;

import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.healthcareapis.fluent.models.AnalyticsConnectorInner;
import com.azure.resourcemanager.healthcareapis.models.AnalyticsConnectorPatchResource;

/** An instance of this class provides access to all the operations defined in AnalyticsConnectorOperationsClient. */
public interface AnalyticsConnectorOperationsClient {
/**
* Patch Analytics Connector Service details.
*
* @param resourceGroupName The name of the resource group that contains the service instance.
* @param workspaceName The name of workspace resource.
* @param analyticsConnectorName The name of Analytics Connector resource.
* @param analyticsConnectorPatchResource The parameters for updating a Analytics Connector.
* @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 {@link SyncPoller} for polling of analytics Connector definition.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<AnalyticsConnectorInner>, AnalyticsConnectorInner> beginUpdate(
String resourceGroupName,
String workspaceName,
String analyticsConnectorName,
AnalyticsConnectorPatchResource analyticsConnectorPatchResource);

/**
* Patch Analytics Connector Service details.
*
* @param resourceGroupName The name of the resource group that contains the service instance.
* @param workspaceName The name of workspace resource.
* @param analyticsConnectorName The name of Analytics Connector resource.
* @param analyticsConnectorPatchResource The parameters for updating a Analytics Connector.
* @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 {@link SyncPoller} for polling of analytics Connector definition.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<AnalyticsConnectorInner>, AnalyticsConnectorInner> beginUpdate(
String resourceGroupName,
String workspaceName,
String analyticsConnectorName,
AnalyticsConnectorPatchResource analyticsConnectorPatchResource,
Context context);

/**
* Patch Analytics Connector Service details.
*
* @param resourceGroupName The name of the resource group that contains the service instance.
* @param workspaceName The name of workspace resource.
* @param analyticsConnectorName The name of Analytics Connector resource.
* @param analyticsConnectorPatchResource The parameters for updating a Analytics Connector.
* @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 analytics Connector definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AnalyticsConnectorInner update(
String resourceGroupName,
String workspaceName,
String analyticsConnectorName,
AnalyticsConnectorPatchResource analyticsConnectorPatchResource);

/**
* Patch Analytics Connector Service details.
*
* @param resourceGroupName The name of the resource group that contains the service instance.
* @param workspaceName The name of workspace resource.
* @param analyticsConnectorName The name of Analytics Connector resource.
* @param analyticsConnectorPatchResource The parameters for updating a Analytics Connector.
* @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 analytics Connector definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AnalyticsConnectorInner update(
String resourceGroupName,
String workspaceName,
String analyticsConnectorName,
AnalyticsConnectorPatchResource analyticsConnectorPatchResource,
Context context);
}
Loading

0 comments on commit 83a5343

Please sign in to comment.