Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-05-12)

- 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-01. 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-01. 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
100 changes: 53 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-01.</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.
*
* @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.
*
* @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.
*
* @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.
*
* @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.
*
* @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.
*
* @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.
*
* @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 @@ -11,6 +11,7 @@
import com.azure.resourcemanager.healthcareapis.models.FhirServiceAuthenticationConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceCorsConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceExportConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceImportConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceKind;
import com.azure.resourcemanager.healthcareapis.models.PrivateEndpointConnection;
import com.azure.resourcemanager.healthcareapis.models.ProvisioningState;
Expand Down Expand Up @@ -323,6 +324,29 @@ public FhirServiceInner withResourceVersionPolicyConfiguration(
return this;
}

/**
* Get the importConfiguration property: Fhir Service import configuration.
*
* @return the importConfiguration value.
*/
public FhirServiceImportConfiguration importConfiguration() {
return this.innerProperties() == null ? null : this.innerProperties().importConfiguration();
}

/**
* Set the importConfiguration property: Fhir Service import configuration.
*
* @param importConfiguration the importConfiguration value to set.
* @return the FhirServiceInner object itself.
*/
public FhirServiceInner withImportConfiguration(FhirServiceImportConfiguration importConfiguration) {
if (this.innerProperties() == null) {
this.innerProperties = new FhirServiceProperties();
}
this.innerProperties().withImportConfiguration(importConfiguration);
return this;
}

/**
* Validates the instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.azure.resourcemanager.healthcareapis.models.FhirServiceAuthenticationConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceCorsConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceExportConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceImportConfiguration;
import com.azure.resourcemanager.healthcareapis.models.PrivateEndpointConnection;
import com.azure.resourcemanager.healthcareapis.models.ProvisioningState;
import com.azure.resourcemanager.healthcareapis.models.PublicNetworkAccess;
Expand Down Expand Up @@ -83,6 +84,12 @@ public final class FhirServiceProperties {
@JsonProperty(value = "resourceVersionPolicyConfiguration")
private ResourceVersionPolicyConfiguration resourceVersionPolicyConfiguration;

/*
* Fhir Service import configuration.
*/
@JsonProperty(value = "importConfiguration")
private FhirServiceImportConfiguration importConfiguration;

/**
* Get the provisioningState property: The provisioning state.
*
Expand Down Expand Up @@ -255,6 +262,26 @@ public FhirServiceProperties withResourceVersionPolicyConfiguration(
return this;
}

/**
* Get the importConfiguration property: Fhir Service import configuration.
*
* @return the importConfiguration value.
*/
public FhirServiceImportConfiguration importConfiguration() {
return this.importConfiguration;
}

/**
* Set the importConfiguration property: Fhir Service import configuration.
*
* @param importConfiguration the importConfiguration value to set.
* @return the FhirServiceProperties object itself.
*/
public FhirServiceProperties withImportConfiguration(FhirServiceImportConfiguration importConfiguration) {
this.importConfiguration = importConfiguration;
return this;
}

/**
* Validates the instance.
*
Expand Down Expand Up @@ -282,5 +309,8 @@ public void validate() {
if (resourceVersionPolicyConfiguration() != null) {
resourceVersionPolicyConfiguration().validate();
}
if (importConfiguration() != null) {
importConfiguration().validate();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.azure.resourcemanager.healthcareapis.models.FhirServiceAuthenticationConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceCorsConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceExportConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceImportConfiguration;
import com.azure.resourcemanager.healthcareapis.models.FhirServiceKind;
import com.azure.resourcemanager.healthcareapis.models.FhirServicePatchResource;
import com.azure.resourcemanager.healthcareapis.models.PrivateEndpointConnection;
Expand Down Expand Up @@ -122,6 +123,10 @@ public ResourceVersionPolicyConfiguration resourceVersionPolicyConfiguration() {
return this.innerModel().resourceVersionPolicyConfiguration();
}

public FhirServiceImportConfiguration importConfiguration() {
return this.innerModel().importConfiguration();
}

public Region region() {
return Region.fromName(this.regionName());
}
Expand Down Expand Up @@ -306,6 +311,11 @@ public FhirServiceImpl withResourceVersionPolicyConfiguration(
return this;
}

public FhirServiceImpl withImportConfiguration(FhirServiceImportConfiguration importConfiguration) {
this.innerModel().withImportConfiguration(importConfiguration);
return this;
}

private boolean isInCreateMode() {
return this.innerModel().id() == null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ public HealthcareApisManagementClientBuilder serializerAdapter(SerializerAdapter
* @return an instance of HealthcareApisManagementClientImpl.
*/
public HealthcareApisManagementClientImpl buildClient() {
if (pipeline == null) {
this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
}
if (endpoint == null) {
this.endpoint = "https://management.azure.com";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public OperationResultsClient getOperationResults() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2021-11-01";
this.apiVersion = "2022-01-31-preview";
this.services = new ServicesClientImpl(this);
this.privateEndpointConnections = new PrivateEndpointConnectionsClientImpl(this);
this.privateLinkResources = new PrivateLinkResourcesClientImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ public static ActionType fromString(String name) {
return fromString(name, ActionType.class);
}

/** @return known ActionType values. */
/**
* Gets known ActionType values.
*
* @return known ActionType values.
*/
public static Collection<ActionType> values() {
return values(ActionType.class);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ public static FhirResourceVersionPolicy fromString(String name) {
return fromString(name, FhirResourceVersionPolicy.class);
}

/** @return known FhirResourceVersionPolicy values. */
/**
* Gets known FhirResourceVersionPolicy values.
*
* @return known FhirResourceVersionPolicy values.
*/
public static Collection<FhirResourceVersionPolicy> values() {
return values(FhirResourceVersionPolicy.class);
}
Expand Down
Loading