Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR azure-resourcemanager-healthcareapis] [Hub Generated] Review request for Microsoft.HealthcareApis to add version stable/2023-11-01 #28465

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-04-22)

- 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
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 @@ -148,6 +148,13 @@ public interface FhirService {
*/
ResourceVersionPolicyConfiguration resourceVersionPolicyConfiguration();

/**
* Gets the importConfiguration property: Fhir Service import configuration.
*
* @return the importConfiguration value.
*/
FhirServiceImportConfiguration importConfiguration();

/**
* Gets the region of the resource.
*
Expand Down Expand Up @@ -205,7 +212,8 @@ interface WithCreate
DefinitionStages.WithCorsConfiguration,
DefinitionStages.WithExportConfiguration,
DefinitionStages.WithPublicNetworkAccess,
DefinitionStages.WithResourceVersionPolicyConfiguration {
DefinitionStages.WithResourceVersionPolicyConfiguration,
DefinitionStages.WithImportConfiguration {
/**
* Executes the create request.
*
Expand Down Expand Up @@ -355,6 +363,16 @@ interface WithResourceVersionPolicyConfiguration {
WithCreate withResourceVersionPolicyConfiguration(
ResourceVersionPolicyConfiguration resourceVersionPolicyConfiguration);
}
/** The stage of the FhirService definition allowing to specify importConfiguration. */
interface WithImportConfiguration {
/**
* Specifies the importConfiguration property: Fhir Service import configuration..
*
* @param importConfiguration Fhir Service import configuration.
* @return the next definition stage.
*/
WithCreate withImportConfiguration(FhirServiceImportConfiguration importConfiguration);
}
}
/**
* Begins update for the FhirService resource.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
// 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.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Import operation configuration information. */
@Fluent
public final class FhirServiceImportConfiguration {
/*
* The name of the default integration storage account.
*/
@JsonProperty(value = "integrationDataStore")
private String integrationDataStore;

/*
* If the FHIR service is in InitialImportMode.
*/
@JsonProperty(value = "initialImportMode")
private Boolean initialImportMode;

/*
* If the import operation is enabled.
*/
@JsonProperty(value = "enabled")
private Boolean enabled;

/**
* Get the integrationDataStore property: The name of the default integration storage account.
*
* @return the integrationDataStore value.
*/
public String integrationDataStore() {
return this.integrationDataStore;
}

/**
* Set the integrationDataStore property: The name of the default integration storage account.
*
* @param integrationDataStore the integrationDataStore value to set.
* @return the FhirServiceImportConfiguration object itself.
*/
public FhirServiceImportConfiguration withIntegrationDataStore(String integrationDataStore) {
this.integrationDataStore = integrationDataStore;
return this;
}

/**
* Get the initialImportMode property: If the FHIR service is in InitialImportMode.
*
* @return the initialImportMode value.
*/
public Boolean initialImportMode() {
return this.initialImportMode;
}

/**
* Set the initialImportMode property: If the FHIR service is in InitialImportMode.
*
* @param initialImportMode the initialImportMode value to set.
* @return the FhirServiceImportConfiguration object itself.
*/
public FhirServiceImportConfiguration withInitialImportMode(Boolean initialImportMode) {
this.initialImportMode = initialImportMode;
return this;
}

/**
* Get the enabled property: If the import operation is enabled.
*
* @return the enabled value.
*/
public Boolean enabled() {
return this.enabled;
}

/**
* Set the enabled property: If the import operation is enabled.
*
* @param enabled the enabled value to set.
* @return the FhirServiceImportConfiguration object itself.
*/
public FhirServiceImportConfiguration withEnabled(Boolean enabled) {
this.enabled = enabled;
return this;
}

/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
Loading