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

- 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-05. 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-2022-05. 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
94 changes: 47 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-2022-05.</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 @@ -6,6 +6,7 @@

import com.azure.core.annotation.Fluent;
import com.azure.core.management.SystemData;
import com.azure.resourcemanager.healthcareapis.models.CorsConfiguration;
import com.azure.resourcemanager.healthcareapis.models.DicomServiceAuthenticationConfiguration;
import com.azure.resourcemanager.healthcareapis.models.PrivateEndpointConnection;
import com.azure.resourcemanager.healthcareapis.models.ProvisioningState;
Expand Down Expand Up @@ -130,6 +131,29 @@ public DicomServiceInner withAuthenticationConfiguration(
return this;
}

/**
* Get the corsConfiguration property: Dicom Service Cors configuration.
*
* @return the corsConfiguration value.
*/
public CorsConfiguration corsConfiguration() {
return this.innerProperties() == null ? null : this.innerProperties().corsConfiguration();
}

/**
* Set the corsConfiguration property: Dicom Service Cors configuration.
*
* @param corsConfiguration the corsConfiguration value to set.
* @return the DicomServiceInner object itself.
*/
public DicomServiceInner withCorsConfiguration(CorsConfiguration corsConfiguration) {
if (this.innerProperties() == null) {
this.innerProperties = new DicomServiceProperties();
}
this.innerProperties().withCorsConfiguration(corsConfiguration);
return this;
}

/**
* Get the serviceUrl property: The url of the Dicom Services.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
package com.azure.resourcemanager.healthcareapis.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.healthcareapis.models.CorsConfiguration;
import com.azure.resourcemanager.healthcareapis.models.DicomServiceAuthenticationConfiguration;
import com.azure.resourcemanager.healthcareapis.models.PrivateEndpointConnection;
import com.azure.resourcemanager.healthcareapis.models.ProvisioningState;
Expand All @@ -27,6 +28,12 @@ public final class DicomServiceProperties {
@JsonProperty(value = "authenticationConfiguration")
private DicomServiceAuthenticationConfiguration authenticationConfiguration;

/*
* Dicom Service Cors configuration.
*/
@JsonProperty(value = "corsConfiguration")
private CorsConfiguration corsConfiguration;

/*
* The url of the Dicom Services.
*/
Expand Down Expand Up @@ -77,6 +84,26 @@ public DicomServiceProperties withAuthenticationConfiguration(
return this;
}

/**
* Get the corsConfiguration property: Dicom Service Cors configuration.
*
* @return the corsConfiguration value.
*/
public CorsConfiguration corsConfiguration() {
return this.corsConfiguration;
}

/**
* Set the corsConfiguration property: Dicom Service Cors configuration.
*
* @param corsConfiguration the corsConfiguration value to set.
* @return the DicomServiceProperties object itself.
*/
public DicomServiceProperties withCorsConfiguration(CorsConfiguration corsConfiguration) {
this.corsConfiguration = corsConfiguration;
return this;
}

/**
* Get the serviceUrl property: The url of the Dicom Services.
*
Expand Down Expand Up @@ -127,6 +154,9 @@ public void validate() {
if (authenticationConfiguration() != null) {
authenticationConfiguration().validate();
}
if (corsConfiguration() != null) {
corsConfiguration().validate();
}
if (privateEndpointConnections() != null) {
privateEndpointConnections().forEach(e -> e.validate());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.healthcareapis.fluent.models.DicomServiceInner;
import com.azure.resourcemanager.healthcareapis.models.CorsConfiguration;
import com.azure.resourcemanager.healthcareapis.models.DicomService;
import com.azure.resourcemanager.healthcareapis.models.DicomServiceAuthenticationConfiguration;
import com.azure.resourcemanager.healthcareapis.models.DicomServicePatchResource;
Expand Down Expand Up @@ -69,6 +70,10 @@ public DicomServiceAuthenticationConfiguration authenticationConfiguration() {
return this.innerModel().authenticationConfiguration();
}

public CorsConfiguration corsConfiguration() {
return this.innerModel().corsConfiguration();
}

public String serviceUrl() {
return this.innerModel().serviceUrl();
}
Expand Down Expand Up @@ -234,6 +239,11 @@ public DicomServiceImpl withAuthenticationConfiguration(
return this;
}

public DicomServiceImpl withCorsConfiguration(CorsConfiguration corsConfiguration) {
this.innerModel().withCorsConfiguration(corsConfiguration);
return this;
}

public DicomServiceImpl withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) {
this.innerModel().withPublicNetworkAccess(publicNetworkAccess);
return this;
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-05-15";
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
Loading