From a4d8a1f481d1aa24ec8551e55d4de387d02de41d Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 22 Apr 2022 06:45:56 +0000 Subject: [PATCH] CodeGen from PR 17920 in Azure/azure-rest-api-specs Healthcareapis microsoft.healthcare apis 2022 01 31 preview (#17920) * Adds base for updating Microsoft.HealthcareApis from version preview/2021-06-01-preview to version 2021-11-01 * Updates readme * Updates API version in new specs and examples * Initial updates for 2021-11-01 version * Fix prettier errors and resolve systemData error * Add missing type definitions * Remove pattern for validating Cors Origin. Regex was found to have DDoS issues. New correct pattern triggeres backwards breaking change alerts. Removing patterns in latest iteration to avoid error. Regexes are validated service side with updated logic already. * Add missing endtime from OperationResult * Revert CorsOriginEntry pattern removal to avoid false positive cross version breaking change * Add definition for Properties property in operation definition that was missing. * Test updating default verison per recommendation * Update services and workspaces to use some provisioning state to remove .NET SDK error * Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned * Revert "Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned" This reverts commit d44373c296808b50764b648279c60590a104a4b8. * Resolve System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned" * Change default back to 2021-01-11 version * Change default version back in 2021-11-01 in anticipation of new release * Revert changes that removed common-type references for local references * Add async headers to patch examples * Add managed identity settings to dicomservices * Add resourceVersionPolicyCOnfiguration to workspaces/fhirservices * Fix prettier errors * Add missing description for resourceTypeOverrides * Add missing "x-ms-identifiers" property for arrays. * add preview version 2021-11-01 * add api version 2022-01-31-preview * fix path * trigger GitHub actions * fix path Co-authored-by: Dustin Burson <47367432+dustinburson@users.noreply.github.com> Co-authored-by: Dustin Burson --- .../CHANGELOG.md | 4 +- .../README.md | 4 +- .../SAMPLE.md | 100 ++++++++++-------- .../pom.xml | 2 +- .../healthcareapis/HealthcareApisManager.java | 2 +- .../fluent/models/FhirServiceInner.java | 24 +++++ .../fluent/models/FhirServiceProperties.java | 30 ++++++ .../implementation/FhirServiceImpl.java | 10 ++ ...HealthcareApisManagementClientBuilder.java | 3 - .../HealthcareApisManagementClientImpl.java | 2 +- .../healthcareapis/models/FhirService.java | 20 +++- .../FhirServiceImportConfiguration.java | 98 +++++++++++++++++ .../ServiceImportConfigurationInfo.java | 98 +++++++++++++++++ .../models/ServicesProperties.java | 29 +++++ .../DicomServicesCreateOrUpdateSamples.java | 2 +- .../generated/DicomServicesDeleteSamples.java | 2 +- .../generated/DicomServicesGetSamples.java | 2 +- .../DicomServicesListByWorkspaceSamples.java | 2 +- .../generated/DicomServicesUpdateSamples.java | 2 +- ...DestinationsListByIotConnectorSamples.java | 2 +- .../FhirServicesCreateOrUpdateSamples.java | 8 +- .../generated/FhirServicesDeleteSamples.java | 2 +- .../generated/FhirServicesGetSamples.java | 2 +- .../FhirServicesListByWorkspaceSamples.java | 2 +- .../generated/FhirServicesUpdateSamples.java | 2 +- ...rFhirDestinationCreateOrUpdateSamples.java | 2 +- ...ConnectorFhirDestinationDeleteSamples.java | 2 +- ...IotConnectorFhirDestinationGetSamples.java | 2 +- .../IotConnectorsCreateOrUpdateSamples.java | 2 +- .../generated/IotConnectorsDeleteSamples.java | 2 +- .../generated/IotConnectorsGetSamples.java | 2 +- .../IotConnectorsListByWorkspaceSamples.java | 2 +- .../generated/IotConnectorsUpdateSamples.java | 2 +- .../generated/OperationResultsGetSamples.java | 2 +- .../generated/OperationsListSamples.java | 2 +- ...pointConnectionsCreateOrUpdateSamples.java | 2 +- ...ivateEndpointConnectionsDeleteSamples.java | 2 +- .../PrivateEndpointConnectionsGetSamples.java | 2 +- ...dpointConnectionsListByServiceSamples.java | 2 +- .../PrivateLinkResourcesGetSamples.java | 2 +- ...vateLinkResourcesListByServiceSamples.java | 2 +- .../ServicesCheckNameAvailabilitySamples.java | 2 +- .../ServicesCreateOrUpdateSamples.java | 4 +- .../generated/ServicesDeleteSamples.java | 2 +- .../ServicesGetByResourceGroupSamples.java | 2 +- .../ServicesListByResourceGroupSamples.java | 2 +- .../generated/ServicesListSamples.java | 2 +- .../generated/ServicesUpdateSamples.java | 2 +- ...pointConnectionsCreateOrUpdateSamples.java | 2 +- ...ivateEndpointConnectionsDeleteSamples.java | 2 +- ...ePrivateEndpointConnectionsGetSamples.java | 2 +- ...ointConnectionsListByWorkspaceSamples.java | 2 +- ...rkspacePrivateLinkResourcesGetSamples.java | 2 +- ...teLinkResourcesListByWorkspaceSamples.java | 2 +- .../WorkspacesCreateOrUpdateSamples.java | 2 +- .../generated/WorkspacesDeleteSamples.java | 2 +- .../WorkspacesGetByResourceGroupSamples.java | 2 +- .../WorkspacesListByResourceGroupSamples.java | 2 +- .../generated/WorkspacesListSamples.java | 2 +- .../generated/WorkspacesUpdateSamples.java | 2 +- 60 files changed, 422 insertions(+), 104 deletions(-) create mode 100644 sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/FhirServiceImportConfiguration.java create mode 100644 sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/ServiceImportConfigurationInfo.java diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/CHANGELOG.md b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/CHANGELOG.md index 4d22d29ce86e5..0213c561741f2 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/CHANGELOG.md +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/CHANGELOG.md @@ -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 diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/README.md b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/README.md index 1b50ea8033d75..3764919fad7bb 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/README.md +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/README.md @@ -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 @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-healthcareapis - 1.0.0-beta.2 + 1.0.0-beta.3 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/SAMPLE.md b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/SAMPLE.md index 438daeaf7ac19..c23530acebff3 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/SAMPLE.md +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/SAMPLE.md @@ -91,7 +91,7 @@ /** Samples for DicomServices CreateOrUpdate. */ public final class DicomServicesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Create.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/dicomservices/DicomServices_Create.json */ /** * Sample code: Create or update a Dicom Service. @@ -118,7 +118,7 @@ import com.azure.core.util.Context; /** Samples for DicomServices Delete. */ public final class DicomServicesDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Delete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/dicomservices/DicomServices_Delete.json */ /** * Sample code: Delete a dicomservice. @@ -139,7 +139,7 @@ import com.azure.core.util.Context; /** Samples for DicomServices Get. */ public final class DicomServicesGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Get.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/dicomservices/DicomServices_Get.json */ /** * Sample code: Get a dicomservice. @@ -160,7 +160,7 @@ import com.azure.core.util.Context; /** Samples for DicomServices ListByWorkspace. */ public final class DicomServicesListByWorkspaceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_List.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/dicomservices/DicomServices_List.json */ /** * Sample code: List dicomservices. @@ -184,7 +184,7 @@ import java.util.Map; /** Samples for DicomServices Update. */ public final class DicomServicesUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Patch.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/dicomservices/DicomServices_Patch.json */ /** * Sample code: Update a dicomservice. @@ -218,7 +218,7 @@ import com.azure.core.util.Context; /** Samples for FhirDestinations ListByIotConnector. */ public final class FhirDestinationsListByIotConnectorSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_List.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_fhirdestination_List.json */ /** * Sample code: List IoT Connectors. @@ -239,6 +239,7 @@ import com.azure.resourcemanager.healthcareapis.models.FhirServiceAcrConfigurati 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.ServiceManagedIdentityIdentity; import com.azure.resourcemanager.healthcareapis.models.ServiceManagedIdentityType; @@ -249,7 +250,7 @@ import java.util.Map; /** Samples for FhirServices CreateOrUpdate. */ public final class FhirServicesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Create.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/fhirservices/FhirServices_Create.json */ /** * Sample code: Create or update a Fhir Service. @@ -286,6 +287,11 @@ public final class FhirServicesCreateOrUpdateSamples { .withAllowCredentials(false)) .withExportConfiguration( new FhirServiceExportConfiguration().withStorageAccountName("existingStorageAccount")) + .withImportConfiguration( + new FhirServiceImportConfiguration() + .withIntegrationDataStore("existingStorageAccount") + .withInitialImportMode(false) + .withEnabled(false)) .create(); } @@ -310,7 +316,7 @@ import com.azure.core.util.Context; /** Samples for FhirServices Delete. */ public final class FhirServicesDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Delete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/fhirservices/FhirServices_Delete.json */ /** * Sample code: Delete a Fhir Service. @@ -331,7 +337,7 @@ import com.azure.core.util.Context; /** Samples for FhirServices Get. */ public final class FhirServicesGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Get.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/fhirservices/FhirServices_Get.json */ /** * Sample code: Get a Fhir Service. @@ -352,7 +358,7 @@ import com.azure.core.util.Context; /** Samples for FhirServices ListByWorkspace. */ public final class FhirServicesListByWorkspaceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_List.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/fhirservices/FhirServices_List.json */ /** * Sample code: List fhirservices. @@ -376,7 +382,7 @@ import java.util.Map; /** Samples for FhirServices Update. */ public final class FhirServicesUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Patch.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/fhirservices/FhirServices_Patch.json */ /** * Sample code: Update a Fhir Service. @@ -414,7 +420,7 @@ import java.io.IOException; /** Samples for IotConnectorFhirDestination CreateOrUpdate. */ public final class IotConnectorFhirDestinationCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Create.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_fhirdestination_Create.json */ /** * Sample code: Create or update an Iot Connector FHIR destination. @@ -454,7 +460,7 @@ import com.azure.core.util.Context; /** Samples for IotConnectorFhirDestination Delete. */ public final class IotConnectorFhirDestinationDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Delete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_fhirdestination_Delete.json */ /** * Sample code: Delete an IoT Connector destination. @@ -476,7 +482,7 @@ import com.azure.core.util.Context; /** Samples for IotConnectorFhirDestination Get. */ public final class IotConnectorFhirDestinationGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_fhirdestination_Get.json */ /** * Sample code: Get an IoT Connector destination. @@ -506,7 +512,7 @@ import java.util.Map; /** Samples for IotConnectors CreateOrUpdate. */ public final class IotConnectorsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Create.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_Create.json */ /** * Sample code: Create an IoT Connector. @@ -560,7 +566,7 @@ import com.azure.core.util.Context; /** Samples for IotConnectors Delete. */ public final class IotConnectorsDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Delete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_Delete.json */ /** * Sample code: Delete an IoT Connector. @@ -581,7 +587,7 @@ import com.azure.core.util.Context; /** Samples for IotConnectors Get. */ public final class IotConnectorsGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Get.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_Get.json */ /** * Sample code: Get an IoT Connector. @@ -602,7 +608,7 @@ import com.azure.core.util.Context; /** Samples for IotConnectors ListByWorkspace. */ public final class IotConnectorsListByWorkspaceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_List.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_List.json */ /** * Sample code: List iotconnectors. @@ -628,7 +634,7 @@ import java.util.Map; /** Samples for IotConnectors Update. */ public final class IotConnectorsUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Patch.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_Patch.json */ /** * Sample code: Patch an IoT Connector. @@ -666,7 +672,7 @@ import com.azure.core.util.Context; /** Samples for OperationResults Get. */ public final class OperationResultsGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/OperationResultsGet.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/OperationResultsGet.json */ /** * Sample code: Get operation result. @@ -687,7 +693,7 @@ import com.azure.core.util.Context; /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/OperationsList.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/OperationsList.json */ /** * Sample code: List operations. @@ -709,7 +715,7 @@ import com.azure.resourcemanager.healthcareapis.models.PrivateLinkServiceConnect /** Samples for PrivateEndpointConnections CreateOrUpdate. */ public final class PrivateEndpointConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceCreatePrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceCreatePrivateEndpointConnection.json */ /** * Sample code: PrivateEndpointConnection_CreateOrUpdate. @@ -739,7 +745,7 @@ import com.azure.core.util.Context; /** Samples for PrivateEndpointConnections Delete. */ public final class PrivateEndpointConnectionsDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceDeletePrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceDeletePrivateEndpointConnection.json */ /** * Sample code: PrivateEndpointConnections_Delete. @@ -761,7 +767,7 @@ import com.azure.core.util.Context; /** Samples for PrivateEndpointConnections Get. */ public final class PrivateEndpointConnectionsGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceGetPrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceGetPrivateEndpointConnection.json */ /** * Sample code: PrivateEndpointConnection_GetConnection. @@ -783,7 +789,7 @@ import com.azure.core.util.Context; /** Samples for PrivateEndpointConnections ListByService. */ public final class PrivateEndpointConnectionsListByServiceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceListPrivateEndpointConnections.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceListPrivateEndpointConnections.json */ /** * Sample code: PrivateEndpointConnection_List. @@ -805,7 +811,7 @@ import com.azure.core.util.Context; /** Samples for PrivateLinkResources Get. */ public final class PrivateLinkResourcesGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/PrivateLinkResourceGet.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/PrivateLinkResourceGet.json */ /** * Sample code: PrivateLinkResources_Get. @@ -826,7 +832,7 @@ import com.azure.core.util.Context; /** Samples for PrivateLinkResources ListByService. */ public final class PrivateLinkResourcesListByServiceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/PrivateLinkResourcesListByService.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/PrivateLinkResourcesListByService.json */ /** * Sample code: PrivateLinkResources_ListGroupIds. @@ -849,7 +855,7 @@ import com.azure.resourcemanager.healthcareapis.models.CheckNameAvailabilityPara /** Samples for Services CheckNameAvailability. */ public final class ServicesCheckNameAvailabilitySamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/CheckNameAvailabilityPost.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/CheckNameAvailabilityPost.json */ /** * Sample code: Check name availability. @@ -888,7 +894,7 @@ import java.util.Map; /** Samples for Services CreateOrUpdate. */ public final class ServicesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceCreate.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceCreate.json */ /** * Sample code: Create or Update a service with all parameters. @@ -936,7 +942,7 @@ public final class ServicesCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceCreateMinimum.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceCreateMinimum.json */ /** * Sample code: Create or Update a service with minimum parameters. @@ -982,7 +988,7 @@ import com.azure.core.util.Context; /** Samples for Services Delete. */ public final class ServicesDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceDelete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceDelete.json */ /** * Sample code: Delete service. @@ -1003,7 +1009,7 @@ import com.azure.core.util.Context; /** Samples for Services GetByResourceGroup. */ public final class ServicesGetByResourceGroupSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceGet.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceGet.json */ /** * Sample code: Get metadata. @@ -1024,7 +1030,7 @@ import com.azure.core.util.Context; /** Samples for Services List. */ public final class ServicesListSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceList.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceList.json */ /** * Sample code: List all services in subscription. @@ -1046,7 +1052,7 @@ import com.azure.core.util.Context; /** Samples for Services ListByResourceGroup. */ public final class ServicesListByResourceGroupSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceListByResourceGroup.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceListByResourceGroup.json */ /** * Sample code: List all services in resource group. @@ -1071,7 +1077,7 @@ import java.util.Map; /** Samples for Services Update. */ public final class ServicesUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServicePatch.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServicePatch.json */ /** * Sample code: Patch service. @@ -1108,7 +1114,7 @@ import com.azure.resourcemanager.healthcareapis.models.PrivateLinkServiceConnect /** Samples for WorkspacePrivateEndpointConnections CreateOrUpdate. */ public final class WorkspacePrivateEndpointConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json */ /** * Sample code: WorkspacePrivateEndpointConnection_CreateOrUpdate. @@ -1141,7 +1147,7 @@ import com.azure.core.util.Context; /** Samples for WorkspacePrivateEndpointConnections Delete. */ public final class WorkspacePrivateEndpointConnectionsDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json */ /** * Sample code: WorkspacePrivateEndpointConnections_Delete. @@ -1163,7 +1169,7 @@ import com.azure.core.util.Context; /** Samples for WorkspacePrivateEndpointConnections Get. */ public final class WorkspacePrivateEndpointConnectionsGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json */ /** * Sample code: WorkspacePrivateEndpointConnection_GetConnection. @@ -1187,7 +1193,7 @@ import com.azure.core.util.Context; /** Samples for WorkspacePrivateEndpointConnections ListByWorkspace. */ public final class WorkspacePrivateEndpointConnectionsListByWorkspaceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspaceListPrivateEndpointConnections.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/WorkspaceListPrivateEndpointConnections.json */ /** * Sample code: WorkspacePrivateEndpointConnection_List. @@ -1209,7 +1215,7 @@ import com.azure.core.util.Context; /** Samples for WorkspacePrivateLinkResources Get. */ public final class WorkspacePrivateLinkResourcesGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/WorkspacePrivateLinkResourceGet.json */ /** * Sample code: WorkspacePrivateLinkResources_Get. @@ -1233,7 +1239,7 @@ import com.azure.core.util.Context; /** Samples for WorkspacePrivateLinkResources ListByWorkspace. */ public final class WorkspacePrivateLinkResourcesListByWorkspaceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/PrivateLinkResourcesListByWorkspace.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/PrivateLinkResourcesListByWorkspace.json */ /** * Sample code: WorkspacePrivateLinkResources_ListGroupIds. @@ -1255,7 +1261,7 @@ import com.azure.resourcemanager.healthcareapis.models.WorkspaceProperties; /** Samples for Workspaces CreateOrUpdate. */ public final class WorkspacesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_Create.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_Create.json */ /** * Sample code: Create or update a workspace. @@ -1283,7 +1289,7 @@ import com.azure.core.util.Context; /** Samples for Workspaces Delete. */ public final class WorkspacesDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_Delete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_Delete.json */ /** * Sample code: Delete a workspace. @@ -1304,7 +1310,7 @@ import com.azure.core.util.Context; /** Samples for Workspaces GetByResourceGroup. */ public final class WorkspacesGetByResourceGroupSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_Get.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_Get.json */ /** * Sample code: Get workspace. @@ -1325,7 +1331,7 @@ import com.azure.core.util.Context; /** Samples for Workspaces List. */ public final class WorkspacesListSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_ListBySubscription.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_ListBySubscription.json */ /** * Sample code: Get workspaces by subscription. @@ -1347,7 +1353,7 @@ import com.azure.core.util.Context; /** Samples for Workspaces ListByResourceGroup. */ public final class WorkspacesListByResourceGroupSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_ListByResourceGroup.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_ListByResourceGroup.json */ /** * Sample code: Get workspaces by resource group. @@ -1372,7 +1378,7 @@ import java.util.Map; /** Samples for Workspaces Update. */ public final class WorkspacesUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_Patch.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_Patch.json */ /** * Sample code: Update a workspace. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/pom.xml b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/pom.xml index d3688ba707ade..8c47bf97c1fe3 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/pom.xml +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/pom.xml @@ -13,7 +13,7 @@ jar Microsoft Azure SDK for HealthcareApis Management - 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. + 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. https://github.com/Azure/azure-sdk-for-java diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/HealthcareApisManager.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/HealthcareApisManager.java index 0b41b9c695528..d9c0b71a03ed1 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/HealthcareApisManager.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/HealthcareApisManager.java @@ -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(" (") diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/models/FhirServiceInner.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/models/FhirServiceInner.java index 070bacd4cfaee..ee3e3c6b11b6f 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/models/FhirServiceInner.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/models/FhirServiceInner.java @@ -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; @@ -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. * diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/models/FhirServiceProperties.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/models/FhirServiceProperties.java index 21ce3ec4ad878..029e51bf9741e 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/models/FhirServiceProperties.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/fluent/models/FhirServiceProperties.java @@ -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; @@ -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. * @@ -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. * @@ -282,5 +309,8 @@ public void validate() { if (resourceVersionPolicyConfiguration() != null) { resourceVersionPolicyConfiguration().validate(); } + if (importConfiguration() != null) { + importConfiguration().validate(); + } } } diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/FhirServiceImpl.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/FhirServiceImpl.java index 83ba53d917afd..e1112a03e9e1d 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/FhirServiceImpl.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/FhirServiceImpl.java @@ -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; @@ -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()); } @@ -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; } diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/HealthcareApisManagementClientBuilder.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/HealthcareApisManagementClientBuilder.java index b0d813e6356d6..4e24db1259e61 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/HealthcareApisManagementClientBuilder.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/HealthcareApisManagementClientBuilder.java @@ -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"; } diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/HealthcareApisManagementClientImpl.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/HealthcareApisManagementClientImpl.java index a08f4306d0278..0a150a563a4d1 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/HealthcareApisManagementClientImpl.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/implementation/HealthcareApisManagementClientImpl.java @@ -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); diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/FhirService.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/FhirService.java index 81d36190eba9a..eb90e4f89b412 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/FhirService.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/FhirService.java @@ -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. * @@ -205,7 +212,8 @@ interface WithCreate DefinitionStages.WithCorsConfiguration, DefinitionStages.WithExportConfiguration, DefinitionStages.WithPublicNetworkAccess, - DefinitionStages.WithResourceVersionPolicyConfiguration { + DefinitionStages.WithResourceVersionPolicyConfiguration, + DefinitionStages.WithImportConfiguration { /** * Executes the create request. * @@ -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. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/FhirServiceImportConfiguration.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/FhirServiceImportConfiguration.java new file mode 100644 index 0000000000000..c8f348ca30e8a --- /dev/null +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/FhirServiceImportConfiguration.java @@ -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() { + } +} diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/ServiceImportConfigurationInfo.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/ServiceImportConfigurationInfo.java new file mode 100644 index 0000000000000..a2b412319dbf9 --- /dev/null +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/ServiceImportConfigurationInfo.java @@ -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 ServiceImportConfigurationInfo { + /* + * 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 ServiceImportConfigurationInfo object itself. + */ + public ServiceImportConfigurationInfo 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 ServiceImportConfigurationInfo object itself. + */ + public ServiceImportConfigurationInfo 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 ServiceImportConfigurationInfo object itself. + */ + public ServiceImportConfigurationInfo withEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/ServicesProperties.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/ServicesProperties.java index a1babf875f104..4ed1b6215eafc 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/ServicesProperties.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/main/java/com/azure/resourcemanager/healthcareapis/models/ServicesProperties.java @@ -68,6 +68,12 @@ public final class ServicesProperties { @JsonProperty(value = "acrConfiguration") private ServiceAcrConfigurationInfo acrConfiguration; + /* + * The settings for the import operation of the service instance. + */ + @JsonProperty(value = "importConfiguration") + private ServiceImportConfigurationInfo importConfiguration; + /** * Get the provisioningState property: The provisioning state. * @@ -245,6 +251,26 @@ public ServicesProperties withAcrConfiguration(ServiceAcrConfigurationInfo acrCo return this; } + /** + * Get the importConfiguration property: The settings for the import operation of the service instance. + * + * @return the importConfiguration value. + */ + public ServiceImportConfigurationInfo importConfiguration() { + return this.importConfiguration; + } + + /** + * Set the importConfiguration property: The settings for the import operation of the service instance. + * + * @param importConfiguration the importConfiguration value to set. + * @return the ServicesProperties object itself. + */ + public ServicesProperties withImportConfiguration(ServiceImportConfigurationInfo importConfiguration) { + this.importConfiguration = importConfiguration; + return this; + } + /** * Validates the instance. * @@ -272,5 +298,8 @@ public void validate() { if (acrConfiguration() != null) { acrConfiguration().validate(); } + if (importConfiguration() != null) { + importConfiguration().validate(); + } } } diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesCreateOrUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesCreateOrUpdateSamples.java index 6fa055adff1a3..78d8b6b698372 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesCreateOrUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesCreateOrUpdateSamples.java @@ -7,7 +7,7 @@ /** Samples for DicomServices CreateOrUpdate. */ public final class DicomServicesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Create.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/dicomservices/DicomServices_Create.json */ /** * Sample code: Create or update a Dicom Service. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesDeleteSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesDeleteSamples.java index e679789fb4abb..a95ae1b7e5456 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesDeleteSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for DicomServices Delete. */ public final class DicomServicesDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Delete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/dicomservices/DicomServices_Delete.json */ /** * Sample code: Delete a dicomservice. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesGetSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesGetSamples.java index 4cb552cd0cbf7..843302200438b 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesGetSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for DicomServices Get. */ public final class DicomServicesGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Get.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/dicomservices/DicomServices_Get.json */ /** * Sample code: Get a dicomservice. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesListByWorkspaceSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesListByWorkspaceSamples.java index 02cc6ee14861e..b3ddd53c8c639 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesListByWorkspaceSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesListByWorkspaceSamples.java @@ -9,7 +9,7 @@ /** Samples for DicomServices ListByWorkspace. */ public final class DicomServicesListByWorkspaceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_List.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/dicomservices/DicomServices_List.json */ /** * Sample code: List dicomservices. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesUpdateSamples.java index 9ab21e916d06a..6668b9f47bf78 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/DicomServicesUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for DicomServices Update. */ public final class DicomServicesUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/dicomservices/DicomServices_Patch.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/dicomservices/DicomServices_Patch.json */ /** * Sample code: Update a dicomservice. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirDestinationsListByIotConnectorSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirDestinationsListByIotConnectorSamples.java index 03a29370868b4..e87f11e3c6f61 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirDestinationsListByIotConnectorSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirDestinationsListByIotConnectorSamples.java @@ -9,7 +9,7 @@ /** Samples for FhirDestinations ListByIotConnector. */ public final class FhirDestinationsListByIotConnectorSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_List.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_fhirdestination_List.json */ /** * Sample code: List IoT Connectors. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesCreateOrUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesCreateOrUpdateSamples.java index fc8aefa086d8e..d1c08ac598f7c 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesCreateOrUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesCreateOrUpdateSamples.java @@ -9,6 +9,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.ServiceManagedIdentityIdentity; import com.azure.resourcemanager.healthcareapis.models.ServiceManagedIdentityType; @@ -19,7 +20,7 @@ /** Samples for FhirServices CreateOrUpdate. */ public final class FhirServicesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Create.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/fhirservices/FhirServices_Create.json */ /** * Sample code: Create or update a Fhir Service. @@ -56,6 +57,11 @@ public static void createOrUpdateAFhirService( .withAllowCredentials(false)) .withExportConfiguration( new FhirServiceExportConfiguration().withStorageAccountName("existingStorageAccount")) + .withImportConfiguration( + new FhirServiceImportConfiguration() + .withIntegrationDataStore("existingStorageAccount") + .withInitialImportMode(false) + .withEnabled(false)) .create(); } diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesDeleteSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesDeleteSamples.java index c8ffac907e561..038d6dbd86ae1 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesDeleteSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for FhirServices Delete. */ public final class FhirServicesDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Delete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/fhirservices/FhirServices_Delete.json */ /** * Sample code: Delete a Fhir Service. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesGetSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesGetSamples.java index aba4c2e3e1819..b855a4c84962a 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesGetSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for FhirServices Get. */ public final class FhirServicesGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Get.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/fhirservices/FhirServices_Get.json */ /** * Sample code: Get a Fhir Service. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesListByWorkspaceSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesListByWorkspaceSamples.java index 9ca69a7b364e4..41892f8a56d65 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesListByWorkspaceSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesListByWorkspaceSamples.java @@ -9,7 +9,7 @@ /** Samples for FhirServices ListByWorkspace. */ public final class FhirServicesListByWorkspaceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_List.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/fhirservices/FhirServices_List.json */ /** * Sample code: List fhirservices. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesUpdateSamples.java index 30f6b6490f29e..cb9cbf0ef17ae 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/FhirServicesUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for FhirServices Update. */ public final class FhirServicesUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/fhirservices/FhirServices_Patch.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/fhirservices/FhirServices_Patch.json */ /** * Sample code: Update a Fhir Service. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationCreateOrUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationCreateOrUpdateSamples.java index 8d01345481ac8..2348f77ca8022 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationCreateOrUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationCreateOrUpdateSamples.java @@ -13,7 +13,7 @@ /** Samples for IotConnectorFhirDestination CreateOrUpdate. */ public final class IotConnectorFhirDestinationCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Create.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_fhirdestination_Create.json */ /** * Sample code: Create or update an Iot Connector FHIR destination. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationDeleteSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationDeleteSamples.java index 1ba49ade50b23..d30eda35a7f43 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationDeleteSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for IotConnectorFhirDestination Delete. */ public final class IotConnectorFhirDestinationDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Delete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_fhirdestination_Delete.json */ /** * Sample code: Delete an IoT Connector destination. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationGetSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationGetSamples.java index 1df0bc72c13dd..7f903869316d0 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationGetSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorFhirDestinationGetSamples.java @@ -9,7 +9,7 @@ /** Samples for IotConnectorFhirDestination Get. */ public final class IotConnectorFhirDestinationGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_fhirdestination_Get.json */ /** * Sample code: Get an IoT Connector destination. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsCreateOrUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsCreateOrUpdateSamples.java index c48f90d2ec3b4..a732d298c4ca8 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsCreateOrUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsCreateOrUpdateSamples.java @@ -17,7 +17,7 @@ /** Samples for IotConnectors CreateOrUpdate. */ public final class IotConnectorsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Create.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_Create.json */ /** * Sample code: Create an IoT Connector. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsDeleteSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsDeleteSamples.java index 0180d5571b736..5374c6d69e610 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsDeleteSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for IotConnectors Delete. */ public final class IotConnectorsDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Delete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_Delete.json */ /** * Sample code: Delete an IoT Connector. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsGetSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsGetSamples.java index d5c33ba230d23..7789ca45b62a8 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsGetSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for IotConnectors Get. */ public final class IotConnectorsGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Get.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_Get.json */ /** * Sample code: Get an IoT Connector. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsListByWorkspaceSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsListByWorkspaceSamples.java index 06ee399ce4d4f..d435da9b09bd5 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsListByWorkspaceSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsListByWorkspaceSamples.java @@ -9,7 +9,7 @@ /** Samples for IotConnectors ListByWorkspace. */ public final class IotConnectorsListByWorkspaceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_List.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_List.json */ /** * Sample code: List iotconnectors. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsUpdateSamples.java index 154465e3c7c11..ed9316ea681d1 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/IotConnectorsUpdateSamples.java @@ -14,7 +14,7 @@ /** Samples for IotConnectors Update. */ public final class IotConnectorsUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_Patch.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/iotconnectors/iotconnector_Patch.json */ /** * Sample code: Patch an IoT Connector. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/OperationResultsGetSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/OperationResultsGetSamples.java index 455069cb9ada7..38e936438a928 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/OperationResultsGetSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/OperationResultsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for OperationResults Get. */ public final class OperationResultsGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/OperationResultsGet.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/OperationResultsGet.json */ /** * Sample code: Get operation result. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/OperationsListSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/OperationsListSamples.java index a60489f57f755..0d68c2d4e0d4b 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/OperationsListSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/OperationsListSamples.java @@ -9,7 +9,7 @@ /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/OperationsList.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/OperationsList.json */ /** * Sample code: List operations. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java index 8b23ac90dfc76..5613697fe03f5 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for PrivateEndpointConnections CreateOrUpdate. */ public final class PrivateEndpointConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceCreatePrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceCreatePrivateEndpointConnection.json */ /** * Sample code: PrivateEndpointConnection_CreateOrUpdate. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsDeleteSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsDeleteSamples.java index 09c0b9e46c8b5..8028c8c24030b 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsDeleteSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for PrivateEndpointConnections Delete. */ public final class PrivateEndpointConnectionsDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceDeletePrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceDeletePrivateEndpointConnection.json */ /** * Sample code: PrivateEndpointConnections_Delete. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsGetSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsGetSamples.java index b5896a7eeab32..13a157965b99f 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsGetSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for PrivateEndpointConnections Get. */ public final class PrivateEndpointConnectionsGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceGetPrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceGetPrivateEndpointConnection.json */ /** * Sample code: PrivateEndpointConnection_GetConnection. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsListByServiceSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsListByServiceSamples.java index f742572ab9673..ff4a4cc663c75 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsListByServiceSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateEndpointConnectionsListByServiceSamples.java @@ -9,7 +9,7 @@ /** Samples for PrivateEndpointConnections ListByService. */ public final class PrivateEndpointConnectionsListByServiceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceListPrivateEndpointConnections.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceListPrivateEndpointConnections.json */ /** * Sample code: PrivateEndpointConnection_List. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateLinkResourcesGetSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateLinkResourcesGetSamples.java index 659a7ccce0876..d6ebdc7ed2f2b 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateLinkResourcesGetSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateLinkResourcesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for PrivateLinkResources Get. */ public final class PrivateLinkResourcesGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/PrivateLinkResourceGet.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/PrivateLinkResourceGet.json */ /** * Sample code: PrivateLinkResources_Get. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateLinkResourcesListByServiceSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateLinkResourcesListByServiceSamples.java index a7db5c08c934e..835e43fba99c4 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateLinkResourcesListByServiceSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/PrivateLinkResourcesListByServiceSamples.java @@ -9,7 +9,7 @@ /** Samples for PrivateLinkResources ListByService. */ public final class PrivateLinkResourcesListByServiceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/PrivateLinkResourcesListByService.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/PrivateLinkResourcesListByService.json */ /** * Sample code: PrivateLinkResources_ListGroupIds. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesCheckNameAvailabilitySamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesCheckNameAvailabilitySamples.java index 3afd2585bb0e2..d01f43aa1cbb6 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesCheckNameAvailabilitySamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesCheckNameAvailabilitySamples.java @@ -10,7 +10,7 @@ /** Samples for Services CheckNameAvailability. */ public final class ServicesCheckNameAvailabilitySamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/CheckNameAvailabilityPost.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/CheckNameAvailabilityPost.json */ /** * Sample code: Check name availability. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesCreateOrUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesCreateOrUpdateSamples.java index 3ce996dd053ac..dceb248e8ec3f 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesCreateOrUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesCreateOrUpdateSamples.java @@ -21,7 +21,7 @@ /** Samples for Services CreateOrUpdate. */ public final class ServicesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceCreate.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceCreate.json */ /** * Sample code: Create or Update a service with all parameters. @@ -69,7 +69,7 @@ public static void createOrUpdateAServiceWithAllParameters( } /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceCreateMinimum.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceCreateMinimum.json */ /** * Sample code: Create or Update a service with minimum parameters. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesDeleteSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesDeleteSamples.java index 44f252014ea43..d3c6adc86dd6c 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesDeleteSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Services Delete. */ public final class ServicesDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceDelete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceDelete.json */ /** * Sample code: Delete service. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesGetByResourceGroupSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesGetByResourceGroupSamples.java index 0d9062455a278..eb0aa8daf5fcf 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesGetByResourceGroupSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for Services GetByResourceGroup. */ public final class ServicesGetByResourceGroupSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceGet.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceGet.json */ /** * Sample code: Get metadata. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesListByResourceGroupSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesListByResourceGroupSamples.java index 50cdb3431da94..2043be456f4b3 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesListByResourceGroupSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for Services ListByResourceGroup. */ public final class ServicesListByResourceGroupSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceListByResourceGroup.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceListByResourceGroup.json */ /** * Sample code: List all services in resource group. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesListSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesListSamples.java index 2a7f33273a084..238737be188b0 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesListSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesListSamples.java @@ -9,7 +9,7 @@ /** Samples for Services List. */ public final class ServicesListSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceList.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServiceList.json */ /** * Sample code: List all services in subscription. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesUpdateSamples.java index e5fb5dc45c0f5..38a7a4143ee49 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/ServicesUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for Services Update. */ public final class ServicesUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServicePatch.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/legacy/ServicePatch.json */ /** * Sample code: Patch service. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsCreateOrUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsCreateOrUpdateSamples.java index abbeeea4f9199..418e7480003e7 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsCreateOrUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsCreateOrUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for WorkspacePrivateEndpointConnections CreateOrUpdate. */ public final class WorkspacePrivateEndpointConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json */ /** * Sample code: WorkspacePrivateEndpointConnection_CreateOrUpdate. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsDeleteSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsDeleteSamples.java index ec7d6ad818377..674790a205252 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsDeleteSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for WorkspacePrivateEndpointConnections Delete. */ public final class WorkspacePrivateEndpointConnectionsDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json */ /** * Sample code: WorkspacePrivateEndpointConnections_Delete. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsGetSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsGetSamples.java index a8a13c1c4fed1..196e6e6000154 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsGetSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for WorkspacePrivateEndpointConnections Get. */ public final class WorkspacePrivateEndpointConnectionsGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json */ /** * Sample code: WorkspacePrivateEndpointConnection_GetConnection. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsListByWorkspaceSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsListByWorkspaceSamples.java index c27396a1447a8..ce3df923bee1d 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsListByWorkspaceSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateEndpointConnectionsListByWorkspaceSamples.java @@ -9,7 +9,7 @@ /** Samples for WorkspacePrivateEndpointConnections ListByWorkspace. */ public final class WorkspacePrivateEndpointConnectionsListByWorkspaceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspaceListPrivateEndpointConnections.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/WorkspaceListPrivateEndpointConnections.json */ /** * Sample code: WorkspacePrivateEndpointConnection_List. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateLinkResourcesGetSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateLinkResourcesGetSamples.java index f7723401f8058..1f3aa0c26da9b 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateLinkResourcesGetSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateLinkResourcesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for WorkspacePrivateLinkResources Get. */ public final class WorkspacePrivateLinkResourcesGetSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/WorkspacePrivateLinkResourceGet.json */ /** * Sample code: WorkspacePrivateLinkResources_Get. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateLinkResourcesListByWorkspaceSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateLinkResourcesListByWorkspaceSamples.java index 0f2468d0b9b02..4b4686b6cc3a7 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateLinkResourcesListByWorkspaceSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacePrivateLinkResourcesListByWorkspaceSamples.java @@ -9,7 +9,7 @@ /** Samples for WorkspacePrivateLinkResources ListByWorkspace. */ public final class WorkspacePrivateLinkResourcesListByWorkspaceSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/PrivateLinkResourcesListByWorkspace.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/privatelink/PrivateLinkResourcesListByWorkspace.json */ /** * Sample code: WorkspacePrivateLinkResources_ListGroupIds. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesCreateOrUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesCreateOrUpdateSamples.java index c2a602cf6cb1c..5e6d3530d70cd 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesCreateOrUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesCreateOrUpdateSamples.java @@ -9,7 +9,7 @@ /** Samples for Workspaces CreateOrUpdate. */ public final class WorkspacesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_Create.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_Create.json */ /** * Sample code: Create or update a workspace. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesDeleteSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesDeleteSamples.java index 49b0a3ce5dac0..d840a5d170f07 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesDeleteSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Workspaces Delete. */ public final class WorkspacesDeleteSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_Delete.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_Delete.json */ /** * Sample code: Delete a workspace. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesGetByResourceGroupSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesGetByResourceGroupSamples.java index ca4b44cd7dadd..a0c5d42095d86 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesGetByResourceGroupSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for Workspaces GetByResourceGroup. */ public final class WorkspacesGetByResourceGroupSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_Get.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_Get.json */ /** * Sample code: Get workspace. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesListByResourceGroupSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesListByResourceGroupSamples.java index a4ab24aa54dcd..245f22ddb8905 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesListByResourceGroupSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for Workspaces ListByResourceGroup. */ public final class WorkspacesListByResourceGroupSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_ListByResourceGroup.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_ListByResourceGroup.json */ /** * Sample code: Get workspaces by resource group. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesListSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesListSamples.java index 6a4388bb61645..71656f13d99ba 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesListSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesListSamples.java @@ -9,7 +9,7 @@ /** Samples for Workspaces List. */ public final class WorkspacesListSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_ListBySubscription.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_ListBySubscription.json */ /** * Sample code: Get workspaces by subscription. diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesUpdateSamples.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesUpdateSamples.java index ffab21aab4297..390c11464ad14 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesUpdateSamples.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/samples/java/com/azure/resourcemanager/healthcareapis/generated/WorkspacesUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for Workspaces Update. */ public final class WorkspacesUpdateSamples { /* - * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_Patch.json + * x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2022-01-31-preview/examples/workspaces/Workspaces_Patch.json */ /** * Sample code: Update a workspace.